Handles processing of various admin AJAX methods including: widget settings; links; and categories.
This is the code documentation for the SproutCMS project
Search documentation |
class AdminAjaxControllerHandles processing of various admin AJAX methods including: widget settings; links; and categories.
Functions
public __constructvoid $AdminAjaxController->__construct ( ); Constructor public addAddonvoid $AdminAjaxController->addAddon ( mixed $area_id , mixed $field_name ); Popup for adding an addon public addCategoryvoid $AdminAjaxController->addCategory ( ); Adds a category public attrEditorvoid $AdminAjaxController->attrEditor ( ); Load an attribute editor for a given field public footerCompatvoid $AdminAjaxController->footerCompat ( ); This function does not have a description public getEntranceArgumentsvoid $AdminAjaxController->getEntranceArguments ( mixed $class ); This function does not have a description public getTagSuggestionsvoid $AdminAjaxController->getTagSuggestions ( [ mixed $table ] ); This function does not have a description public lnkEditorvoid $AdminAjaxController->lnkEditor ( ); Load an attribute editor for a given field public richtextImportvoid $AdminAjaxController->richtextImport ( mixed $elemid ); Called by button handlers on the two RTEs and loaded in a facebox window Shows an interface to load stuff into the editor The editor id will br provided in $elemid public richtextImportIframevoid $AdminAjaxController->richtextImportIframe ( ); Handle an upload of a document. Echos DIV-warapped JSON with the result of the import. Keys include: 'html' The imported HTML of the document public setTourCompletedvoid $AdminAjaxController->setTourCompleted ( mixed $tour_name ); Set a given JavaScript tour as complete, preventing it from showing again. public styleGuideDemoConditionsvoid $AdminAjaxController->styleGuideDemoConditions ( ); Demo AJAX JSON callback url for Fb::conditionsList Input is GET params 'field', 'op', 'val' Output is JSON with two keys, 'op' and 'val'. They are both HTML strings containing Form fields for the operator dropdown and the values dropdown/textbox public widgetDispCondParamsvoid $AdminAjaxController->widgetDispCondParams ( ); Callback url for Fb::conditionsList for the widget display conditions Input is GET params 'field', 'op', 'val' Output is JSON with two keys, 'op' and 'val'. They are both HTML strings containing Form fields for the operator dropdown and the values dropdown/textbox public widgetDispCondsvoid $AdminAjaxController->widgetDispConds ( ); AJAX-loaded popup content for UI to manage widget display conditions public widgetSettingsvoid $AdminAjaxController->widgetSettings ( string $widget_name ); Returns the HTML for the settings for an individual widget. |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|