Class CFriendlyUrlPageControl

Description

Page control class for finding children and getting parent pages.

Located in /CFriendlyUrlPageControl.php (line 16)

CComponent
   |
   --CFriendlyUrlPageControl
Variable Summary
static array $data
Method Summary
static CFriendlyUrlPage findByPageId (integer $pageId, [CFriendlyUrlPage $parent = NULL])
static CFriendlyUrlPage findByUniqueId (integer $uniqueId, [CFriendlyUrlPage $parent = NULL])
static CFriendlyUrlPage findChild (string $cname, [CFriendlyUrlPage $parent = NULL])
static array getChildren ([CFriendlyUrlPage $parent = NULL])
CFriendlyUrlPageControl __construct (IFriendlyUrlPageStorage $storage)
Variables
Methods
static method findByPageId (line 77)

Find page by page ID.

static CFriendlyUrlPage findByPageId (integer $pageId, [CFriendlyUrlPage $parent = NULL])
  • integer $pageId: Page ID to find.
  • CFriendlyUrlPage $parent: Parent page for finding or NULL for root.
static method findByUniqueId (line 48)

Find page by unique ID.

static CFriendlyUrlPage findByUniqueId (integer $uniqueId, [CFriendlyUrlPage $parent = NULL])
  • integer $uniqueId: Unique ID to find.
  • CFriendlyUrlPage $parent: Parent page for finding or NULL for root.
static method findChild (line 104)

Find child page by parently-unique name.

static CFriendlyUrlPage findChild (string $cname, [CFriendlyUrlPage $parent = NULL])
  • string $cname: Parently-unique name of page to find.
  • CFriendlyUrlPage $parent: Parent page for finding or NULL for root.
static method getChildren (line 124)

Get children pages.

static array getChildren ([CFriendlyUrlPage $parent = NULL])
Constructor __construct (line 32)

Constructor, fill pages data array.

CFriendlyUrlPageControl __construct (IFriendlyUrlPageStorage $storage)

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