$component : \Dewdrop\Admin\Component\CrudInterface|\Dewdrop\Admin\Component\ComponentAbstract
The CRUD component.
Render the primary listing for a component. This page is more complex than others in the stock CRUD pages because it provides some navigation for the remainder of the component and also provides support for some supplementary interface a CRUD component cam implement:
1) SortableListingInterface: Makes the rows in a listing's table sortable.
2) BulkActionProcessInterface: Enables checkboxes on the listing rows to allow selection of records and application of actions to them in bulk.
$view : \Dewdrop\View\View
A view object available for rendering. Generally, your page should not be rendering any output directly, but instead passing information from models to the view and then rendering the view.
$request : \Dewdrop\Request
An object representing the current HTTP request. The is primarily around to make it easier to test your pages by injecting POST and GET data into the request object.
$session : \Dewdrop\Session
Session storage for remembering query params for redirects.
__construct(\Dewdrop\Admin\Component\ComponentInterface $component, \Dewdrop\Request $request, string $viewScriptPath = null)
Create a new page with a reference to its component and the file in which it is defined.
Also, by default, the page will be configured to look for view scripts in the view-scripts sub-folder of its component.
If our component is a BulkActionProcessorInterface implementer, then process those here, handling the result and associated message.
url(string $page, array $params = array()) : string
As the component this page belongs to for a URL matching the provided page and query string parameters. This method should always be used for generating URLs in your components so that it will play nicely with various WP integration points like submenus.
createResponseHelper(callable $redirector) : \Dewdrop\Admin\ResponseHelper\Standard
Create a response helper object for this page.
If your page would benefit from an alternative response helper with additional methods relevant to your use case, you can override this method and the helper will be injected into the page's process() method rather than the standard helper created in PageAbstract.
getView() : \Dewdrop\View\View
Get a reference to this page's view object.