[ Index ]

PHP Cross Reference of Nucleus CMS 3.32

title

Body

[close]

/nucleus/libs/ -> ACTIONS.php (summary)

(no description)

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

Defines 1 class

ACTIONS:: (76 methods):
  ACTIONS()
  setSkin()
  setParser()
  doForm()
  checkCondition()
  _ifHasPlugin()
  _ifPlugin()
  _ifCategory()
  _ifOnTeam()
  _ifAdmin()
  _link()
  _searchlink()
  _itemlink()
  _archivelink()
  _setBlogCategory()
  _preBlogContent()
  _postBlogContent()
  parse_additemform()
  parse_adminurl()
  parse_archive()
  parse_archivedate()
  parse_archivedaylist()
  parse_archivelink()
  parse_archivelist()
  parse_archivetype()
  parse_blog()
  parse_bloglist()
  parse_blogsetting()
  parse_callback()
  parse_category()
  parse_categorylist()
  parse_charset()
  parse_commentform()
  parse_comments()
  parse_errordiv()
  parse_errormessage()
  parse_formdata()
  parse_ifcat()
  parse_image()
  parse_imagetext()
  parse_item()
  parse_itemid()
  parse_itemlink()
  parse_itemtitle()
  parse_loginform()
  parse_member()
  parse_membermailform()
  parse_nextarchive()
  parse_nextitem()
  parse_nextitemtitle()
  parse_nextlink()
  parse_nucleusbutton()
  parse_otherarchive()
  parse_otherarchivedaylist()
  parse_otherarchivelist()
  parse_otherblog()
  parse_othersearchresults()
  parse_plugin()
  parse_prevarchive()
  parse_preview()
  parse_previtem()
  parse_previtemtitle()
  parse_prevlink()
  parse_query()
  parse_referer()
  parse_searchform()
  parse_searchresults()
  parse_self()
  parse_sitevar()
  parse_skinname()
  parse_skintype()
  parse_text()
  parse_ticket()
  parse_todaylink()
  parse_vars()
  parse_version()


Class: ACTIONS  - X-Ref

This class contains the functions that get called by using
the special tags in the skins

The allowed tags for a type of skinpart are defined by the
SKIN::getAllowedActionsForType($type) method

ACTIONS($type)   X-Ref
Constructor for a new ACTIONS object


setSkin(&$skin)   X-Ref
Set the skin


setParser(&$parser)   X-Ref
Set the parser


doForm($filename)   X-Ref
Forms get parsedincluded now, using an extra <formdata> skinvar


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

_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


_ifCategory($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


_link($url, $linktext = '')   X-Ref
returns either
- a raw link (html/xml encoded) when no linktext is provided
- a (x)html <a href... link when a text is present (text htmlencoded)


_searchlink($maxresults, $startpos, $direction, $linktext = '')   X-Ref
Outputs a next/prev link

param: $maxresults
param: $startpos
param: $direction
param: $linktext

_itemlink($id, $linktext = '')   X-Ref
Creates an item link and if no id is given a todaylink


_archivelink($id, $linktext = '')   X-Ref
Creates an archive link and if no id is given a todaylink


_setBlogCategory(&$blog, $catname)   X-Ref
Helper function that sets the category that a blog will need to use

param: $blog
param: $catname

_preBlogContent($type, &$blog)   X-Ref
Notifies the Manager that a PreBlogContent event occurs


_postBlogContent($type, &$blog)   X-Ref
Notifies the Manager that a PostBlogContent event occurs


parse_additemform()   X-Ref
Parse skinvar additemform


parse_adminurl()   X-Ref
Parse skinvar adminurl
(shortcut for admin url)


parse_archive($template, $category = '')   X-Ref
Parse skinvar archive


parse_archivedate($locale = '-def-')   X-Ref
%archivedate(locale,date format)%


parse_archivedaylist($template, $category = 'all', $limit = 0)   X-Ref
Parse skinvar archivedaylist


parse_archivelink($linktext = '')   X-Ref
A link to the archives for the current blog (or for default blog)


parse_archivelist($template, $category = 'all', $limit = 0)   X-Ref
No description

parse_archivetype()   X-Ref
Parse skinvar archivetype


parse_blog($template, $amount = 10, $category = '')   X-Ref
Parse skinvar blog


parse_bloglist($template, $bnametype = '')   X-Ref
No description

parse_blogsetting($which)   X-Ref
Parse skinvar blogsetting


parse_callback($eventName, $type)   X-Ref
Parse callback


parse_category($type = 'name')   X-Ref
Parse skinvar category


parse_categorylist($template, $blogname = '')   X-Ref
Parse categorylist


parse_charset()   X-Ref
Parse skinvar charset


parse_commentform($destinationurl = '')   X-Ref
Parse skinvar commentform


parse_comments($template)   X-Ref
Parse skinvar comments
include comments for one item


parse_errordiv()   X-Ref
Parse errordiv


parse_errormessage()   X-Ref
Parse skinvar errormessage


parse_formdata($what)   X-Ref
Parse formdata


parse_ifcat($text = '')   X-Ref
Parse ifcat


parse_image($what = 'imgtag')   X-Ref
Parse skinvar image


parse_imagetext()   X-Ref
Parse skinvar imagetext


parse_item($template)   X-Ref
Parse skinvar item
include one item (no comments)


parse_itemid()   X-Ref
Parse skinvar itemid


parse_itemlink($linktext = '')   X-Ref
Parse skinvar itemlink


parse_itemtitle($format = '')   X-Ref
Parse itemtitle


parse_loginform()   X-Ref
Parse skinvar loginform


parse_member($what)   X-Ref
Parse skinvar member
(includes a member info thingie)


parse_membermailform($rows = 10, $cols = 40, $desturl = '')   X-Ref
Parse skinvar membermailform


parse_nextarchive()   X-Ref
Parse skinvar nextarchive


parse_nextitem()   X-Ref
Parse skinvar nextitem
(include itemid of next item)


parse_nextitemtitle($format = '')   X-Ref
Parse skinvar nextitemtitle
(include itemtitle of next item)


parse_nextlink($linktext = '', $amount = 10)   X-Ref
Parse skinvar nextlink


parse_nucleusbutton($imgurl = '',$imgwidth = '85',$imgheight = '31')   X-Ref
Parse skinvar nucleusbutton


parse_otherarchive($blogname, $template, $category = '')   X-Ref
Parse skinvar otherarchive


parse_otherarchivedaylist($blogname, $template, $category = 'all', $limit = 0)   X-Ref
Parse skinvar otherarchivedaylist


parse_otherarchivelist($blogname, $template, $category = 'all', $limit = 0)   X-Ref
Parse skinvar otherarchivelist


parse_otherblog($blogname, $template, $amount = 10, $category = '')   X-Ref
Parse skinvar otherblog


parse_othersearchresults($blogname, $template, $maxresults = 50)   X-Ref
Parse skinvar othersearchresults


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

param: pluginName name of plugin (without the NP_)

parse_prevarchive()   X-Ref
Parse skinvar prevarchive


parse_preview($template)   X-Ref
Parse skinvar preview


parse_previtem()   X-Ref
No description

parse_previtemtitle($format = '')   X-Ref
Parse skinvar previtemtitle
(include itemtitle of prev item)


parse_prevlink($linktext = '', $amount = 10)   X-Ref
Parse skinvar prevlink


parse_query()   X-Ref
Parse skinvar query
(includes the search query)


parse_referer()   X-Ref
Parse skinvar referer


parse_searchform($blogname = '')   X-Ref
Parse skinvar searchform


parse_searchresults($template, $maxresults = 50 )   X-Ref
Parse skinvar searchresults


parse_self()   X-Ref
Parse skinvar self


parse_sitevar($which)   X-Ref
Parse skinvar sitevar
(include a sitevar)


parse_skinname()   X-Ref
Parse skinname


parse_skintype()   X-Ref
Parse skintype (experimental)


parse_text($which)   X-Ref
Parse text


parse_ticket()   X-Ref
Parse ticket


parse_todaylink($linktext = '')   X-Ref
Parse skinvar todaylink
A link to the today page (depending on selected blog, etc...)


parse_vars()   X-Ref
Parse vars
When commentform is not used, to include a hidden field with itemid


parse_version()   X-Ref
Parse skinvar version
(include nucleus versionnumber)




Generated: Tue Feb 12 15:34:36 2008 Cross-referenced by PHPXref 0.7