Class PagePart

Description

A PagePart is an executable part of a page - sometimes called a PlaceHolder

Multiple PageParts can be associated with a Page. PageParts can be of many different types such as images, HTML, and plain text. Complex pageParts might be PageParts are different from Controls in that PageParts are usually database driven.

Located in /core/PagePart.class.inc (line 44)


	
			
Variable Summary
mixed $context
mixed $GUID
mixed $name
mixed $parentPage
mixed $sortOrdinal
mixed $type
Method Summary
PagePart PagePart (mixed $_parentPage, mixed $_type, mixed $_name, mixed $_GUID, mixed $_sortOrdinal, mixed $_context)
bool execute ()
bool SaveToDatabase ()
Variables
mixed $context (line 51)
  • access: public
mixed $GUID (line 47)
  • access: public
mixed $name (line 48)
  • access: public
mixed $parentPage (line 46)
  • access: public
mixed $sortOrdinal (line 50)
  • access: public
mixed $type (line 49)
  • access: public
Methods
Constructor PagePart (line 53)
  • access: public
PagePart PagePart (mixed $_parentPage, mixed $_type, mixed $_name, mixed $_GUID, mixed $_sortOrdinal, mixed $_context)
execute (line 69)

Execute (display) this PagePart

  • return: TRUE if the execution went OK, FALSE otherwise.
  • access: public
bool execute ()
SaveToDatabase (line 92)

Saves this item to the database by creating a new entry, or update an existing one if it exists

  • return: returns TRUE if saved successfully, otherwise FALSE
  • access: public
bool SaveToDatabase ()

Documentation generated on Tue, 4 Oct 2005 21:59:23 -0700 by phpDocumentor 1.3.0RC3