Differences

This shows you the differences between two versions of the page.

Link to this comparison view

glfusion:development:api:plg:functions [2010/02/02 02:12]
127.0.0.1 external edit
glfusion:development:api:plg:functions [2010/02/14 19:00] (current)
Mark
Line 613: Line 613:
   * 'date-created' - creation date, if available   * 'date-created' - creation date, if available
   * 'date-modified' - date of last modification, if available   * 'date-modified' - date of last modification, if available
-  * 'description' - full description of the item+  * 'description' - full description of the item (formatted) 
 +  * 'raw-description' - full description - raw text no PLG_replaceTags() or other formatting
   * 'excerpt' - short description of the item   * 'excerpt' - short description of the item
   * 'id' - ID of the item, e.g. sid for articles   * 'id' - ID of the item, e.g. sid for articles
   * 'title' - title of the item   * 'title' - title of the item
   * 'url' - URL of the item   * 'url' - URL of the item
 +  * 'label' - The plugin's text label (i.e.; StaticPages, Media Gallery, etc.)
  
-'excerpt' and 'description' may return the same value. Properties should be returned in the order they are listed in $what. Properties that are not available should return an empty string. Return false for errors (e.g. access denied, item does not exist, etc.).+'excerpt' and 'description' may return the same value.  Properties that are not available should return an empty string. Return false for errors (e.g. access denied, item does not exist, etc.).
  
 **Parameters** **Parameters**
glfusion/development/api/plg/functions.txt · Last modified: 2010/02/14 19:00 by Mark
 
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3