\Dewdrop\ViewHelper

Interfaces

PageDelegateInterface Some helpers depend upon a page object to provide their functionality.

Classes

AbstractHelper A base class for view helpers.
ActivityLogEntity A base class for view helpers.
ActivityLogMessage A base class for view helpers.
ActivityLogUserInformation A base class for view helpers.
AdminComponentNav This helper renders the primary nav bar that's used on typical Dewdrop CRUD components. It includes a button for creating a new item, exporting as CSV, adjusting which columns are visible, etc.
AdminFooter A placeholder used in the stock Silex admin layout to add content just before the closing body tag. Does nothing by default, but you can override this helper to inject content your application needs into the admin layout.
AdminNotice Display an admin notice. These notices will look just like the normal WP messages you see, for example, when activating and deactivating plugins.
AdminTitle This view helper renders the admin area's title in the stock Silex admin environment navbar. You can override this helper if you want to use different markup/content for your admin title.
AdminUrl Get a URL for a page in the current admin component.
Block A base class for view helpers.
BootstrapBreadcrumbs Render some breadcrumbs using Bootstrap's markup.
BootstrapColumnsModal This helper renders a Bootstrap that allows the user to select which columns should be visible in a component.
BootstrapDetailsView Render a table that displays a detailed view for a single item/entity. The first column in the table will be headers (<th>) containing the field labels. The second column will be the content of those fields rendered using the TableCell.Content field helper.
BootstrapFilterForm Render a form that allows the user to filter by one or more fields. The form submits via GET by default, creating a query string that can be copy and pasted to share search results, though this can be overwritten, if you'd like to use filters in a different context.
BootstrapForm Render an HTML form using Bootstrap classes and markup. Note that this view helper can also render a \Dewdrop\Fields\GroupedFields object in a tab view.
BootstrapInputText A simple InputText wrapper that automatically includes the form-control class needed for Boostrap styles to be applied.
BootstrapRowActions This helper renders the little view/edit buttons on stock Dewdrop listings.
BootstrapSelect A simple Select wrapper that automatically includes the form-control class needed for Boostrap styles to be applied.
BootstrapTable Render a table using classes and markup consistent with Boostrap's documentation. Note that this helper will wrap your table in a
BootstrapTextarea A simple Textarea wrapper that automatically includes the form-control class needed for Boostrap styles to be applied.
BowerUrl This helper returns a URL prefixed with the path to the bower_components folder for your application. This will vary between WP and Silex projects, so this helper hides that difference.
BulkActionCheckboxField This helper will create a new custom field for you that is configured to be rendered as a checkbox in the supplied table cell helper. The checkbox will use the ID from the BulkActions object so that the user can select items.
BulkActionForm Use this view helper to surround whatever markup contains your bulk action checkboxes (typically a table, but could also be a "tile" view or other Listing rendering) with a form and the controls for selecting a bulk action.
CascadeSelect A base class for view helpers.
CheckboxList Create a checkbox list that enables a user to select multiple options and sends an array value representing the selected options.
CsvCellRenderer A conventient way to get a new \Dewdrop\Fields\Helper\CsvCell field helper while you're in a view script.
CsvExport Generate a CSV export.
DetectEditHelper This helper wraps a \Dewdrop\Fields\EditHelperDetector to make it easy to detect a suitable view helper for a \Dewdrop\Db\Field object at runtime in your view script. You can override the default helper for a field by calling the customize method.
EditControlRenderer A conventient way to get a new \Dewdrop\Fields\Helper\EditControl field helper while you're in a view script.
EditForm Render an edit form, with its associated chrome, for the WP admin area.
FileSize This helper recieves a file size in bytes and returns a human readable value.
ImportEditControl A base class for view helpers.
InlineScript Display an inline script snippet following the printing of all enqueued script tags. This can be necessary when the JavaScript queued up by a view helper includes many options that are specific to a single instance of that helper.
InputCheckbox Render a checkbox node. This helper can optionally leverage a \Dewdrop\Db\Field object to set its options.
InputDate This helper uses a jQuery UI based date picker to manipulate date values. In most situations, you'll want to filter the value coming back from the client to ensure it can be saved back to the database, etc.
InputFile A base class for view helpers.
InputImage A base class for view helpers.
InputText Render a text input node. This helper can optionally leverage a \Dewdrop\Db\Field object to set its options.
InputTime Renders a basic time input.
InputTimestamp A view helper to allow entry of date and time values. The view helper uses JavaScript to render two separate inputs (one with a date picker and one with a time picker) that are then combined on the client-side and passed back to the server via a hidden input.
OptionInputDecorator OptionInputDecorator leverages the CRUD APIs in the Dewdrop admin to allow a user to add options to selects or checkbox lists. It wraps an existing option input and adds an "or add another option" link that reveals a form based upon the editable fields from another CrudInterface implementing admin component.
Pagination Render pagination controls using Bootstrappy markup.
RowCollectionCellContent This view helper provides the default implementation for rendering a RowCollectionEditor in either a table view or detail view context.
RowCollectionInputTable This view helper renders a table with a grid of inputs to allow editing with a RowCollectionEditor object. The user can dynamically add and remove rows from the table. If you have a large number of fields, this may not be a workable UI for you because you'll be cramming too many columns into the table.
Select Render a basic HTML <select> element using the supplied options.
Summernote This helper adds the Summernote (http://hackerwins.github.io/summernote/) rich text area on top of a normal textarea control.
Table Render an HTML table using a Fields object and an array of data. Uses the TableCell field helper to allow you to customize the rendering of each individual field.
TableCellRenderer A conventient way to get a new \Dewdrop\Fields\Helper\TableCell field helper while you're in a view script.
TableSortHandle This view helper assists with rendering handles that can be used to drag records into a custom sorting order.
Textarea Render a standard HTML textarea. This helper can optionally leverage a \Dewdrop\Db\Field object to set it's options.
Url A view helper that will filter any supplied URL through the url-filter resource in Pimple, if present. Allows you to manipulate URLs in your application to prefix them in some way, for example.
UrlCachePrefix This helper can be used to prepend a string to URLs to assist with busting HTTP caches when pushing a new build or working in development. Used in conjunction with a rewrite rule that strips the cache prefix before looking for the file on disk, it allows you to avoid issues caused by stale caches without having to rename the actual files on disk.
WpAdminNotice Display an admin notice. These notices will look just like the normal WP messages you see, for example, when activating and deactivating plugins.
WpCheckboxList Create a checkbox list that enables a user to select multiple options and sends an array value representing the selected options.
WpColorPicker Render the WordPress color picker. This helper will automatically enqueue the required CSS and JavaScript and render a text input to store and transmit the selected value.
WpEditForm Render an edit form, with its associated chrome, for the WP admin area.
WpEditor Use the WordPress editor in a form.
WpEditRow Render a row inside the WP admin's edit form table.
WpImagePicker Render an image picker control that uses the default WordPress media upload/management dialog and sets the value of a hidden input.
WpInputCheckbox Render a checkbox node. This helper can optionally leverage a \Dewdrop\Db\Field object to set its options.
WpInputText Render a text input node. This helper can optionally leverage a \Dewdrop\Db\Field object to set its options.
WpSelect Render a basic HTML <select> element using the supplied options.
WpTable Render an HTML table that uses markup and CSS classes that should help it blend in nicely with the WP admin.
WpWrap Display the "wrap" div around the primary content of your page. Without "wrap", WP admin pages don't look quite right. This helper will also roll in admin notices automatically (e.g. success messages following an edit form being successfully processed).
Wrap Display the "wrap" div around the primary content of your page. Without "wrap", WP admin pages don't look quite right. This helper will also roll in admin notices automatically (e.g. success messages following an edit form being successfully processed).