[ Index ]

PHP Cross Reference of Nucleus CMS 3.32

title

Body

[close]

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

(no description)

Copyright: Copyright (C) 2002-2007 The Nucleus Group
License: http://nucleuscms.org/license.txt GNU General Public License
Version: $Id: PAGEFACTORY.php 1187 2007-08-06 14:43:00Z kaigreve $
File Size: 431 lines (11 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PAGEFACTORY:: (28 methods):
  PAGEFACTORY()
  createAddForm()
  createEditForm()
  createForm()
  getTemplateFor()
  parse_categories()
  parse_blogid()
  parse_blogname()
  parse_bloglink()
  parse_authorname()
  parse_title()
  parse_ifblogsetting()
  parse_ifitemproperty()
  parse_helplink()
  parse_currenttime()
  parse_itemtime()
  parse_init()
  parse_extrahead()
  parse_text()
  parse_contents()
  parse_checkedonval()
  parse_jsinput()
  parse_jsbuttonbar()
  parse_pluginextras()
  parse_itemoptions()
  parse_ticket()
  _jsbutton()
  _jsbuttonspacer()


Class: PAGEFACTORY  - X-Ref

The formfactory class can be used to insert add/edit item forms into
admin area, bookmarklet, skins or any other places where such a form
might be needed

PAGEFACTORY($blogid)   X-Ref
creates a new PAGEFACTORY object


createAddForm($type, $contents = array()   X-Ref
creates a "add item" form for a given type of page

param: type

createEditForm($type, $contents)   X-Ref
creates a "add item" form for a given type of page

param: type
param: contents

createForm($contents)   X-Ref
(private) creates a form for a given type of page


getTemplateFor($type)   X-Ref
returns an appropriate template


parse_categories($startidx = 0)   X-Ref
No description

parse_blogid()   X-Ref
No description

parse_blogname()   X-Ref
No description

parse_bloglink()   X-Ref
No description

parse_authorname()   X-Ref
No description

parse_title()   X-Ref
No description

parse_ifblogsetting($name,$value=1)   X-Ref
Indicates the start of a conditional block of data. It will be added to
the output only if the blogsetting with the given name equals the
given value (default for value = 1 = true)

the name of the blogsetting is the column name in the nucleus_blog table

the conditional block ends with an <endif> var

parse_ifitemproperty($name,$value=1)   X-Ref
No description

parse_helplink($topic)   X-Ref
No description

parse_currenttime($what)   X-Ref
No description

parse_itemtime($what)   X-Ref
No description

parse_init()   X-Ref
No description

parse_extrahead()   X-Ref
No description

parse_text($which)   X-Ref
No description

parse_contents($which)   X-Ref
No description

parse_checkedonval($value, $name)   X-Ref
No description

parse_jsinput($which)   X-Ref
No description

parse_jsbuttonbar($extrabuttons = "")   X-Ref
No description

parse_pluginextras()   X-Ref
Allows plugins to add their own custom fields


parse_itemoptions()   X-Ref
Adds the itemOptions of a plugin to a page

author: TeRanEX

parse_ticket()   X-Ref
No description

_jsbutton($type, $code ,$tooltip)   X-Ref
convenience method


_jsbuttonspacer()   X-Ref
No description



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