Package Fieldmanager
Packages summary
Fieldmanager\Context |
Fieldmanager\Datasource |
Fieldmanager\Field |
Fieldmanager\Util |
Exceptions summary
FM_Class_Not_Found_Exception | Exception class for classes that could not be loaded. |
FM_Developer_Exception | Exception class for Fieldmanager's developer errors. |
FM_Duplicate_Submenu_Name_Exception | Exception class for duplicate submenu names. |
FM_Exception | Exception class for Fieldmanager's fatal errors. |
FM_Submenu_Not_Initialized_Exception | Exception class for unitialized submenus. |
FM_Validation_Exception | Exception class for Fieldmanager's validation errors. |
Functions summary
_fieldmanager_registry | Get or set values from a simple, static registry. |
_fm_add_submenus | Register submenu pages from the Fieldmanager registry. |
_fm_submenu_render | Render a submenu page registered through the Fieldmanager registry. |
fieldmanager_enqueue_scripts | Enqueue CSS and JS in the Dashboard. |
fieldmanager_get_baseurl | Get the Fieldmanager base URL. |
fieldmanager_get_template | Get the path to a field template. |
fieldmanager_load_class | Load a Fieldmanager class based on a class name. |
fieldmanager_load_file | Load a Fieldmanager file. |
fieldmanager_set_baseurl | Tell Fieldmanager that it has a base URL somewhere other than the plugins URL. |
fm_add_script | Enqueue a script with a closure, optionally localizing data to it. |
fm_add_style | Register and enqueue a style with a closure. |
fm_calculate_context | Calculate contextual information for the current request. |
fm_get_context | Get the context for triggers and pattern matching. |
fm_match_context | Check whether a context is active. |
fm_register_submenu_page | Add data about a submenu page to the Fieldmanager registry under a slug. |
fm_sanitize_textarea | Sanitize multi-line text. |
fm_trigger_context_action | Fire an action for the current Fieldmanager context, if it exists. |