\Dewdrop\Admin\PageStock

Classes

AdjustVisibility This page handles the user's submission of the "Adjust Columns" dialog, saving the user's selections back to a visibility filter so that they can decide which columns should be visible on a listing.
Copy A class other stock pages can extend to allow their view scripts to be used even when a page controller sub-class is present for the page. So, you can add an Index.php to your admin component that extends the stock index but still use the stock index.phtml view script if you don't need a custom view script for your use case.
Counts This page leverages the \Dewdrop\Fields\Listing\Counter class to enable the user to group all the records in a CRUD component by a field and count the number of records assigned to each value for that field. For example, if you had a "shirt size" field, this page would render a row for each size along with the number of people who had selected that size.
CountsExport This page takes the selected field from the Counts page and uses it to fetch data from a Dewdrop\Fields\Listing\Counter object and export it to CSV.
DebugFields This page provides the developer with a view of all the fields present in a CRUD component, including which permissions and custom field helper callbacks are in use for each field. Can be useful when familiarizing yourself with a new component.
DebugListingSql This page helps understand how your Listing's Select object is translated to SQL. It uses the getModifiedSelect() method of your Listing to ensure that sorts, filters, etc. are applied and then pretty-prints the SQL.
DebugPages This page provides a full listing of a component's available pages. Pages in Dewdrop admin components are provided by PageFactory objects. One factory can override a page from another factory by responding to the same page name.
DebugTestSorting This page will test every possible sort in a CRUD component's fields and listing to ensure each field can be sorted in both ASC and DESC order without causing an error.
Delete This page handles requests to delete items using a CRUD component's row editor object. It requires a POST request, to avoid simple attacks where a user is tricked into navigating to a link that deletes a record.
Edit This page uses a RowEditor and a couple view helpers (primarily bootstrapForm()) to provide input validation and saving capabilities to a CRUD component.
Export Generate a CSV export for a CRUD component's Listing.
Import A class other stock pages can extend to allow their view scripts to be used even when a page controller sub-class is present for the page. So, you can add an Index.php to your admin component that extends the stock index but still use the stock index.phtml view script if you don't need a custom view script for your use case.
ImportMapFields A class other stock pages can extend to allow their view scripts to be used even when a page controller sub-class is present for the page. So, you can add an Index.php to your admin component that extends the stock index but still use the stock index.phtml view script if you don't need a custom view script for your use case.
Index 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:
NotificationEdit This page is part of an experimental feature (currently disabled by default in component Permissions. It allows creation of a notification subscription for a component. We're hoping to develop this feature so that users can be notified when items in their components are created or updated.
Notifications This page is part of an experimental feature (currently disabled by default in component Permissions. It lists the notification subscriptions a user has configured. We're hoping to develop this feature so that users can be notified when items in their components are created or updated.
RecentActivity This is the base page controller class for admin component's in Dewdrop.
RenderEditControl A class other stock pages can extend to allow their view scripts to be used even when a page controller sub-class is present for the page. So, you can add an Index.php to your admin component that extends the stock index but still use the stock index.phtml view script if you don't need a custom view script for your use case.
Restore This page handles requests to restore items using a CRUD component's row editor object. It requires a POST request, to avoid simple attacks where a user is tricked into navigating to a link that deletes a record.
SortFields This page provides a UI that enables a user to sort and group fields in a component. Once saved, the GroupsFilter will be used throughout the CRUD to re-order the fields and put them into groups (usually a tab control), allowing the user to make a large number of fields easier to comprehend.
SortListing This page handles the saving of new sort order values for a component that implements the SortableListingInterface.
StockPageAbstract A class other stock pages can extend to allow their view scripts to be used even when a page controller sub-class is present for the page. So, you can add an Index.php to your admin component that extends the stock index but still use the stock index.phtml view script if you don't need a custom view script for your use case.
Upload A class other stock pages can extend to allow their view scripts to be used even when a page controller sub-class is present for the page. So, you can add an Index.php to your admin component that extends the stock index but still use the stock index.phtml view script if you don't need a custom view script for your use case.
View This page, typically rendered in a modal rather than as an independent page (though it works in that context, too) renders a "detail view" for a single record from a listing. It actually using the Listing object to retrieve its data, so if the Listing/table works, this should work fine, too. It just shows _all_ available visible fields rather than only those that pass the component's visibility filter.