Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
core [15/06/2010 16:57] |
core [05/06/2013 17:08] (versione attuale) |
||
|---|---|---|---|
| Linea 5: | Linea 5: | ||
| === eventHandler === | === eventHandler === | ||
| Il sistema invoca questa funzione per creare con evento.\\ | Il sistema invoca questa funzione per creare con evento.\\ | ||
| - | Descrizione: //eventHandler(&$class, $handler, $params = array(), &$prev = array())//\\ | + | Descrizione: //eventHandler(&$class, $handler, $params, &$prev)//\\ |
| - | Parametri: \\ | + | Parametri: |
| + | * $class - array | ||
| + | * $handler - array | ||
| + | * $params - array | ||
| + | * $prev - array | ||
| Return: void | Return: void | ||
| === formatDate === | === formatDate === | ||
| Formatta la data nel formato sql.\\ | Formatta la data nel formato sql.\\ | ||
| - | Descrizione: //formatDate($sql_format, $format = 'date')//\\ | + | Descrizione: //formatDate($sql_format, $format)//\\ |
| - | Parametri: \\ | + | Parametri: |
| - | Return: void | + | * $sql_format - string |
| + | * $format - string | ||
| + | Return: string | ||
| === loadApi === | === loadApi === | ||
| Carica l'api.\\ | Carica l'api.\\ | ||
| - | Descrizione: //loadApi(string $apiName)//\\ | + | Descrizione: //loadApi($apiName)//\\ |
| - | Parametri: \\ | + | Parametri: $apiName - string\\ |
| Return: reference | Return: reference | ||
| === notify === | === notify === | ||
| Permette di notificare ai controller un evento.\\ | Permette di notificare ai controller un evento.\\ | ||
| - | Descrizione: //notify($event, $params = array(), $make_plain_array = false)//\\ | + | Descrizione: //notify($event, $params, $make_plain_array)//\\ |
| - | Parametri: \\ | + | Parametri: |
| + | * $event - string | ||
| + | * $params - array | ||
| + | * $make_plain_array - array | ||
| Return: array | Return: array | ||
| === render === | === render === | ||
| 'return false' poichè le API non posso renderizzare.\\ | 'return false' poichè le API non posso renderizzare.\\ | ||
| - | Descrizione: //render($action = null, $layout = null, $file = null)//\\ | + | Descrizione: //render($action, $layout, $file)//\\ |
| - | Parametri: \\ | + | Parametri: |
| + | * $action - string | ||
| + | * $layout - string | ||
| + | * $file - string | ||
| Return: boolean | Return: boolean | ||
| - | === s=== | + | === s === |
| Traduce la stringa.\\ | Traduce la stringa.\\ | ||
| - | Descrizione: //s($string, $force_encode = true)//\\ | + | Descrizione: //s($string, $force_encode)//\\ |
| - | Parametri: \\ | + | Parametri: |
| + | * $string - string | ||
| + | * $force_encode - boolean | ||
| Return: string | Return: string | ||