This is the code documentation for the SproutCMS project
Search documentation |
class Moderate
Variables
Functions
public __constructvoid $Moderate->__construct ( ); This function does not have a description public approvevoid $Moderate->approve ( mixed $id ); Approve the specified item. This is called from within a transaction. public deletevoid $Moderate->delete ( mixed $id ); Delete the specified item. Usually the best is to use the controller _deleteSave method. This is called from within a transaction. public getFriendlyNameunknown $Moderate->getFriendlyName ( ); Return the 'friendly' name of this item public getListunknown $Moderate->getList ( );
Return an array of one or more items which need moderating.
The array should have the following format:
[] = array('id' => 'html')
id record identifier
html record preview html
Return NULL on error
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |
|