[ Index ]

PHP Cross Reference of Nucleus CMS 3.64

title

Body

[close]

/nucleus3.64/nucleus/libs/ -> ITEMACTIONS.php (summary)

(no description)

File Size: 788 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ITEMACTIONS:: (49 methods):
  ITEMACTIONS()
  getDefinedActions()
  setLastVisit()
  setParser()
  setCurrentItem()
  setBlog()
  setTemplate()
  setShowComments()
  parse_blogid()
  parse_body()
  parse_more()
  parse_itemid()
  parse_category()
  parse_categorylink()
  parse_catid()
  parse_authorid()
  parse_authorlink()
  parse_query()
  parse_itemlink()
  parse_blogurl()
  parse_closed()
  parse_relevance()
  parse_title()
  parse_karma()
  parse_author()
  parse_smartbody()
  parse_morelink()
  parse_date()
  parse_time()
  parse_syndicate_title()
  parse_syndicate_description()
  parse_karmaposlink()
  parse_karmaneglink()
  parse_new()
  parse_daylink()
  parse_comments()
  parse_plugin()
  parse_edit()
  parse_editlink()
  parse_editpopupcode()
  highlightAndParse()
  checkCondition()
  _ifCategory()
  _ifAuthor()
  _ifItemCategory()
  _ifOnTeam()
  _ifAdmin()
  _ifHasPlugin()
  _ifPlugin()


Class: ITEMACTIONS  - X-Ref

This class is used to parse item templates

ITEMACTIONS(&$blog)   X-Ref
No description

getDefinedActions()   X-Ref
Returns an array with the actions that are defined
in the ITEMACTIONS class


setLastVisit($lastVisit)   X-Ref
No description

setParser(&$parser)   X-Ref
No description

setCurrentItem(&$item)   X-Ref
No description

setBlog(&$blog)   X-Ref
No description

setTemplate($template)   X-Ref
No description

setShowComments($val)   X-Ref
No description

parse_blogid()   X-Ref
Parse templatevar blogid


parse_body()   X-Ref
Parse templatevar body


parse_more()   X-Ref
Parse templatevar more


parse_itemid()   X-Ref
Parse templatevar itemid


parse_category()   X-Ref
Parse templatevar category


parse_categorylink()   X-Ref
Parse templatevar categorylink


parse_catid()   X-Ref
Parse templatevar catid


parse_authorid()   X-Ref
Parse templatevar authorid


parse_authorlink()   X-Ref
Parse templatevar authorlink


parse_query()   X-Ref
Parse templatevar query


parse_itemlink()   X-Ref
Parse templatevar itemlink


parse_blogurl()   X-Ref
Parse templatevar blogurl


parse_closed()   X-Ref
Parse templatevar closed


parse_relevance()   X-Ref
Parse templatevar relevance


parse_title($format = '')   X-Ref
Parse templatevar title

param: string $format defines in which format the title is shown

parse_karma($type = 'totalscore')   X-Ref
Parse templatevar karma


parse_author($which = '')   X-Ref
Parse templatevar author


parse_smartbody()   X-Ref
Parse templatevar smartbody


parse_morelink()   X-Ref
Parse templatevar morelink


parse_date($format = '')   X-Ref
Parse templatevar date

param: format optional strftime format

parse_time($format = '')   X-Ref
Parse templatevar time

param: format optional strftime format

parse_syndicate_title($maxLength = 100)   X-Ref
Parse templatevar syndicate_title

param: maxLength optional maximum length

parse_syndicate_description($maxLength = 250, $addHighlight = 0)   X-Ref
Parse templatevar syndicate_description

param: maxLength optional maximum length

parse_karmaposlink($text = '')   X-Ref
Parse templatevar karmaposlink

param: string text

parse_karmaneglink($text = '')   X-Ref
Parse templatevar karmaneglink

param: string text

parse_new()   X-Ref
Parse templatevar new


parse_daylink()   X-Ref
Parse templatevar daylink


parse_comments($maxToShow = 0)   X-Ref
Parse templatevar comments


parse_plugin($pluginName)   X-Ref
Executes a plugin templatevar

param: pluginName name of plugin (without the NP_)

parse_edit()   X-Ref
Parse templatevar edit


parse_editlink()   X-Ref
Parse templatevar editlink


parse_editpopupcode()   X-Ref
Parse templatevar editpopupcode


highlightAndParse(&$data)   X-Ref
Parses highlighted text, with limited actions only (to prevent not fully trusted team members
from hacking your weblog.
'plugin variables in items' implementation by Andy


checkCondition($field, $name='', $value = '')   X-Ref
Checks conditions for if statements

param: string $field type of <%if%>
param: string $name property of field
param: string $value value of property

_ifCategory($name = '', $value='')   X-Ref
Different checks for a category


_ifAuthor($name = '', $value='')   X-Ref
Different checks for an author


_ifItemCategory($name = '', $value='')   X-Ref
Different checks for a category


_ifOnTeam($blogName = '')   X-Ref
Checks if a member is on the team of a blog and return his rights


_ifAdmin($blogName = '')   X-Ref
Checks if a member is admin of a blog


_ifHasPlugin($name, $value)   X-Ref
hasplugin,PlugName
-> checks if plugin exists
hasplugin,PlugName,OptionName
-> checks if the option OptionName from plugin PlugName is not set to 'no'
hasplugin,PlugName,OptionName=value
-> checks if the option OptionName from plugin PlugName is set to value


_ifPlugin($name, $key = '', $value = '')   X-Ref
Checks if a plugin exists and call its doIf function




Generated: Mon May 2 16:14:08 2011 Cross-referenced by PHPXref 0.7.1