![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de BaseLayout:Fonctions membres publiques | |
| setOptions ($options=null) | |
| getOptions () | |
| resetOptions () | |
| escape ($output) | |
| getDebugMessages () | |
| render ($displayData) | |
| renderDebugMessages () | |
| addDebugMessage ($message) | |
| clearDebugMessages () | |
| debug ($data=array()) | |
| get ($key, $defaultValue=null) | |
| getData () | |
| isDebugEnabled () | |
| set ($key, $value) | |
| setData (array $data) | |
| setDebug ($debug) | |
Attributs protégés | |
| $options = null | |
| $data = array() | |
| $debugMessages = array() | |
Base class for rendering a display layout
| addDebugMessage | ( | $message | ) |
Add a debug message to the debug messages array
| string | $message | Message to save |
Références $message.
| clearDebugMessages | ( | ) |
Clear the debug messages array
| debug | ( | $data = array() | ) |
| escape | ( | $output | ) |
Method to escape output.
| string | $output | The output to escape. |
Implémente LayoutInterface.
Références $output, ENT_COMPAT, et htmlspecialchars.
| get | ( | $key, | |
$defaultValue = null |
|||
| ) |
Method to get the value from the data array
| string | $key | Key to search for in the data array |
| mixed | $defaultValue | Default value to return if the key is not set |
Références $key.
| getData | ( | ) |
| getDebugMessages | ( | ) |
Get the debug messages array
| getOptions | ( | ) |
| isDebugEnabled | ( | ) |
Check if debug mode is enabled
| render | ( | $displayData | ) |
Method to render the layout.
| array | $displayData | Array of properties available for use inside the layout file to build the displayed output |
Implémente LayoutInterface.
Références $displayData.
| renderDebugMessages | ( | ) |
Render the list of debug messages
| resetOptions | ( | ) |
Function to empty all the options
Références null.
| set | ( | $key, | |
| $value | |||
| ) |
| setData | ( | array | $data | ) |
Set the the data passed the layout
| array | $data | Array with the data for the layout |
Références $data.
| setDebug | ( | $debug | ) |
Change the debug mode
| boolean | $debug | Enable / Disable debug |
| setOptions | ( | $options = null | ) |
|
protected |
|
protected |
|
protected |