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 [17/06/2010 12:47] |
logs [05/06/2013 17:08] (versione attuale) |
||
---|---|---|---|
Linea 4: | Linea 4: | ||
\\ | \\ | ||
=== _setPath === | === _setPath === | ||
- | ...\\ | + | Imposta il percorso della pagina\\ |
Descrizione: //_setPath()//\\ | Descrizione: //_setPath()//\\ | ||
- | Parametri: \\ | + | Parametri: nessun parametro\\ |
- | Return: | + | Return: string - il path |
=== log === | === log === | ||
Registra nel database tutti i dati del soggetto.\\ | Registra nel database tutti i dati del soggetto.\\ | ||
- | Descrizione: //log($action, $object, $message = null, $type = null, $owner = null, $path = null)//\\ | + | Descrizione: //log($action, $object, $message, $type, $owner, $path)//\\ |
- | Parametri: \\ | + | Parametri: |
- | Return: | + | * $action - string |
+ | * $object - string | ||
+ | * $message - string | ||
+ | * $type - string | ||
+ | * $owner - string | ||
+ | * $path - string | ||
+ | Return: void | ||
=== logAction === | === logAction === | ||
Registra l'azione.\\ | Registra l'azione.\\ | ||
- | Descrizione: //logAction($action, $object, $message = null, $path = null)//\\ | + | Descrizione: //logAction($action, $object, $message, $path)//\\ |
- | Parametri: \\ | + | Parametri: |
- | Return: | + | * $action - string |
+ | * $object - string | ||
+ | * $message - string | ||
+ | * $path - string | ||
+ | Return: void | ||
=== logAjax === | === logAjax === | ||
...\\ | ...\\ | ||
- | Descrizione: //logAjax($type, $action, $message = null, $seconds = 10)//\\ | + | Descrizione: //logAjax($type, $action, $message = null, $seconds)//\\ |
- | Parametri: \\ | + | Parametri: |
- | Return: | + | * $type - string |
- | + | * $action - string | |
- | === logError === | + | * $message - string |
- | Registra gli errori.\\ | + | * $seconds - int |
- | Descrizione: //logError($action, $object, $message = null, $path = null)//\\ | + | Return: void |
- | Parametri: \\ | + | |
- | Return: | + | |
=== logError === | === logError === | ||
Registra gli errori.\\ | Registra gli errori.\\ | ||
- | Descrizione: //logError($action, $object, $message = null, $path = null)//\\ | + | Descrizione: //logError($action, $object, $message, $path)//\\ |
- | Parametri: \\ | + | Parametri: |
- | Return: | + | * $action - string |
+ | * $object - string | ||
+ | * $message - string | ||
+ | * $path - string | ||
+ | Return: void | ||
=== logPermission === | === logPermission === | ||
Registra i permessi.\\ | Registra i permessi.\\ | ||
- | Descrizione: //logPermission($action, $object, $message = null, $path = null)//\\ | + | Descrizione: //logPermission($action, $object, $message, $path)//\\ |
- | Parametri: \\ | + | Parametri: |
- | Return: | + | * $action - string |
+ | * $object - string | ||
+ | * $message - string | ||
+ | * $path - string | ||
+ | Return: void | ||
=== write === | === write === | ||
Scrive tutti i log nel database con una sola query.\\ | Scrive tutti i log nel database con una sola query.\\ | ||
Descrizione: //write()//\\ | Descrizione: //write()//\\ | ||
- | Parametri: \\ | + | Parametri: nessun parametro\\ |
- | Return: | + | Return: void |