ITEMACTIONS Class Reference

Inheritance diagram for ITEMACTIONS:

BaseActions

List of all members.

Public Member Functions

 ITEMACTIONS (&$blog)
 getDefinedActions ()
 setLastVisit ($lastVisit)
 setParser (&$parser)
 setCurrentItem (&$item)
 setBlog (&$blog)
 setTemplate ($template)
 setShowComments ($val)
 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 ($format= '')
 parse_karma ($type= 'totalscore')
 parse_author ($which= '')
 parse_smartbody ()
 parse_morelink ()
 parse_date ($format= '')
 parse_time ($format= '')
 parse_syndicate_title ($maxLength=100)
 parse_syndicate_description ($maxLength=250, $addHighlight=0)
 parse_karmaposlink ($text= '')
 parse_karmaneglink ($text= '')
 parse_new ()
 parse_daylink ()
 parse_comments ($maxToShow=0)
 parse_plugin ($pluginName)
 parse_edit ()
 parse_editlink ()
 parse_editpopupcode ()
 highlightAndParse (&$data)

Public Attributes

 $linkparams
 $allowEditAll
 $lastVisit
 $currentItem
 $blog
 $template
 $showComments


Detailed Description

This class to parse item templates

http://nucleuscms.org/license.txt GNU General Public License Copyright (C) 2002-2007 The Nucleus Group

Version:
Id
ITEMACTIONS.php 1149 2007-05-19 23:16:15Z kaigreve
Version:
NucleusJP
ITEMACTIONS.php,v 1.5.2.3 2007/10/30 19:05:20 kmorimatsu Exp

Definition at line 20 of file ITEMACTIONS.php.


Member Function Documentation

ITEMACTIONS::ITEMACTIONS ( &$  blog  ) 

Definition at line 44 of file ITEMACTIONS.php.

References $blog, $catid, $member, BaseActions::BaseActions(), and setBlog().

ITEMACTIONS::getDefinedActions (  ) 

Definition at line 59 of file ITEMACTIONS.php.

Referenced by highlightAndParse().

ITEMACTIONS::setLastVisit ( lastVisit  ) 

Definition at line 111 of file ITEMACTIONS.php.

References $lastVisit.

ITEMACTIONS::setParser ( &$  parser  ) 

Definition at line 115 of file ITEMACTIONS.php.

References BaseActions::$parser.

ITEMACTIONS::setCurrentItem ( &$  item  ) 

Definition at line 119 of file ITEMACTIONS.php.

ITEMACTIONS::setBlog ( &$  blog  ) 

Definition at line 123 of file ITEMACTIONS.php.

References $blog.

Referenced by ITEMACTIONS().

ITEMACTIONS::setTemplate ( template  ) 

Definition at line 127 of file ITEMACTIONS.php.

References $template.

ITEMACTIONS::setShowComments ( val  ) 

Definition at line 131 of file ITEMACTIONS.php.

ITEMACTIONS::parse_blogid (  ) 

Definition at line 137 of file ITEMACTIONS.php.

ITEMACTIONS::parse_body (  ) 

Definition at line 141 of file ITEMACTIONS.php.

References highlightAndParse().

ITEMACTIONS::parse_more (  ) 

Definition at line 145 of file ITEMACTIONS.php.

References highlightAndParse().

ITEMACTIONS::parse_itemid (  ) 

Definition at line 149 of file ITEMACTIONS.php.

ITEMACTIONS::parse_category (  ) 

Definition at line 153 of file ITEMACTIONS.php.

ITEMACTIONS::parse_categorylink (  ) 

Definition at line 157 of file ITEMACTIONS.php.

References createLink().

ITEMACTIONS::parse_catid (  ) 

Definition at line 161 of file ITEMACTIONS.php.

ITEMACTIONS::parse_authorid (  ) 

Definition at line 165 of file ITEMACTIONS.php.

ITEMACTIONS::parse_authorlink (  ) 

Definition at line 169 of file ITEMACTIONS.php.

References createLink().

ITEMACTIONS::parse_query (  ) 

Definition at line 180 of file ITEMACTIONS.php.

ITEMACTIONS::parse_itemlink (  ) 

Definition at line 184 of file ITEMACTIONS.php.

References createLink().

ITEMACTIONS::parse_blogurl (  ) 

Definition at line 196 of file ITEMACTIONS.php.

ITEMACTIONS::parse_closed (  ) 

Definition at line 200 of file ITEMACTIONS.php.

ITEMACTIONS::parse_relevance (  ) 

Definition at line 204 of file ITEMACTIONS.php.

ITEMACTIONS::parse_title ( format = ''  ) 

Definition at line 208 of file ITEMACTIONS.php.

References highlightAndParse(), stringToAttribute(), and stringToXML().

ITEMACTIONS::parse_karma ( type = 'totalscore'  ) 

Definition at line 234 of file ITEMACTIONS.php.

References $manager.

ITEMACTIONS::parse_author ( which = ''  ) 

Definition at line 266 of file ITEMACTIONS.php.

ITEMACTIONS::parse_smartbody (  ) 

Definition at line 287 of file ITEMACTIONS.php.

References highlightAndParse().

ITEMACTIONS::parse_morelink (  ) 

Definition at line 295 of file ITEMACTIONS.php.

ITEMACTIONS::parse_date ( format = ''  ) 

Definition at line 300 of file ITEMACTIONS.php.

References formatDate().

ITEMACTIONS::parse_time ( format = ''  ) 

Parameters:
format optional strftime format

Definition at line 307 of file ITEMACTIONS.php.

ITEMACTIONS::parse_syndicate_title ( maxLength = 100  ) 

Parameters:
maxLength optional maximum length

Definition at line 314 of file ITEMACTIONS.php.

References shorten().

ITEMACTIONS::parse_syndicate_description ( maxLength = 250,
addHighlight = 0 
)

Parameters:
maxLength optional maximum length

Definition at line 322 of file ITEMACTIONS.php.

References highlightAndParse(), and shorten().

ITEMACTIONS::parse_karmaposlink ( text = ''  ) 

Definition at line 332 of file ITEMACTIONS.php.

References $CONF.

ITEMACTIONS::parse_karmaneglink ( text = ''  ) 

Definition at line 338 of file ITEMACTIONS.php.

References $CONF.

ITEMACTIONS::parse_new (  ) 

Definition at line 344 of file ITEMACTIONS.php.

ITEMACTIONS::parse_daylink (  ) 

Definition at line 350 of file ITEMACTIONS.php.

References createArchiveLink().

ITEMACTIONS::parse_comments ( maxToShow = 0  ) 

Definition at line 354 of file ITEMACTIONS.php.

ITEMACTIONS::parse_plugin ( pluginName  ) 

Executes a plugin templatevar

Parameters:
pluginName name of plugin (without the NP_)
extra parameters can be added

Definition at line 373 of file ITEMACTIONS.php.

References $manager.

ITEMACTIONS::parse_edit (  ) 

Definition at line 395 of file ITEMACTIONS.php.

References $CONF, and $member.

ITEMACTIONS::parse_editlink (  ) 

Definition at line 402 of file ITEMACTIONS.php.

References $CONF.

ITEMACTIONS::parse_editpopupcode (  ) 

Definition at line 407 of file ITEMACTIONS.php.

ITEMACTIONS::highlightAndParse ( &$  data  ) 

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

Definition at line 418 of file ITEMACTIONS.php.

References $actions, BaseActions::$parser, getDefinedActions(), and BaseActions::highlight().

Referenced by parse_body(), parse_more(), parse_smartbody(), parse_syndicate_description(), and parse_title().


Member Data Documentation

ITEMACTIONS::$linkparams

Definition at line 24 of file ITEMACTIONS.php.

ITEMACTIONS::$allowEditAll

Definition at line 27 of file ITEMACTIONS.php.

ITEMACTIONS::$lastVisit

Definition at line 30 of file ITEMACTIONS.php.

Referenced by setLastVisit().

ITEMACTIONS::$currentItem

Definition at line 33 of file ITEMACTIONS.php.

ITEMACTIONS::$blog

Definition at line 36 of file ITEMACTIONS.php.

Referenced by ITEMACTIONS(), and setBlog().

ITEMACTIONS::$template

Definition at line 39 of file ITEMACTIONS.php.

Referenced by setTemplate().

ITEMACTIONS::$showComments

Definition at line 42 of file ITEMACTIONS.php.


The documentation for this class was generated from the following file:



Generated on Wed Jun 25 17:26:02 2008 by  doxygen 1.5.5