Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
logs [20/05/2010 15:55] |
logs [05/06/2013 17:08] (versione attuale) |
||
|---|---|---|---|
| Linea 3: | Linea 3: | ||
| //class LogsApiController extends ApiController//\\ | //class LogsApiController extends ApiController//\\ | ||
| \\ | \\ | ||
| - | * log - Registra nel database tutti i dati del soggetto. | + | === _setPath === |
| - | //Descrizione//: | + | Imposta il percorso della pagina\\ |
| - | log($action, $object, $message = null, $type = null, $owner = null, $path = null) | + | Descrizione: //_setPath()//\\ |
| + | Parametri: nessun parametro\\ | ||
| + | Return: string - il path | ||
| - | * logPermission - Registra i permessi. | + | === log === |
| - | //Descrizione//: | + | Registra nel database tutti i dati del soggetto.\\ |
| - | logPermission($action, $object, $message = null, $path = null) | + | Descrizione: //log($action, $object, $message, $type, $owner, $path)//\\ |
| + | Parametri: | ||
| + | * $action - string | ||
| + | * $object - string | ||
| + | * $message - string | ||
| + | * $type - string | ||
| + | * $owner - string | ||
| + | * $path - string | ||
| + | Return: void | ||
| - | * logAction - Registra l'azione. | + | === logAction === |
| - | //Descrizione//: | + | Registra l'azione.\\ |
| - | logAction($action, $object, $message = null, $path = null) | + | Descrizione: //logAction($action, $object, $message, $path)//\\ |
| + | Parametri: | ||
| + | * $action - string | ||
| + | * $object - string | ||
| + | * $message - string | ||
| + | * $path - string | ||
| + | Return: void | ||
| - | * logError - Registra gli errori. | + | === logAjax === |
| - | //Descrizione//: | + | ...\\ |
| - | logError($action, $object, $message = null, $path = null) | + | Descrizione: //logAjax($type, $action, $message = null, $seconds)//\\ |
| + | Parametri: | ||
| + | * $type - string | ||
| + | * $action - string | ||
| + | * $message - string | ||
| + | * $seconds - int | ||
| + | Return: void | ||
| - | * logAjax - | + | === logError === |
| - | //Descrizione//: | + | Registra gli errori.\\ |
| - | logAjax($type, $action, $message = null, $seconds = 10) | + | Descrizione: //logError($action, $object, $message, $path)//\\ |
| + | Parametri: | ||
| + | * $action - string | ||
| + | * $object - string | ||
| + | * $message - string | ||
| + | * $path - string | ||
| + | Return: void | ||
| - | * _setPath - | + | === logPermission === |
| - | //Descrizione//: | + | Registra i permessi.\\ |
| - | _setPath() | + | Descrizione: //logPermission($action, $object, $message, $path)//\\ |
| + | Parametri: | ||
| + | * $action - string | ||
| + | * $object - string | ||
| + | * $message - string | ||
| + | * $path - string | ||
| + | Return: void | ||
| - | * write - Scrive tutti i log nel database con una sola query. | + | === write === |
| - | //Descrizione//: | + | Scrive tutti i log nel database con una sola query.\\ |
| - | write() | + | Descrizione: //write()//\\ |
| + | Parametri: nessun parametro\\ | ||
| + | Return: void | ||