Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Next revision | Previous revision | ||
posts [14/05/2010 11:28] creata |
posts [05/06/2013 17:08] (versione attuale) |
||
---|---|---|---|
Linea 3: | Linea 3: | ||
//class PostsApiController extends ApiController//\\ | //class PostsApiController extends ApiController//\\ | ||
\\ | \\ | ||
- | * onUserDelete - ritorna ... | + | === blockLastPostsCreate === |
- | //Descrizione//: | + | Visualizza la create form.\\ |
- | onUserDelete($userData) | + | Descrizione: //blockLastPostsCreate()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: void | ||
- | * permissionsGetObjects - ritorna ... | + | === blockLastPostsEdit === |
- | //Descrizione//: | + | Visualizza la edit form.\\ |
- | permissionsGetObjects() | + | Descrizione: //blockLastPostsEdit($id)//\\ |
+ | Parametri: $id - int\\ | ||
+ | Return: void | ||
- | * permissionsGetActions - ritorna ... | + | === blockLastPostsRender === |
- | //Descrizione//: | + | Visualizza il post.\\ |
- | permissionsGetActions() | + | Descrizione: //blockLastPostsRender($id)//\\ |
+ | Parametri: $id - int\\ | ||
+ | Return: void | ||
- | * showLocationKml - ritorna ... | + | === blockLastPostsSave === |
- | //Descrizione//: | + | Salva il commento.\\ |
- | showLocationKml() | + | Descrizione: //blockLastPostsSave()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: array o boolean 'false' | ||
- | * locationInfoWindow - ritorna ... | + | === blockLastPostsUpdate === |
- | //Descrizione//: | + | Aggiorna i commenti.\\ |
- | locationInfoWindow($data) | + | Descrizione: //blockLastPostsUpdate($id)//\\ |
+ | Parametri: $id - int\\ | ||
+ | Return: array o boolean 'false' | ||
- | * locationLegenda - ritorna ... | + | === blocksMap === |
- | //Descrizione//: | + | Array contenente le informazioni sul modulo.\\ |
- | locationLegenda() | + | Descrizione: //blocksMap()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: array | ||
- | * showLocation - ritorna ... | + | === getPostByResource === |
- | //Descrizione//: | + | ...\\ |
- | showLocation() | + | Descrizione: //getPostByResource($id)//\\ |
+ | Parametri: $id - int\\ | ||
+ | Return: array | ||
- | * blocksMap - ritorna ... | + | === getResourcesByDiscussion === |
- | //Descrizione//: | + | Ritorna un array con le risorse riferite alla discussione.\\ |
- | blocksMap() | + | Descrizione: //getResourcesByDiscussion($id)//\\ |
+ | Parametri: $id - int\\ | ||
+ | Return: array | ||
- | * blockLastPostsRender - ritorna ... | + | === getResourcesByPost === |
- | //Descrizione//: | + | Ritorna un array con le risorse riferite al singolo post.\\ |
- | blockLastPostsRender($id) | + | Descrizione: //getResourcesByPost($id)//\\ |
+ | Parametri: $id - int\\ | ||
+ | Return: array | ||
- | * blockLastPostsCreate - ritorna ... | + | === lastdate === |
- | //Descrizione//: | + | ...\\ |
- | blockLastPostsCreate() | + | Descrizione: //lastdate($a, $b)//\\ |
+ | Parametri: | ||
+ | * $a - array | ||
+ | * $b - array | ||
+ | Return: int | ||
- | * blockLastPostsEdit - ritorna ... | + | === locationInfoWindow === |
- | //Descrizione//: | + | ...\\ |
- | blockLastPostsEdit($id) | + | Descrizione: //locationInfoWindow($data)//\\ |
+ | Parametri: $data - array\\ | ||
+ | Return: void | ||
- | * blockLastPostsSave - ritorna ... | + | === locationLegenda === |
- | //Descrizione//: | + | ...\\ |
- | blockLastPostsSave() | + | Descrizione: //locationLegenda()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: string | ||
- | * blockLastPostsUpdate - ritorna ... | + | === notifyInfo === |
- | //Descrizione//: | + | Ritorna un array con le notifiche del modulo.\\ |
- | blockLastPostsUpdate($id) | + | Descrizione: //notifyInfo()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: array | ||
- | * lastdate - ritorna ... | + | === nummsg === |
- | //Descrizione//: | + | ...\\ |
- | lastdate($a, $b) | + | Descrizione: //nummsg($a, $b)//\\ |
+ | Parametri: | ||
+ | * $a - array | ||
+ | * $b - array | ||
+ | Return: int | ||
- | * nummsg - ritorna ... | + | === onUserDelete === |
- | //Descrizione//: | + | Aggiorna il post dell'utente $userData.\\ |
- | nummsg($a, $b) | + | Descrizione: //onUserDelete($userData)//\\ |
+ | Parametri: $userData - array\\ | ||
+ | Return: boolean 'true' | ||
- | * sticky - ritorna ... | + | === permissionsGetActions === |
- | //Descrizione//: | + | Ritorna un array con le azioni prodotte dal modulo.\\ |
- | sticky($a, $b) | + | Descrizione: //permissionsGetActions()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: array | ||
- | * getResourcesByDiscussion - ritorna ... | + | === permissionsGetObjects === |
- | //Descrizione//: | + | Ritorna un array con gli oggetti prodotti dal modulo.\\ |
- | getResourcesByDiscussion($id) | + | Descrizione: //permissionsGetObjects()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: array | ||
- | * getResourcesByPost - ritorna ... | + | === showLocation === |
- | //Descrizione//: | + | Ritorna un array con le informazioni di località in riferimento al post.\\ |
- | getResourcesByPost($id) | + | Descrizione: //showLocation()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: array | ||
- | * getPostByResource - ritorna ... | + | === showLocationKml === |
- | //Descrizione//: | + | ...\\ |
- | getPostByResource($id) | + | Descrizione: //showLocationKml()//\\ |
+ | Parametri: nessun parametro\\ | ||
+ | Return: string | ||
- | * notifyInfo - ritorna ... | + | === sticky === |
- | //Descrizione//: | + | ...\\ |
- | notifyInfo() | + | Descrizione: //sticky($a, $b)//\\ |
+ | Parametri: | ||
+ | * $a - array | ||
+ | * $b - array | ||
+ | Return: int |