Class CFriendlyUrlPage

Description

Page representative class.

  • author: Oleg Blednov aka Blake-R
  • version: 2009-04-13

Located in /CFriendlyUrlPage.php (line 16)


	
			
Variable Summary
static integer $id_count
array $children
string $cname
string $controller
string $menuTitle
integer $pageId
string $pageTitle
integer $uniqueId
Method Summary
CFriendlyUrlPage __construct (integer $pageId, string $cname, string $controller, string $pageTitle, string $menuTitle, [ $children = array()])
mixed __get (string $name)
Variables
static integer $id_count = 1 (line 22)

Internal counter for generate $uniqueId.

string $cname (line 43)

Parently-unique page name.

string $controller (line 48)

Controller name for page. May also contain action name: ControllerID/ActionID

string $menuTitle (line 61)

Menu title or NULL, if not showing in menu. May contain magicString for evaluation, started with '@@'.

integer $pageId (line 33)

Page ID for designate belonging data to this page.

string $pageTitle (line 54)

Page title. May contain magicString for evaluation, started with '@@'.

CFriendlyUrlPage $parent (line 38)

Automatically generated parent page.

integer $uniqueId (line 28)

Unique ID, generated automatically on create pages hierarchi.

Methods
Constructor __construct (line 86)

Create new page representation.

CFriendlyUrlPage __construct (integer $pageId, string $cname, string $controller, string $pageTitle, string $menuTitle, [ $children = array()])
  • integer $pageId: Page ID.
  • string $cname: Parently-unique page name.
  • string $controller: Controller name.
  • string $pageTitle: Page title.
  • string $menuTitle: Menu title.
  • array $children: Children elements.
__get (line 107)

Make class variables read-only.

  • return: Value of variable.
  • access: public
mixed __get (string $name)
  • string $name: Name of the variable.

Documentation generated on Mon, 13 Apr 2009 16:55:48 +0400 by phpDocumentor 1.4.1