![]() |
rapila
|
Public Member Functions | |
applyDefaultValues () | |
__construct () | |
getId () | |
getName () | |
getIdentifier () | |
getPageType () | |
getTemplateName () | |
getIsInactive () | |
getIsFolder () | |
getIsHidden () | |
getIsProtected () | |
getCanonicalId () | |
getTreeLeft () | |
getTreeRight () | |
getTreeLevel () | |
getCreatedAt ($format= 'Y-m-d H:i:s') | |
getUpdatedAt ($format= 'Y-m-d H:i:s') | |
getCreatedBy () | |
getUpdatedBy () | |
setId ($v) | |
setName ($v) | |
setIdentifier ($v) | |
setPageType ($v) | |
setTemplateName ($v) | |
setIsInactive ($v) | |
setIsFolder ($v) | |
setIsHidden ($v) | |
setIsProtected ($v) | |
setCanonicalId ($v) | |
setTreeLeft ($v) | |
setTreeRight ($v) | |
setTreeLevel ($v) | |
setCreatedAt ($v) | |
setUpdatedAt ($v) | |
setCreatedBy ($v) | |
setUpdatedBy ($v) | |
hasOnlyDefaultValues () | |
hydrate ($row, $startcol=0, $rehydrate=false) | |
ensureConsistency () | |
reload ($deep=false, PropelPDO $con=null) | |
delete (PropelPDO $con=null) | |
save (PropelPDO $con=null) | |
getValidationFailures () | |
validate ($columns=null) | |
getByName ($name, $type=BasePeer::TYPE_PHPNAME) | |
getByPosition ($pos) | |
toArray ($keyType=BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns=true, $alreadyDumpedObjects=array(), $includeForeignObjects=false) | |
setByName ($name, $value, $type=BasePeer::TYPE_PHPNAME) | |
setByPosition ($pos, $value) | |
fromArray ($arr, $keyType=BasePeer::TYPE_PHPNAME) | |
buildCriteria () | |
buildPkeyCriteria () | |
getPrimaryKey () | |
setPrimaryKey ($key) | |
isPrimaryKeyNull () | |
copyInto ($copyObj, $deepCopy=false, $makeNew=true) | |
copy ($deepCopy=false) | |
getPeer () | |
setPageRelatedByCanonicalId (Page $v=null) | |
getPageRelatedByCanonicalId (PropelPDO $con=null, $doQuery=true) | |
setUserRelatedByCreatedBy (User $v=null) | |
getUserRelatedByCreatedBy (PropelPDO $con=null, $doQuery=true) | |
setUserRelatedByUpdatedBy (User $v=null) | |
getUserRelatedByUpdatedBy (PropelPDO $con=null, $doQuery=true) | |
initRelation ($relationName) | |
clearPagesRelatedById () | |
resetPartialPagesRelatedById ($v=true) | |
initPagesRelatedById ($overrideExisting=true) | |
getPagesRelatedById ($criteria=null, PropelPDO $con=null) | |
setPagesRelatedById (PropelCollection $pagesRelatedById, PropelPDO $con=null) | |
countPagesRelatedById (Criteria $criteria=null, $distinct=false, PropelPDO $con=null) | |
addPageRelatedById (Page $l) | |
removePageRelatedById ($pageRelatedById) | |
getPagesRelatedByIdJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
getPagesRelatedByIdJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
clearPagePropertys () | |
resetPartialPagePropertys ($v=true) | |
initPagePropertys ($overrideExisting=true) | |
getPagePropertys ($criteria=null, PropelPDO $con=null) | |
setPagePropertys (PropelCollection $pagePropertys, PropelPDO $con=null) | |
countPagePropertys (Criteria $criteria=null, $distinct=false, PropelPDO $con=null) | |
addPageProperty (PageProperty $l) | |
removePageProperty ($pageProperty) | |
getPagePropertysJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
getPagePropertysJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
clearPageStrings () | |
resetPartialPageStrings ($v=true) | |
initPageStrings ($overrideExisting=true) | |
getPageStrings ($criteria=null, PropelPDO $con=null) | |
setPageStrings (PropelCollection $pageStrings, PropelPDO $con=null) | |
countPageStrings (Criteria $criteria=null, $distinct=false, PropelPDO $con=null) | |
addPageString (PageString $l) | |
removePageString ($pageString) | |
getPageStringsJoinLanguage ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
getPageStringsJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
getPageStringsJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
clearContentObjects () | |
resetPartialContentObjects ($v=true) | |
initContentObjects ($overrideExisting=true) | |
getContentObjects ($criteria=null, PropelPDO $con=null) | |
setContentObjects (PropelCollection $contentObjects, PropelPDO $con=null) | |
countContentObjects (Criteria $criteria=null, $distinct=false, PropelPDO $con=null) | |
addContentObject (ContentObject $l) | |
removeContentObject ($contentObject) | |
getContentObjectsJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
getContentObjectsJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
clearRights () | |
resetPartialRights ($v=true) | |
initRights ($overrideExisting=true) | |
getRights ($criteria=null, PropelPDO $con=null) | |
setRights (PropelCollection $rights, PropelPDO $con=null) | |
countRights (Criteria $criteria=null, $distinct=false, PropelPDO $con=null) | |
addRight (Right $l) | |
removeRight ($right) | |
getRightsJoinRole ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
getRightsJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
getRightsJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN) | |
clear () | |
clearAllReferences ($deep=false) | |
__toString () | |
isAlreadyInSave () | |
getReferees () | |
addTag ($mTag) | |
removeTag ($mTag) | |
removeAllTags () | |
tags ($sReturn= 'tag') | |
getTags () | |
mayOperate ($sOperation, $oUser=false) | |
mayBeInserted ($oUser=false) | |
mayBeUpdated ($oUser=false) | |
mayBeDeleted ($oUser=false) | |
getLeftValue () | |
getRightValue () | |
getLevel () | |
setLeftValue ($v) | |
setRightValue ($v) | |
setLevel ($v) | |
makeRoot () | |
isInTree () | |
isRoot () | |
isLeaf () | |
isDescendantOf ($parent) | |
isAncestorOf ($child) | |
hasParent (PropelPDO $con=null) | |
setParent ($parent=null) | |
getParent (PropelPDO $con=null) | |
hasPrevSibling (PropelPDO $con=null) | |
getPrevSibling (PropelPDO $con=null) | |
hasNextSibling (PropelPDO $con=null) | |
getNextSibling (PropelPDO $con=null) | |
clearNestedSetChildren () | |
initNestedSetChildren () | |
addNestedSetChild ($page) | |
hasChildren () | |
getChildren ($criteria=null, PropelPDO $con=null) | |
countChildren ($criteria=null, PropelPDO $con=null) | |
getFirstChild ($query=null, PropelPDO $con=null) | |
getLastChild ($query=null, PropelPDO $con=null) | |
getSiblings ($includeNode=false, $query=null, PropelPDO $con=null) | |
getDescendants ($query=null, PropelPDO $con=null) | |
countDescendants ($query=null, PropelPDO $con=null) | |
getBranch ($query=null, PropelPDO $con=null) | |
getAncestors ($query=null, PropelPDO $con=null) | |
addChild (Page $child) | |
insertAsFirstChildOf ($parent) | |
insertAsLastChildOf ($parent) | |
insertAsPrevSiblingOf ($sibling) | |
insertAsNextSiblingOf ($sibling) | |
moveToFirstChildOf ($parent, PropelPDO $con=null) | |
moveToLastChildOf ($parent, PropelPDO $con=null) | |
moveToPrevSiblingOf ($sibling, PropelPDO $con=null) | |
moveToNextSiblingOf ($sibling, PropelPDO $con=null) | |
deleteDescendants (PropelPDO $con=null) | |
getIterator () | |
keepUpdateDateUnchanged () | |
getCreatedAtTimestamp () | |
getCreatedAtFormatted ($sLanguageId=null, $sFormatString= 'x') | |
getUpdatedAtTimestamp () | |
getUpdatedAtFormatted ($sLanguageId=null, $sFormatString= 'x') | |
keepUpdateUserUnchanged () | |
getPKArray () | |
getPKString () | |
Static Public Member Functions | |
static | addTagTo ($sPageId, $mTag) |
static | removeTagFrom ($sPageId, $mTag) |
static | removeAllTagsFrom ($sPageId) |
static | tagsFor ($sPageId=null, $sReturn= 'tag') |
Public Attributes | |
const | PEER = 'PagePeer' |
const | TAG_MODEL_NAME = 'Tag' |
const | TAG_INSTANCE_MODEL_NAME = 'TagInstance' |
Protected Member Functions | |
doSave (PropelPDO $con) | |
doInsert (PropelPDO $con) | |
doUpdate (PropelPDO $con) | |
doValidate ($columns=null) | |
doAddPageRelatedById ($pageRelatedById) | |
doAddPageProperty ($pageProperty) | |
doAddPageString ($pageString) | |
doAddContentObject ($contentObject) | |
doAddRight ($right) | |
processNestedSetQueries ($con) | |
moveSubtreeTo ($destLeft, $levelDelta, PropelPDO $con=null) | |
Static Protected Attributes | |
static | $peer |
BasePage::__construct | ( | ) |
Initializes internal state of BasePage object.
BasePage::__toString | ( | ) |
return the string representation of this object
BasePage::addChild | ( | Page | $child | ) |
BasePage::addContentObject | ( | ContentObject | $l | ) |
Method called to associate a ContentObject object to this object through the ContentObject foreign key attribute.
ContentObject | $l | ContentObject |
BasePage::addNestedSetChild | ( | $page | ) |
Adds an element to the internal $collNestedSetChildren collection. Beware that this doesn't insert a node in the tree. This method is only used to facilitate children hydration.
Page | $page |
BasePage::addPageProperty | ( | PageProperty | $l | ) |
Method called to associate a PageProperty object to this object through the PageProperty foreign key attribute.
PageProperty | $l | PageProperty |
BasePage::addPageRelatedById | ( | Page | $l | ) |
BasePage::addPageString | ( | PageString | $l | ) |
Method called to associate a PageString object to this object through the PageString foreign key attribute.
PageString | $l | PageString |
BasePage::addRight | ( | Right | $l | ) |
BasePage::addTag | ( | $mTag | ) |
Add a tag to the current Page
|
static |
Add a tag to the Page given by the id
BasePage::applyDefaultValues | ( | ) |
Applies default values to this object. This method should be called from the object's constructor (or equivalent initialization method).
BasePage::buildCriteria | ( | ) |
Build a Criteria object containing the values of all modified columns in this object.
BasePage::buildPkeyCriteria | ( | ) |
Builds a Criteria object containing the primary key for this object.
Unlike buildCriteria() this method includes the primary key values regardless of whether or not they have been modified.
BasePage::clear | ( | ) |
Clears the current object and sets all attributes to their default values
BasePage::clearAllReferences | ( | $deep = false | ) |
Resets all references to other model objects or collections of model objects.
This method is a user-space workaround for PHP's inability to garbage collect objects with circular references (even in PHP 5.3). This is currently necessary when using Propel in certain daemon or large-volume/high-memory operations.
boolean | $deep | Whether to also clear the references on all referrer objects. |
BasePage::clearContentObjects | ( | ) |
Clears out the collContentObjects collection
This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method.
BasePage::clearNestedSetChildren | ( | ) |
Clears out the $collNestedSetChildren collection
This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method.
BasePage::clearPagePropertys | ( | ) |
Clears out the collPagePropertys collection
This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method.
BasePage::clearPagesRelatedById | ( | ) |
Clears out the collPagesRelatedById collection
This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method.
BasePage::clearPageStrings | ( | ) |
Clears out the collPageStrings collection
This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method.
BasePage::clearRights | ( | ) |
Clears out the collRights collection
This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method.
BasePage::copy | ( | $deepCopy = false | ) |
Makes a copy of this object that will be inserted as a new row in table when saved. It creates a new object filling in the simple attributes, but skipping any primary keys that are defined for the table.
If desired, this method can also make copies of all associated (fkey referrers) objects.
boolean | $deepCopy | Whether to also copy all rows that refer (by fkey) to the current row. |
PropelException |
BasePage::copyInto | ( | $copyObj, | |
$deepCopy = false , |
|||
$makeNew = true |
|||
) |
Sets contents of passed object to values from current object.
If desired, this method can also make copies of all associated (fkey referrers) objects.
object | $copyObj | An object of Page (or compatible) type. |
boolean | $deepCopy | Whether to also copy all rows that refer (by fkey) to the current row. |
boolean | $makeNew | Whether to reset autoincrement PKs and make the object new. |
PropelException |
BasePage::countChildren | ( | $criteria = null , |
|
PropelPDO | $con = null |
||
) |
Gets number of children for the given node
Criteria | $criteria | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::countContentObjects | ( | Criteria | $criteria = null , |
$distinct = false , |
|||
PropelPDO | $con = null |
||
) |
Returns the number of related ContentObject objects.
Criteria | $criteria | |
boolean | $distinct | |
PropelPDO | $con |
PropelException |
BasePage::countDescendants | ( | $query = null , |
|
PropelPDO | $con = null |
||
) |
Gets number of descendants for the given node
Criteria | $query | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::countPagePropertys | ( | Criteria | $criteria = null , |
$distinct = false , |
|||
PropelPDO | $con = null |
||
) |
Returns the number of related PageProperty objects.
Criteria | $criteria | |
boolean | $distinct | |
PropelPDO | $con |
PropelException |
BasePage::countPagesRelatedById | ( | Criteria | $criteria = null , |
$distinct = false , |
|||
PropelPDO | $con = null |
||
) |
BasePage::countPageStrings | ( | Criteria | $criteria = null , |
$distinct = false , |
|||
PropelPDO | $con = null |
||
) |
Returns the number of related PageString objects.
Criteria | $criteria | |
boolean | $distinct | |
PropelPDO | $con |
PropelException |
BasePage::countRights | ( | Criteria | $criteria = null , |
$distinct = false , |
|||
PropelPDO | $con = null |
||
) |
BasePage::delete | ( | PropelPDO | $con = null | ) |
Removes this object from datastore and sets delete attribute.
PropelPDO | $con |
PropelException | |
Exception |
BasePage::deleteDescendants | ( | PropelPDO | $con = null | ) |
Deletes all descendants for the given node Instance pooling is wiped out by this command, so existing Page instances are probably invalid (except for the current one)
PropelPDO | $con | Connection to use. |
|
protected |
ContentObject | $contentObject | The contentObject object to add. |
|
protected |
PageProperty | $pageProperty | The pageProperty object to add. |
|
protected |
PageRelatedById | $pageRelatedById | The pageRelatedById object to add. |
|
protected |
PageString | $pageString | The pageString object to add. |
|
protected |
Right | $right | The right object to add. |
|
protected |
Insert the row in the database.
PropelPDO | $con |
PropelException |
|
protected |
Performs the work of inserting or updating the row in the database.
If the object is new, it inserts it; otherwise an update is performed. All related objects are also updated in this method.
PropelPDO | $con |
PropelException |
|
protected |
|
protected |
This function performs the validation work for complex object models.
In addition to checking the current object, all related objects will also be validated. If all pass then true
is returned; otherwise an aggregated array of ValidationFailed objects will be returned.
array | $columns | Array of column names to validate. |
true
if all validations pass; array of ValidationFailed
objects otherwise. BasePage::ensureConsistency | ( | ) |
Checks and repairs the internal consistency of the object.
This method is executed after an already-instantiated object is re-hydrated from the database. It exists to check any foreign keys to make sure that the objects related to the current object are correct based on foreign key.
You can override this method in the stub class, but you should always invoke the base method from the overridden method (i.e. parent::ensureConsistency()), in case your model changes.
PropelException |
BasePage::fromArray | ( | $arr, | |
$keyType = BasePeer::TYPE_PHPNAME |
|||
) |
Populates the object using an array.
This is particularly useful when populating an object from one of the request arrays (e.g. $_POST). This method goes through the column names, checking to see whether a matching key exists in populated array. If so the setByName() method is called for that column.
You can specify the key type of the array by additionally passing one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. The default key type is the column's BasePeer::TYPE_PHPNAME
array | $arr | An array to populate the object from. |
string | $keyType | The type of keys the array uses. |
BasePage::getAncestors | ( | $query = null , |
|
PropelPDO | $con = null |
||
) |
Gets ancestors for the given node, starting with the root node Use it for breadcrumb paths for instance
Criteria | $query | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::getBranch | ( | $query = null , |
|
PropelPDO | $con = null |
||
) |
Gets descendants for the given node, plus the current node
Criteria | $query | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::getByName | ( | $name, | |
$type = BasePeer::TYPE_PHPNAME |
|||
) |
Retrieves a field from the object by name passed in as a string.
string | $name | name |
string | $type | The type of fieldname the $name is of: one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. Defaults to BasePeer::TYPE_PHPNAME |
BasePage::getByPosition | ( | $pos | ) |
Retrieves a field from the object by Position as specified in the xml schema. Zero-based.
int | $pos | position in xml schema |
BasePage::getCanonicalId | ( | ) |
Get the [canonical_id] column value.
BasePage::getChildren | ( | $criteria = null , |
|
PropelPDO | $con = null |
||
) |
Gets the children of the given node
Criteria | $criteria | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::getContentObjects | ( | $criteria = null , |
|
PropelPDO | $con = null |
||
) |
Gets an array of ContentObject objects which contain a foreign key that references this object.
If the $criteria is not null, it is used to always fetch the results from the database. Otherwise the results are fetched from the database the first time, then cached. Next time the same method is called without $criteria, the cached collection is returned. If this Page is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
PropelException |
BasePage::getContentObjectsJoinUserRelatedByCreatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related ContentObjects from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getContentObjectsJoinUserRelatedByUpdatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related ContentObjects from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getCreatedAt | ( | $format = 'Y-m-d H:i:s' | ) |
Get the [optionally formatted] temporal [created_at] column value.
string | $format | The date/time format string (either date()-style or strftime()-style). If format is null, then the raw DateTime object will be returned. |
PropelException | - if unable to parse/validate the date/time value. |
BasePage::getCreatedAtFormatted | ( | $sLanguageId = null , |
|
$sFormatString = 'x' |
|||
) |
BasePage::getCreatedAtTimestamp | ( | ) |
BasePage::getCreatedBy | ( | ) |
Get the [created_by] column value.
BasePage::getDescendants | ( | $query = null , |
|
PropelPDO | $con = null |
||
) |
Gets descendants for the given node
Criteria | $query | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::getFirstChild | ( | $query = null , |
|
PropelPDO | $con = null |
||
) |
Gets the first child of the given node
Criteria | $query | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::getId | ( | ) |
Get the [id] column value.
BasePage::getIdentifier | ( | ) |
Get the [identifier] column value.
BasePage::getIsFolder | ( | ) |
Get the [is_folder] column value.
BasePage::getIsHidden | ( | ) |
Get the [is_hidden] column value.
BasePage::getIsInactive | ( | ) |
Get the [is_inactive] column value.
BasePage::getIsProtected | ( | ) |
Get the [is_protected] column value.
BasePage::getIterator | ( | ) |
Returns a pre-order iterator for this node and its children.
BasePage::getLastChild | ( | $query = null , |
|
PropelPDO | $con = null |
||
) |
Gets the last child of the given node
Criteria | $query | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::getLeftValue | ( | ) |
Proxy getter method for the left value of the nested set model. It provides a generic way to get the value, whatever the actual column name is.
BasePage::getLevel | ( | ) |
Proxy getter method for the level value of the nested set model. It provides a generic way to get the value, whatever the actual column name is.
BasePage::getName | ( | ) |
Get the [name] column value.
BasePage::getNextSibling | ( | PropelPDO | $con = null | ) |
Gets next sibling for the given node if it exists
PropelPDO | $con | Connection to use. |
BasePage::getPagePropertys | ( | $criteria = null , |
|
PropelPDO | $con = null |
||
) |
Gets an array of PageProperty objects which contain a foreign key that references this object.
If the $criteria is not null, it is used to always fetch the results from the database. Otherwise the results are fetched from the database the first time, then cached. Next time the same method is called without $criteria, the cached collection is returned. If this Page is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
PropelException |
BasePage::getPagePropertysJoinUserRelatedByCreatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related PagePropertys from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getPagePropertysJoinUserRelatedByUpdatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related PagePropertys from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getPageRelatedByCanonicalId | ( | PropelPDO | $con = null , |
$doQuery = true |
|||
) |
BasePage::getPagesRelatedById | ( | $criteria = null , |
|
PropelPDO | $con = null |
||
) |
Gets an array of Page objects which contain a foreign key that references this object.
If the $criteria is not null, it is used to always fetch the results from the database. Otherwise the results are fetched from the database the first time, then cached. Next time the same method is called without $criteria, the cached collection is returned. If this Page is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
PropelException |
BasePage::getPagesRelatedByIdJoinUserRelatedByCreatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related PagesRelatedById from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getPagesRelatedByIdJoinUserRelatedByUpdatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related PagesRelatedById from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getPageStrings | ( | $criteria = null , |
|
PropelPDO | $con = null |
||
) |
Gets an array of PageString objects which contain a foreign key that references this object.
If the $criteria is not null, it is used to always fetch the results from the database. Otherwise the results are fetched from the database the first time, then cached. Next time the same method is called without $criteria, the cached collection is returned. If this Page is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
PropelException |
BasePage::getPageStringsJoinLanguage | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related PageStrings from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getPageStringsJoinUserRelatedByCreatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related PageStrings from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getPageStringsJoinUserRelatedByUpdatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related PageStrings from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getPageType | ( | ) |
Get the [page_type] column value.
BasePage::getParent | ( | PropelPDO | $con = null | ) |
Gets parent node for the current object if it exists The result is cached so further calls to the same method don't issue any queries
PropelPDO | $con | Connection to use. |
BasePage::getPeer | ( | ) |
Returns a peer instance associated with this om.
Since Peer classes are not to have any instance attributes, this method returns the same instance for all member of this class. The method could therefore be static, but this would prevent one from overriding the behavior.
BasePage::getPKArray | ( | ) |
BasePage::getPKString | ( | ) |
BasePage::getPrevSibling | ( | PropelPDO | $con = null | ) |
Gets previous sibling for the given node if it exists
PropelPDO | $con | Connection to use. |
BasePage::getPrimaryKey | ( | ) |
Returns the primary key for this object (row).
BasePage::getReferees | ( | ) |
BasePage::getRights | ( | $criteria = null , |
|
PropelPDO | $con = null |
||
) |
Gets an array of Right objects which contain a foreign key that references this object.
If the $criteria is not null, it is used to always fetch the results from the database. Otherwise the results are fetched from the database the first time, then cached. Next time the same method is called without $criteria, the cached collection is returned. If this Page is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
PropelException |
BasePage::getRightsJoinRole | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related Rights from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getRightsJoinUserRelatedByCreatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related Rights from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getRightsJoinUserRelatedByUpdatedBy | ( | $criteria = null , |
|
$con = null , |
|||
$join_behavior = Criteria::LEFT_JOIN |
|||
) |
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Page is new, it will return an empty collection; or if this Page has previously been saved, it will retrieve related Rights from storage.
This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Page.
Criteria | $criteria | optional Criteria object to narrow the query |
PropelPDO | $con | optional connection object |
string | $join_behavior | optional join type to use (defaults to Criteria::LEFT_JOIN) |
BasePage::getRightValue | ( | ) |
Proxy getter method for the right value of the nested set model. It provides a generic way to get the value, whatever the actual column name is.
BasePage::getSiblings | ( | $includeNode = false , |
|
$query = null , |
|||
PropelPDO | $con = null |
||
) |
Gets the siblings of the given node
bool | $includeNode | Whether to include the current node or not |
Criteria | $query | Criteria to filter results. |
PropelPDO | $con | Connection to use. |
BasePage::getTags | ( | ) |
BasePage::getTemplateName | ( | ) |
Get the [template_name] column value.
BasePage::getTreeLeft | ( | ) |
Get the [tree_left] column value.
BasePage::getTreeLevel | ( | ) |
Get the [tree_level] column value.
BasePage::getTreeRight | ( | ) |
Get the [tree_right] column value.
BasePage::getUpdatedAt | ( | $format = 'Y-m-d H:i:s' | ) |
Get the [optionally formatted] temporal [updated_at] column value.
string | $format | The date/time format string (either date()-style or strftime()-style). If format is null, then the raw DateTime object will be returned. |
PropelException | - if unable to parse/validate the date/time value. |
BasePage::getUpdatedAtFormatted | ( | $sLanguageId = null , |
|
$sFormatString = 'x' |
|||
) |
BasePage::getUpdatedAtTimestamp | ( | ) |
BasePage::getUpdatedBy | ( | ) |
Get the [updated_by] column value.
BasePage::getUserRelatedByCreatedBy | ( | PropelPDO | $con = null , |
$doQuery = true |
|||
) |
BasePage::getUserRelatedByUpdatedBy | ( | PropelPDO | $con = null , |
$doQuery = true |
|||
) |
BasePage::getValidationFailures | ( | ) |
Gets any ValidationFailed objects that resulted from last call to validate().
BasePage::hasChildren | ( | ) |
Tests if node has children
BasePage::hasNextSibling | ( | PropelPDO | $con = null | ) |
Determines if the node has next sibling
PropelPDO | $con | Connection to use. |
BasePage::hasOnlyDefaultValues | ( | ) |
Indicates whether the columns in this object are only set to default values.
This method can be used in conjunction with isModified() to indicate whether an object is both modified and has some values set which are non-default.
BasePage::hasParent | ( | PropelPDO | $con = null | ) |
Tests if object has an ancestor
PropelPDO | $con | Connection to use. |
BasePage::hasPrevSibling | ( | PropelPDO | $con = null | ) |
Determines if the node has previous sibling
PropelPDO | $con | Connection to use. |
BasePage::hydrate | ( | $row, | |
$startcol = 0 , |
|||
$rehydrate = false |
|||
) |
Hydrates (populates) the object variables with values from the database resultset.
An offset (0-based "start column") is specified so that objects can be hydrated with a subset of the columns in the resultset rows. This is needed, for example, for results of JOIN queries where the resultset row includes columns from two or more tables.
array | $row | The row returned by PDOStatement->fetch(PDO::FETCH_NUM) |
int | $startcol | 0-based offset column which indicates which resultset column to start with. |
boolean | $rehydrate | Whether this object is being re-hydrated from the database. |
PropelException | - Any caught Exception will be rewrapped as a PropelException. |
BasePage::initContentObjects | ( | $overrideExisting = true | ) |
Initializes the collContentObjects collection.
By default this just sets the collContentObjects collection to an empty array (like clearcollContentObjects()); however, you may wish to override this method in your stub class to provide setting appropriate to your application – for example, setting the initial array to the values stored in database.
boolean | $overrideExisting | If set to true, the method call initializes the collection even if it is not empty |
BasePage::initNestedSetChildren | ( | ) |
Initializes the $collNestedSetChildren collection.
BasePage::initPagePropertys | ( | $overrideExisting = true | ) |
Initializes the collPagePropertys collection.
By default this just sets the collPagePropertys collection to an empty array (like clearcollPagePropertys()); however, you may wish to override this method in your stub class to provide setting appropriate to your application – for example, setting the initial array to the values stored in database.
boolean | $overrideExisting | If set to true, the method call initializes the collection even if it is not empty |
BasePage::initPagesRelatedById | ( | $overrideExisting = true | ) |
Initializes the collPagesRelatedById collection.
By default this just sets the collPagesRelatedById collection to an empty array (like clearcollPagesRelatedById()); however, you may wish to override this method in your stub class to provide setting appropriate to your application – for example, setting the initial array to the values stored in database.
boolean | $overrideExisting | If set to true, the method call initializes the collection even if it is not empty |
BasePage::initPageStrings | ( | $overrideExisting = true | ) |
Initializes the collPageStrings collection.
By default this just sets the collPageStrings collection to an empty array (like clearcollPageStrings()); however, you may wish to override this method in your stub class to provide setting appropriate to your application – for example, setting the initial array to the values stored in database.
boolean | $overrideExisting | If set to true, the method call initializes the collection even if it is not empty |
BasePage::initRelation | ( | $relationName | ) |
Initializes a collection based on the name of a relation. Avoids crafting an 'init[$relationName]s' method name that wouldn't work when StandardEnglishPluralizer is used.
string | $relationName | The name of the relation to initialize |
BasePage::initRights | ( | $overrideExisting = true | ) |
Initializes the collRights collection.
By default this just sets the collRights collection to an empty array (like clearcollRights()); however, you may wish to override this method in your stub class to provide setting appropriate to your application – for example, setting the initial array to the values stored in database.
boolean | $overrideExisting | If set to true, the method call initializes the collection even if it is not empty |
BasePage::insertAsFirstChildOf | ( | $parent | ) |
BasePage::insertAsLastChildOf | ( | $parent | ) |
BasePage::insertAsNextSiblingOf | ( | $sibling | ) |
BasePage::insertAsPrevSiblingOf | ( | $sibling | ) |
BasePage::isAlreadyInSave | ( | ) |
return true is the object is in saving state
BasePage::isAncestorOf | ( | $child | ) |
BasePage::isDescendantOf | ( | $parent | ) |
BasePage::isInTree | ( | ) |
Tests if onbject is a node, i.e. if it is inserted in the tree
BasePage::isLeaf | ( | ) |
Tests if node is a leaf
BasePage::isPrimaryKeyNull | ( | ) |
Returns true if the primary key for this object is null.
BasePage::isRoot | ( | ) |
Tests if node is a root
BasePage::keepUpdateDateUnchanged | ( | ) |
Mark the current object so that the update date doesn't get updated during next save
BasePage::keepUpdateUserUnchanged | ( | ) |
Mark the current object so that the updated user doesn't get updated during next save
BasePage::makeRoot | ( | ) |
Creates the supplied node as the root node.
PropelException |
|
protected |
Move current node and its children to location $destLeft and updates rest of tree
int | $destLeft | Destination left value |
int | $levelDelta | Delta to add to the levels |
PropelPDO | $con | Connection to use. |
BasePage::moveToFirstChildOf | ( | $parent, | |
PropelPDO | $con = null |
||
) |
BasePage::moveToLastChildOf | ( | $parent, | |
PropelPDO | $con = null |
||
) |
BasePage::moveToNextSiblingOf | ( | $sibling, | |
PropelPDO | $con = null |
||
) |
BasePage::moveToPrevSiblingOf | ( | $sibling, | |
PropelPDO | $con = null |
||
) |
|
protected |
Execute queries that were saved to be run inside the save transaction
BasePage::reload | ( | $deep = false , |
|
PropelPDO | $con = null |
||
) |
Reloads this object from datastore based on primary key and (optionally) resets all associated objects.
This will only work if the object has been saved and has a valid primary key set.
boolean | $deep | (optional) Whether to also de-associated any related objects. |
PropelPDO | $con | (optional) The PropelPDO connection to use. |
PropelException | - if this object is deleted, unsaved or doesn't have pk match in db |
BasePage::removeAllTags | ( | ) |
Remove all tags from the current Page
|
static |
Remove all tags from the Page given by the id
BasePage::removeContentObject | ( | $contentObject | ) |
ContentObject | $contentObject | The contentObject object to remove. |
BasePage::removePageProperty | ( | $pageProperty | ) |
PageProperty | $pageProperty | The pageProperty object to remove. |
BasePage::removePageRelatedById | ( | $pageRelatedById | ) |
PageRelatedById | $pageRelatedById | The pageRelatedById object to remove. |
BasePage::removePageString | ( | $pageString | ) |
PageString | $pageString | The pageString object to remove. |
BasePage::removeRight | ( | $right | ) |
BasePage::removeTag | ( | $mTag | ) |
Remove tag from the current Page
|
static |
Remove tag from the Page given by the id
BasePage::resetPartialContentObjects | ( | $v = true | ) |
reset is the collContentObjects collection loaded partially
BasePage::resetPartialPagePropertys | ( | $v = true | ) |
reset is the collPagePropertys collection loaded partially
BasePage::resetPartialPagesRelatedById | ( | $v = true | ) |
reset is the collPagesRelatedById collection loaded partially
BasePage::resetPartialPageStrings | ( | $v = true | ) |
reset is the collPageStrings collection loaded partially
BasePage::resetPartialRights | ( | $v = true | ) |
reset is the collRights collection loaded partially
BasePage::save | ( | PropelPDO | $con = null | ) |
Persists this object to the database.
If the object is new, it inserts it; otherwise an update is performed. All modified related objects will also be persisted in the doSave() method. This method wraps all precipitate database operations in a single transaction.
PropelPDO | $con |
PropelException | |
Exception |
BasePage::setByName | ( | $name, | |
$value, | |||
$type = BasePeer::TYPE_PHPNAME |
|||
) |
Sets a field from the object by name passed in as a string.
string | $name | peer name |
mixed | $value | field value |
string | $type | The type of fieldname the $name is of: one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. Defaults to BasePeer::TYPE_PHPNAME |
BasePage::setByPosition | ( | $pos, | |
$value | |||
) |
Sets a field from the object by Position as specified in the xml schema. Zero-based.
int | $pos | position in xml schema |
mixed | $value | field value |
BasePage::setCanonicalId | ( | $v | ) |
Set the value of [canonical_id] column.
int | $v | new value |
BasePage::setContentObjects | ( | PropelCollection | $contentObjects, |
PropelPDO | $con = null |
||
) |
Sets a collection of ContentObject objects related by a one-to-many relationship to the current object. It will also schedule objects for deletion based on a diff between old objects (aka persisted) and new objects from the given Propel collection.
PropelCollection | $contentObjects | A Propel collection. |
PropelPDO | $con | Optional connection object |
BasePage::setCreatedAt | ( | $v | ) |
Sets the value of [created_at] column to a normalized version of the date/time value specified.
mixed | $v | string, integer (timestamp), or DateTime value. Empty strings are treated as null. |
BasePage::setCreatedBy | ( | $v | ) |
Set the value of [created_by] column.
int | $v | new value |
BasePage::setId | ( | $v | ) |
Set the value of [id] column.
int | $v | new value |
BasePage::setIdentifier | ( | $v | ) |
Set the value of [identifier] column.
string | $v | new value |
BasePage::setIsFolder | ( | $v | ) |
Sets the value of the [is_folder] column. Non-boolean arguments are converted using the following rules:
boolean | integer | string | $v | The new value |
BasePage::setIsHidden | ( | $v | ) |
Sets the value of the [is_hidden] column. Non-boolean arguments are converted using the following rules:
boolean | integer | string | $v | The new value |
BasePage::setIsInactive | ( | $v | ) |
Sets the value of the [is_inactive] column. Non-boolean arguments are converted using the following rules:
boolean | integer | string | $v | The new value |
BasePage::setIsProtected | ( | $v | ) |
Sets the value of the [is_protected] column. Non-boolean arguments are converted using the following rules:
boolean | integer | string | $v | The new value |
BasePage::setLeftValue | ( | $v | ) |
Proxy setter method for the left value of the nested set model. It provides a generic way to set the value, whatever the actual column name is.
int | $v | The nested set left value |
BasePage::setLevel | ( | $v | ) |
Proxy setter method for the level value of the nested set model. It provides a generic way to set the value, whatever the actual column name is.
int | $v | The nested set level value |
BasePage::setName | ( | $v | ) |
Set the value of [name] column.
string | $v | new value |
BasePage::setPagePropertys | ( | PropelCollection | $pagePropertys, |
PropelPDO | $con = null |
||
) |
Sets a collection of PageProperty objects related by a one-to-many relationship to the current object. It will also schedule objects for deletion based on a diff between old objects (aka persisted) and new objects from the given Propel collection.
PropelCollection | $pagePropertys | A Propel collection. |
PropelPDO | $con | Optional connection object |
BasePage::setPageRelatedByCanonicalId | ( | Page | $v = null | ) |
BasePage::setPagesRelatedById | ( | PropelCollection | $pagesRelatedById, |
PropelPDO | $con = null |
||
) |
Sets a collection of PageRelatedById objects related by a one-to-many relationship to the current object. It will also schedule objects for deletion based on a diff between old objects (aka persisted) and new objects from the given Propel collection.
PropelCollection | $pagesRelatedById | A Propel collection. |
PropelPDO | $con | Optional connection object |
BasePage::setPageStrings | ( | PropelCollection | $pageStrings, |
PropelPDO | $con = null |
||
) |
Sets a collection of PageString objects related by a one-to-many relationship to the current object. It will also schedule objects for deletion based on a diff between old objects (aka persisted) and new objects from the given Propel collection.
PropelCollection | $pageStrings | A Propel collection. |
PropelPDO | $con | Optional connection object |
BasePage::setPageType | ( | $v | ) |
Set the value of [page_type] column.
string | $v | new value |
BasePage::setParent | ( | $parent = null | ) |
Sets the cache for parent node of the current object. Warning: this does not move the current object in the tree. Use moveTofirstChildOf() or moveToLastChildOf() for that purpose
Page | $parent |
BasePage::setPrimaryKey | ( | $key | ) |
Generic method to set the primary key (id column).
int | $key | Primary key. |
BasePage::setRights | ( | PropelCollection | $rights, |
PropelPDO | $con = null |
||
) |
Sets a collection of Right objects related by a one-to-many relationship to the current object. It will also schedule objects for deletion based on a diff between old objects (aka persisted) and new objects from the given Propel collection.
PropelCollection | $rights | A Propel collection. |
PropelPDO | $con | Optional connection object |
BasePage::setRightValue | ( | $v | ) |
Proxy setter method for the right value of the nested set model. It provides a generic way to set the value, whatever the actual column name is.
int | $v | The nested set right value |
BasePage::setTemplateName | ( | $v | ) |
Set the value of [template_name] column.
string | $v | new value |
BasePage::setTreeLeft | ( | $v | ) |
Set the value of [tree_left] column.
int | $v | new value |
BasePage::setTreeLevel | ( | $v | ) |
Set the value of [tree_level] column.
int | $v | new value |
BasePage::setTreeRight | ( | $v | ) |
Set the value of [tree_right] column.
int | $v | new value |
BasePage::setUpdatedAt | ( | $v | ) |
Sets the value of [updated_at] column to a normalized version of the date/time value specified.
mixed | $v | string, integer (timestamp), or DateTime value. Empty strings are treated as null. |
BasePage::setUpdatedBy | ( | $v | ) |
Set the value of [updated_by] column.
int | $v | new value |
BasePage::setUserRelatedByCreatedBy | ( | User | $v = null | ) |
BasePage::setUserRelatedByUpdatedBy | ( | User | $v = null | ) |
BasePage::tags | ( | $sReturn = 'tag' | ) |
|
static |
BasePage::toArray | ( | $keyType = BasePeer::TYPE_PHPNAME , |
|
$includeLazyLoadColumns = true , |
|||
$alreadyDumpedObjects = array() , |
|||
$includeForeignObjects = false |
|||
) |
Exports the object as an array.
You can specify the key type of the array by passing one of the class type constants.
string | $keyType | (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. Defaults to BasePeer::TYPE_PHPNAME. |
boolean | $includeLazyLoadColumns | (optional) Whether to include lazy loaded columns. Defaults to true. |
array | $alreadyDumpedObjects | List of objects to skip to avoid recursion |
boolean | $includeForeignObjects | (optional) Whether to include hydrated related objects. Default to FALSE. |
BasePage::validate | ( | $columns = null | ) |
Validates the objects modified field values and all objects related to this table.
If $columns is either a column name or an array of column names only those columns are validated.
mixed | $columns | Column name or an array of column names. |
const BasePage::PEER = 'PagePeer' |
Peer class name