|
|
SyntaxCMS
Section
Section
|
private class Section extends pxdb_record
You can use this in place of using the pxdb_record class directly. Provided are some rough guesses of methods you might want. Customize & add as needed! Note that this class uses Camels Hump capitalization so that methods of this class can be easily distinguished from the all-lowercase methods of the parent classes. This class does not handle writing data to a record. You could add this if you wanted, but that is not part of the pxdb_record functionality -- that is handled by the pxdb_commit (and often pxdb_input for form building) classes. This class provides methods for accessing record values. You can use this class in conjunction with the pxdb_collection class by either 1) using the auto-generated SectionCollection class, which will return this object when you invoke the fetchRecord() method. or 2) specify this object when you fetch a record from pxdb_collection: while($rec = &$content->fetch_record('Section')) { print $rec->getName(); // e.g., not necessary a method of this class. }
|
|
|
|
|
Private Field Summary |
unknown |
$_navPath Public navigation path for the section
|
|
|
Public Method Details |
Section |
public void Section(mixed $data)
|
|
Calls parent constructor.
|
Parameter |
|
mixed |
$data |
|
|
Record ID or record row (array) |
|
Returns |
void |
|
getByUrlPath |
public object pxdb_record getByUrlPath(string $url_path, boolean $show_unapproved)
|
|
|
Parameter |
|
string |
$url_path |
|
|
Full section path from top node to the section
@pa |
|
|
boolean |
$show_unapproved |
|
|
Warning: documentation is missing. |
|
Returns |
object pxdb_record |
Author(s) |
Sandy Smith <ssmith@forumone.com> |
|
getNavPath |
public string getNavPath()
|
|
Internally caches the result to avoid multiple calls to SectionNavigator
|
Returns |
string |
|
&getAncestorCollection |
public void &getAncestorCollection()
|
|
|
Returns |
void |
Author(s) |
Oscar Merida <omerida@forumone.com> |
|
&getParentSection |
public object [unknown] &getParentSection()
|
|
|
Returns |
object [unknown] |
Author(s) |
|
|
isLink |
public boolean isLink()
|
|
|
Returns |
boolean |
|
isAuthorized |
public boolean isAuthorized()
|
|
|
Returns |
boolean |
|
|
Private Method Details |
getUrlId |
private mixed getUrlId()
|
|
|
Returns |
mixed Value or array of values. |
|
getCrumb |
private mixed getCrumb()
|
|
|
Returns |
mixed Value or array of values. |
|
getName |
private mixed getName()
|
|
|
Returns |
mixed Value or array of values. |
|
getDescription |
private mixed getDescription()
|
|
|
Returns |
mixed Value or array of values. |
|
getContent |
private mixed getContent()
|
|
|
Returns |
mixed Value or array of values. |
|
getGrouping |
private mixed getGrouping()
|
|
|
Returns |
mixed Value or array of values. |
|
getWeight |
private mixed getWeight()
|
|
|
Returns |
mixed Value or array of values. |
|
getMetaKeywords |
private mixed getMetaKeywords()
|
|
|
Returns |
mixed Value or array of values. |
|
getMetaDescription |
private mixed getMetaDescription()
|
|
|
Returns |
mixed Value or array of values. |
|
getTemplate |
private string getTemplate(string $field)
|
|
|
Parameter |
|
string |
$field |
|
|
Warning: documentation is missing. |
|
Returns |
string Path from top-level Section to this one. |
|
getUrlPath |
private string getUrlPath()
|
|
|
Returns |
string Path from top-level Section to this one. |
|
getByUrlId |
private void getByUrlId( $urlid, boolean $show_unapproved)
|
|
|
Parameter |
|
|
$urlid |
|
|
Warning: documentation is missing. |
|
|
boolean |
$show_unapproved |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
|
Private Field Details |
$_navPath |
private unknown $_navPath
>> <<
|
|
|
|
|
|
Generated on Fri, 28 Apr 2006 19:06:12 -0400 by PHPDoc v1.5 www.phpdoc.de
|