rapila
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
BaseLanguage Class Reference
Inheritance diagram for BaseLanguage:
Language

Public Member Functions

 getId ()
 
 getPathPrefix ()
 
 getIsActive ()
 
 getSort ()
 
 getCreatedAt ($format= 'Y-m-d H:i:s')
 
 getUpdatedAt ($format= 'Y-m-d H:i:s')
 
 getCreatedBy ()
 
 getUpdatedBy ()
 
 setId ($v)
 
 setPathPrefix ($v)
 
 setIsActive ($v)
 
 setSort ($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 ()
 
 setUserRelatedByCreatedBy (User $v=null)
 
 getUserRelatedByCreatedBy (PropelPDO $con=null, $doQuery=true)
 
 setUserRelatedByUpdatedBy (User $v=null)
 
 getUserRelatedByUpdatedBy (PropelPDO $con=null, $doQuery=true)
 
 initRelation ($relationName)
 
 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)
 
 getPageStringsJoinPage ($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)
 
 clearLanguageObjects ()
 
 resetPartialLanguageObjects ($v=true)
 
 initLanguageObjects ($overrideExisting=true)
 
 getLanguageObjects ($criteria=null, PropelPDO $con=null)
 
 setLanguageObjects (PropelCollection $languageObjects, PropelPDO $con=null)
 
 countLanguageObjects (Criteria $criteria=null, $distinct=false, PropelPDO $con=null)
 
 addLanguageObject (LanguageObject $l)
 
 removeLanguageObject ($languageObject)
 
 getLanguageObjectsJoinContentObject ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getLanguageObjectsJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getLanguageObjectsJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 clearLanguageObjectHistorys ()
 
 resetPartialLanguageObjectHistorys ($v=true)
 
 initLanguageObjectHistorys ($overrideExisting=true)
 
 getLanguageObjectHistorys ($criteria=null, PropelPDO $con=null)
 
 setLanguageObjectHistorys (PropelCollection $languageObjectHistorys, PropelPDO $con=null)
 
 countLanguageObjectHistorys (Criteria $criteria=null, $distinct=false, PropelPDO $con=null)
 
 addLanguageObjectHistory (LanguageObjectHistory $l)
 
 removeLanguageObjectHistory ($languageObjectHistory)
 
 getLanguageObjectHistorysJoinContentObject ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getLanguageObjectHistorysJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getLanguageObjectHistorysJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 clearTranslations ()
 
 resetPartialTranslations ($v=true)
 
 initTranslations ($overrideExisting=true)
 
 getTranslations ($criteria=null, PropelPDO $con=null)
 
 setTranslations (PropelCollection $translations, PropelPDO $con=null)
 
 countTranslations (Criteria $criteria=null, $distinct=false, PropelPDO $con=null)
 
 addTranslation (Translation $l)
 
 removeTranslation ($translation)
 
 getTranslationsJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getTranslationsJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 clearUsersRelatedByLanguageId ()
 
 resetPartialUsersRelatedByLanguageId ($v=true)
 
 initUsersRelatedByLanguageId ($overrideExisting=true)
 
 getUsersRelatedByLanguageId ($criteria=null, PropelPDO $con=null)
 
 setUsersRelatedByLanguageId (PropelCollection $usersRelatedByLanguageId, PropelPDO $con=null)
 
 countUsersRelatedByLanguageId (Criteria $criteria=null, $distinct=false, PropelPDO $con=null)
 
 addUserRelatedByLanguageId (User $l)
 
 removeUserRelatedByLanguageId ($userRelatedByLanguageId)
 
 clearDocuments ()
 
 resetPartialDocuments ($v=true)
 
 initDocuments ($overrideExisting=true)
 
 getDocuments ($criteria=null, PropelPDO $con=null)
 
 setDocuments (PropelCollection $documents, PropelPDO $con=null)
 
 countDocuments (Criteria $criteria=null, $distinct=false, PropelPDO $con=null)
 
 addDocument (Document $l)
 
 removeDocument ($document)
 
 getDocumentsJoinUserRelatedByOwnerId ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getDocumentsJoinDocumentType ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getDocumentsJoinDocumentCategory ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getDocumentsJoinDocumentData ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getDocumentsJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getDocumentsJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 clearLinks ()
 
 resetPartialLinks ($v=true)
 
 initLinks ($overrideExisting=true)
 
 getLinks ($criteria=null, PropelPDO $con=null)
 
 setLinks (PropelCollection $links, PropelPDO $con=null)
 
 countLinks (Criteria $criteria=null, $distinct=false, PropelPDO $con=null)
 
 addLink (Link $l)
 
 removeLink ($link)
 
 getLinksJoinUserRelatedByOwnerId ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getLinksJoinLinkCategory ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getLinksJoinUserRelatedByCreatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 getLinksJoinUserRelatedByUpdatedBy ($criteria=null, $con=null, $join_behavior=Criteria::LEFT_JOIN)
 
 clear ()
 
 clearAllReferences ($deep=false)
 
 __toString ()
 
 isAlreadyInSave ()
 
 keepUpdateDateUnchanged ()
 
 getCreatedAtTimestamp ()
 
 getCreatedAtFormatted ($sLanguageId=null, $sFormatString= 'x')
 
 getUpdatedAtTimestamp ()
 
 getUpdatedAtFormatted ($sLanguageId=null, $sFormatString= 'x')
 
 keepUpdateUserUnchanged ()
 
 mayOperate ($sOperation, $oUser=false)
 
 mayBeInserted ($oUser=false)
 
 mayBeUpdated ($oUser=false)
 
 mayBeDeleted ($oUser=false)
 
 getPKArray ()
 
 getPKString ()
 

Public Attributes

const PEER = 'LanguagePeer'
 

Protected Member Functions

 doSave (PropelPDO $con)
 
 doInsert (PropelPDO $con)
 
 doUpdate (PropelPDO $con)
 
 doValidate ($columns=null)
 
 doAddPageString ($pageString)
 
 doAddLanguageObject ($languageObject)
 
 doAddLanguageObjectHistory ($languageObjectHistory)
 
 doAddTranslation ($translation)
 
 doAddUserRelatedByLanguageId ($userRelatedByLanguageId)
 
 doAddDocument ($document)
 
 doAddLink ($link)
 

Protected Attributes

 $startCopy = false
 
 $id
 
 $path_prefix
 
 $is_active
 
 $sort
 
 $created_at
 
 $updated_at
 
 $created_by
 
 $updated_by
 
 $aUserRelatedByCreatedBy
 
 $aUserRelatedByUpdatedBy
 
 $collPageStrings
 
 $collPageStringsPartial
 
 $collLanguageObjects
 
 $collLanguageObjectsPartial
 
 $collLanguageObjectHistorys
 
 $collLanguageObjectHistorysPartial
 
 $collTranslations
 
 $collTranslationsPartial
 
 $collUsersRelatedByLanguageId
 
 $collUsersRelatedByLanguageIdPartial
 
 $collDocuments
 
 $collDocumentsPartial
 
 $collLinks
 
 $collLinksPartial
 
 $alreadyInSave = false
 
 $alreadyInValidation = false
 
 $alreadyInClearAllReferencesDeep = false
 
 $pageStringsScheduledForDeletion = null
 
 $languageObjectsScheduledForDeletion = null
 
 $languageObjectHistorysScheduledForDeletion = null
 
 $translationsScheduledForDeletion = null
 
 $usersRelatedByLanguageIdScheduledForDeletion = null
 
 $documentsScheduledForDeletion = null
 
 $linksScheduledForDeletion = null
 
 $validationFailures = array()
 

Static Protected Attributes

static $peer
 

Member Function Documentation

BaseLanguage::__toString ( )

return the string representation of this object

Returns
string
BaseLanguage::addDocument ( Document  $l)

Method called to associate a Document object to this object through the Document foreign key attribute.

Parameters
Document$lDocument
Returns
Language The current object (for fluent API support)
BaseLanguage::addLanguageObject ( LanguageObject  $l)

Method called to associate a LanguageObject object to this object through the LanguageObject foreign key attribute.

Parameters
LanguageObject$lLanguageObject
Returns
Language The current object (for fluent API support)
BaseLanguage::addLanguageObjectHistory ( LanguageObjectHistory  $l)

Method called to associate a LanguageObjectHistory object to this object through the LanguageObjectHistory foreign key attribute.

Parameters
LanguageObjectHistory$lLanguageObjectHistory
Returns
Language The current object (for fluent API support)
BaseLanguage::addLink ( Link  $l)

Method called to associate a Link object to this object through the Link foreign key attribute.

Parameters
Link$lLink
Returns
Language The current object (for fluent API support)
BaseLanguage::addPageString ( PageString  $l)

Method called to associate a PageString object to this object through the PageString foreign key attribute.

Parameters
PageString$lPageString
Returns
Language The current object (for fluent API support)
BaseLanguage::addTranslation ( Translation  $l)

Method called to associate a Translation object to this object through the Translation foreign key attribute.

Parameters
Translation$lTranslation
Returns
Language The current object (for fluent API support)
BaseLanguage::addUserRelatedByLanguageId ( User  $l)

Method called to associate a User object to this object through the User foreign key attribute.

Parameters
User$lUser
Returns
Language The current object (for fluent API support)
BaseLanguage::buildCriteria ( )

Build a Criteria object containing the values of all modified columns in this object.

Returns
Criteria The Criteria object containing all modified values.
BaseLanguage::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.

Returns
Criteria The Criteria object containing value(s) for primary key(s).
BaseLanguage::clear ( )

Clears the current object and sets all attributes to their default values

BaseLanguage::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.

Parameters
boolean$deepWhether to also clear the references on all referrer objects.
BaseLanguage::clearDocuments ( )

Clears out the collDocuments 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.

Returns
Language The current object (for fluent API support)
See also
addDocuments()
BaseLanguage::clearLanguageObjectHistorys ( )

Clears out the collLanguageObjectHistorys 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.

Returns
Language The current object (for fluent API support)
See also
addLanguageObjectHistorys()
BaseLanguage::clearLanguageObjects ( )

Clears out the collLanguageObjects 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.

Returns
Language The current object (for fluent API support)
See also
addLanguageObjects()
BaseLanguage::clearLinks ( )

Clears out the collLinks 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.

Returns
Language The current object (for fluent API support)
See also
addLinks()
BaseLanguage::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.

Returns
Language The current object (for fluent API support)
See also
addPageStrings()
BaseLanguage::clearTranslations ( )

Clears out the collTranslations 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.

Returns
Language The current object (for fluent API support)
See also
addTranslations()
BaseLanguage::clearUsersRelatedByLanguageId ( )

Clears out the collUsersRelatedByLanguageId 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.

Returns
Language The current object (for fluent API support)
See also
addUsersRelatedByLanguageId()
BaseLanguage::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.

Parameters
boolean$deepCopyWhether to also copy all rows that refer (by fkey) to the current row.
Returns
Language Clone of current object.
Exceptions
PropelException
BaseLanguage::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.

Parameters
object$copyObjAn object of Language (or compatible) type.
boolean$deepCopyWhether to also copy all rows that refer (by fkey) to the current row.
boolean$makeNewWhether to reset autoincrement PKs and make the object new.
Exceptions
PropelException
BaseLanguage::countDocuments ( Criteria  $criteria = null,
  $distinct = false,
PropelPDO  $con = null 
)

Returns the number of related Document objects.

Parameters
Criteria$criteria
boolean$distinct
PropelPDO$con
Returns
int Count of related Document objects.
Exceptions
PropelException
BaseLanguage::countLanguageObjectHistorys ( Criteria  $criteria = null,
  $distinct = false,
PropelPDO  $con = null 
)

Returns the number of related LanguageObjectHistory objects.

Parameters
Criteria$criteria
boolean$distinct
PropelPDO$con
Returns
int Count of related LanguageObjectHistory objects.
Exceptions
PropelException
BaseLanguage::countLanguageObjects ( Criteria  $criteria = null,
  $distinct = false,
PropelPDO  $con = null 
)

Returns the number of related LanguageObject objects.

Parameters
Criteria$criteria
boolean$distinct
PropelPDO$con
Returns
int Count of related LanguageObject objects.
Exceptions
PropelException
BaseLanguage::countLinks ( Criteria  $criteria = null,
  $distinct = false,
PropelPDO  $con = null 
)

Returns the number of related Link objects.

Parameters
Criteria$criteria
boolean$distinct
PropelPDO$con
Returns
int Count of related Link objects.
Exceptions
PropelException
BaseLanguage::countPageStrings ( Criteria  $criteria = null,
  $distinct = false,
PropelPDO  $con = null 
)

Returns the number of related PageString objects.

Parameters
Criteria$criteria
boolean$distinct
PropelPDO$con
Returns
int Count of related PageString objects.
Exceptions
PropelException
BaseLanguage::countTranslations ( Criteria  $criteria = null,
  $distinct = false,
PropelPDO  $con = null 
)

Returns the number of related Translation objects.

Parameters
Criteria$criteria
boolean$distinct
PropelPDO$con
Returns
int Count of related Translation objects.
Exceptions
PropelException
BaseLanguage::countUsersRelatedByLanguageId ( Criteria  $criteria = null,
  $distinct = false,
PropelPDO  $con = null 
)

Returns the number of related User objects.

Parameters
Criteria$criteria
boolean$distinct
PropelPDO$con
Returns
int Count of related User objects.
Exceptions
PropelException
BaseLanguage::delete ( PropelPDO  $con = null)

Removes this object from datastore and sets delete attribute.

Parameters
PropelPDO$con
Returns
void
Exceptions
PropelException
Exception
See also
BaseObject::setDeleted()
BaseObject::isDeleted()
BaseLanguage::doAddDocument (   $document)
protected
Parameters
Document$documentThe document object to add.
BaseLanguage::doAddLanguageObject (   $languageObject)
protected
Parameters
LanguageObject$languageObjectThe languageObject object to add.
BaseLanguage::doAddLanguageObjectHistory (   $languageObjectHistory)
protected
Parameters
LanguageObjectHistory$languageObjectHistoryThe languageObjectHistory object to add.
BaseLanguage::doAddLink (   $link)
protected
Parameters
Link$linkThe link object to add.
BaseLanguage::doAddPageString (   $pageString)
protected
Parameters
PageString$pageStringThe pageString object to add.
BaseLanguage::doAddTranslation (   $translation)
protected
Parameters
Translation$translationThe translation object to add.
BaseLanguage::doAddUserRelatedByLanguageId (   $userRelatedByLanguageId)
protected
Parameters
UserRelatedByLanguageId$userRelatedByLanguageIdThe userRelatedByLanguageId object to add.
BaseLanguage::doInsert ( PropelPDO  $con)
protected

Insert the row in the database.

Parameters
PropelPDO$con
Exceptions
PropelException
See also
doSave()
BaseLanguage::doSave ( PropelPDO  $con)
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.

Parameters
PropelPDO$con
Returns
int The number of rows affected by this insert/update and any referring fk objects' save() operations.
Exceptions
PropelException
See also
save()
BaseLanguage::doUpdate ( PropelPDO  $con)
protected

Update the row in the database.

Parameters
PropelPDO$con
See also
doSave()
BaseLanguage::doValidate (   $columns = null)
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.

Parameters
array$columnsArray of column names to validate.
Returns
mixed true if all validations pass; array of ValidationFailed objects otherwise.
BaseLanguage::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.

Exceptions
PropelException
BaseLanguage::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

Parameters
array$arrAn array to populate the object from.
string$keyTypeThe type of keys the array uses.
Returns
void
BaseLanguage::getByName (   $name,
  $type = BasePeer::TYPE_PHPNAME 
)

Retrieves a field from the object by name passed in as a string.

Parameters
string$namename
string$typeThe 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
Returns
mixed Value of field.
BaseLanguage::getByPosition (   $pos)

Retrieves a field from the object by Position as specified in the xml schema. Zero-based.

Parameters
int$posposition in xml schema
Returns
mixed Value of field at $pos
BaseLanguage::getCreatedAt (   $format = 'Y-m-d H:i:s')

Get the [optionally formatted] temporal [created_at] column value.

Parameters
string$formatThe date/time format string (either date()-style or strftime()-style). If format is null, then the raw DateTime object will be returned.
Returns
mixed Formatted date/time value as string or DateTime object (if format is null), null if column is null, and 0 if column value is 0000-00-00 00:00:00
Exceptions
PropelException- if unable to parse/validate the date/time value.
BaseLanguage::getCreatedAtFormatted (   $sLanguageId = null,
  $sFormatString = 'x' 
)
Returns
created_at formatted to the current locale
BaseLanguage::getCreatedAtTimestamp ( )
Returns
created_at as int (timestamp)
BaseLanguage::getCreatedBy ( )

Get the [created_by] column value.

Returns
int
BaseLanguage::getDocuments (   $criteria = null,
PropelPDO  $con = null 
)

Gets an array of Document 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 Language is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
Returns
PropelObjectCollection|Document[] List of Document objects
Exceptions
PropelException
BaseLanguage::getDocumentsJoinDocumentCategory (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Documents 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Document[] List of Document objects
BaseLanguage::getDocumentsJoinDocumentData (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Documents 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Document[] List of Document objects
BaseLanguage::getDocumentsJoinDocumentType (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Documents 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Document[] List of Document objects
BaseLanguage::getDocumentsJoinUserRelatedByCreatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Documents 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Document[] List of Document objects
BaseLanguage::getDocumentsJoinUserRelatedByOwnerId (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Documents 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Document[] List of Document objects
BaseLanguage::getDocumentsJoinUserRelatedByUpdatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Documents 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Document[] List of Document objects
BaseLanguage::getId ( )

Get the [id] column value.

Returns
string
BaseLanguage::getIsActive ( )

Get the [is_active] column value.

Returns
boolean
BaseLanguage::getLanguageObjectHistorys (   $criteria = null,
PropelPDO  $con = null 
)

Gets an array of LanguageObjectHistory 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 Language is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
Returns
PropelObjectCollection|LanguageObjectHistory[] List of LanguageObjectHistory objects
Exceptions
PropelException
BaseLanguage::getLanguageObjectHistorysJoinContentObject (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related LanguageObjectHistorys 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|LanguageObjectHistory[] List of LanguageObjectHistory objects
BaseLanguage::getLanguageObjectHistorysJoinUserRelatedByCreatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related LanguageObjectHistorys 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|LanguageObjectHistory[] List of LanguageObjectHistory objects
BaseLanguage::getLanguageObjectHistorysJoinUserRelatedByUpdatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related LanguageObjectHistorys 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|LanguageObjectHistory[] List of LanguageObjectHistory objects
BaseLanguage::getLanguageObjects (   $criteria = null,
PropelPDO  $con = null 
)

Gets an array of LanguageObject 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 Language is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
Returns
PropelObjectCollection|LanguageObject[] List of LanguageObject objects
Exceptions
PropelException
BaseLanguage::getLanguageObjectsJoinContentObject (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related LanguageObjects 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|LanguageObject[] List of LanguageObject objects
BaseLanguage::getLanguageObjectsJoinUserRelatedByCreatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related LanguageObjects 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|LanguageObject[] List of LanguageObject objects
BaseLanguage::getLanguageObjectsJoinUserRelatedByUpdatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related LanguageObjects 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|LanguageObject[] List of LanguageObject objects
BaseLanguage::getLinks (   $criteria = null,
PropelPDO  $con = null 
)

Gets an array of Link 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 Language is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
Returns
PropelObjectCollection|Link[] List of Link objects
Exceptions
PropelException
BaseLanguage::getLinksJoinLinkCategory (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Links 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Link[] List of Link objects
BaseLanguage::getLinksJoinUserRelatedByCreatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Links 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Link[] List of Link objects
BaseLanguage::getLinksJoinUserRelatedByOwnerId (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Links 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Link[] List of Link objects
BaseLanguage::getLinksJoinUserRelatedByUpdatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Links 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Link[] List of Link objects
BaseLanguage::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 Language is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
Returns
PropelObjectCollection|PageString[] List of PageString objects
Exceptions
PropelException
BaseLanguage::getPageStringsJoinPage (   $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 Language is new, it will return an empty collection; or if this Language 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|PageString[] List of PageString objects
BaseLanguage::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 Language is new, it will return an empty collection; or if this Language 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|PageString[] List of PageString objects
BaseLanguage::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 Language is new, it will return an empty collection; or if this Language 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|PageString[] List of PageString objects
BaseLanguage::getPathPrefix ( )

Get the [path_prefix] column value.

Returns
string
BaseLanguage::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.

Returns
LanguagePeer
BaseLanguage::getPKArray ( )
Returns
the primary key as an array (even for non-composite keys)
BaseLanguage::getPKString ( )
Returns
the composite primary key as a string, separated by _
BaseLanguage::getPrimaryKey ( )

Returns the primary key for this object (row).

Returns
string
BaseLanguage::getSort ( )

Get the [sort] column value.

Returns
int
BaseLanguage::getTranslations (   $criteria = null,
PropelPDO  $con = null 
)

Gets an array of Translation 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 Language is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
Returns
PropelObjectCollection|Translation[] List of Translation objects
Exceptions
PropelException
BaseLanguage::getTranslationsJoinUserRelatedByCreatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Translations 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Translation[] List of Translation objects
BaseLanguage::getTranslationsJoinUserRelatedByUpdatedBy (   $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 Language is new, it will return an empty collection; or if this Language has previously been saved, it will retrieve related Translations 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 Language.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
string$join_behavioroptional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
PropelObjectCollection|Translation[] List of Translation objects
BaseLanguage::getUpdatedAt (   $format = 'Y-m-d H:i:s')

Get the [optionally formatted] temporal [updated_at] column value.

Parameters
string$formatThe date/time format string (either date()-style or strftime()-style). If format is null, then the raw DateTime object will be returned.
Returns
mixed Formatted date/time value as string or DateTime object (if format is null), null if column is null, and 0 if column value is 0000-00-00 00:00:00
Exceptions
PropelException- if unable to parse/validate the date/time value.
BaseLanguage::getUpdatedAtFormatted (   $sLanguageId = null,
  $sFormatString = 'x' 
)
Returns
updated_at formatted to the current locale
BaseLanguage::getUpdatedAtTimestamp ( )
Returns
updated_at as int (timestamp)
BaseLanguage::getUpdatedBy ( )

Get the [updated_by] column value.

Returns
int
BaseLanguage::getUserRelatedByCreatedBy ( PropelPDO  $con = null,
  $doQuery = true 
)

Get the associated User object

Parameters
PropelPDO$conOptional Connection object.
$doQueryExecutes a query to get the object if required
Returns
User The associated User object.
Exceptions
PropelException
BaseLanguage::getUserRelatedByUpdatedBy ( PropelPDO  $con = null,
  $doQuery = true 
)

Get the associated User object

Parameters
PropelPDO$conOptional Connection object.
$doQueryExecutes a query to get the object if required
Returns
User The associated User object.
Exceptions
PropelException
BaseLanguage::getUsersRelatedByLanguageId (   $criteria = null,
PropelPDO  $con = null 
)

Gets an array of User 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 Language is new, it will return an empty collection or the current collection; the criteria is ignored on a new object.

Parameters
Criteria$criteriaoptional Criteria object to narrow the query
PropelPDO$conoptional connection object
Returns
PropelObjectCollection|User[] List of User objects
Exceptions
PropelException
BaseLanguage::getValidationFailures ( )

Gets any ValidationFailed objects that resulted from last call to validate().

Returns
array ValidationFailed[]
See also
validate()
BaseLanguage::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.

Returns
boolean Whether the columns in this object are only been set with default values.
BaseLanguage::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.

Parameters
array$rowThe row returned by PDOStatement->fetch(PDO::FETCH_NUM)
int$startcol0-based offset column which indicates which resultset column to start with.
boolean$rehydrateWhether this object is being re-hydrated from the database.
Returns
int next starting column
Exceptions
PropelException- Any caught Exception will be rewrapped as a PropelException.
BaseLanguage::initDocuments (   $overrideExisting = true)

Initializes the collDocuments collection.

By default this just sets the collDocuments collection to an empty array (like clearcollDocuments()); 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.

Parameters
boolean$overrideExistingIf set to true, the method call initializes the collection even if it is not empty
Returns
void
BaseLanguage::initLanguageObjectHistorys (   $overrideExisting = true)

Initializes the collLanguageObjectHistorys collection.

By default this just sets the collLanguageObjectHistorys collection to an empty array (like clearcollLanguageObjectHistorys()); 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.

Parameters
boolean$overrideExistingIf set to true, the method call initializes the collection even if it is not empty
Returns
void
BaseLanguage::initLanguageObjects (   $overrideExisting = true)

Initializes the collLanguageObjects collection.

By default this just sets the collLanguageObjects collection to an empty array (like clearcollLanguageObjects()); 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.

Parameters
boolean$overrideExistingIf set to true, the method call initializes the collection even if it is not empty
Returns
void
BaseLanguage::initLinks (   $overrideExisting = true)

Initializes the collLinks collection.

By default this just sets the collLinks collection to an empty array (like clearcollLinks()); 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.

Parameters
boolean$overrideExistingIf set to true, the method call initializes the collection even if it is not empty
Returns
void
BaseLanguage::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.

Parameters
boolean$overrideExistingIf set to true, the method call initializes the collection even if it is not empty
Returns
void
BaseLanguage::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.

Parameters
string$relationNameThe name of the relation to initialize
Returns
void
BaseLanguage::initTranslations (   $overrideExisting = true)

Initializes the collTranslations collection.

By default this just sets the collTranslations collection to an empty array (like clearcollTranslations()); 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.

Parameters
boolean$overrideExistingIf set to true, the method call initializes the collection even if it is not empty
Returns
void
BaseLanguage::initUsersRelatedByLanguageId (   $overrideExisting = true)

Initializes the collUsersRelatedByLanguageId collection.

By default this just sets the collUsersRelatedByLanguageId collection to an empty array (like clearcollUsersRelatedByLanguageId()); 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.

Parameters
boolean$overrideExistingIf set to true, the method call initializes the collection even if it is not empty
Returns
void
BaseLanguage::isAlreadyInSave ( )

return true is the object is in saving state

Returns
boolean
BaseLanguage::isPrimaryKeyNull ( )

Returns true if the primary key for this object is null.

Returns
boolean
BaseLanguage::keepUpdateDateUnchanged ( )

Mark the current object so that the update date doesn't get updated during next save

Returns
Language The current object (for fluent API support)
BaseLanguage::keepUpdateUserUnchanged ( )

Mark the current object so that the updated user doesn't get updated during next save

Returns
Language The current object (for fluent API support)
BaseLanguage::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.

Parameters
boolean$deep(optional) Whether to also de-associated any related objects.
PropelPDO$con(optional) The PropelPDO connection to use.
Returns
void
Exceptions
PropelException- if this object is deleted, unsaved or doesn't have pk match in db
BaseLanguage::removeDocument (   $document)
Parameters
Document$documentThe document object to remove.
Returns
Language The current object (for fluent API support)
BaseLanguage::removeLanguageObject (   $languageObject)
Parameters
LanguageObject$languageObjectThe languageObject object to remove.
Returns
Language The current object (for fluent API support)
BaseLanguage::removeLanguageObjectHistory (   $languageObjectHistory)
Parameters
LanguageObjectHistory$languageObjectHistoryThe languageObjectHistory object to remove.
Returns
Language The current object (for fluent API support)
BaseLanguage::removeLink (   $link)
Parameters
Link$linkThe link object to remove.
Returns
Language The current object (for fluent API support)
BaseLanguage::removePageString (   $pageString)
Parameters
PageString$pageStringThe pageString object to remove.
Returns
Language The current object (for fluent API support)
BaseLanguage::removeTranslation (   $translation)
Parameters
Translation$translationThe translation object to remove.
Returns
Language The current object (for fluent API support)
BaseLanguage::removeUserRelatedByLanguageId (   $userRelatedByLanguageId)
Parameters
UserRelatedByLanguageId$userRelatedByLanguageIdThe userRelatedByLanguageId object to remove.
Returns
Language The current object (for fluent API support)
BaseLanguage::resetPartialDocuments (   $v = true)

reset is the collDocuments collection loaded partially

Returns
void
BaseLanguage::resetPartialLanguageObjectHistorys (   $v = true)

reset is the collLanguageObjectHistorys collection loaded partially

Returns
void
BaseLanguage::resetPartialLanguageObjects (   $v = true)

reset is the collLanguageObjects collection loaded partially

Returns
void
BaseLanguage::resetPartialLinks (   $v = true)

reset is the collLinks collection loaded partially

Returns
void
BaseLanguage::resetPartialPageStrings (   $v = true)

reset is the collPageStrings collection loaded partially

Returns
void
BaseLanguage::resetPartialTranslations (   $v = true)

reset is the collTranslations collection loaded partially

Returns
void
BaseLanguage::resetPartialUsersRelatedByLanguageId (   $v = true)

reset is the collUsersRelatedByLanguageId collection loaded partially

Returns
void
BaseLanguage::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.

Parameters
PropelPDO$con
Returns
int The number of rows affected by this insert/update and any referring fk objects' save() operations.
Exceptions
PropelException
Exception
See also
doSave()
BaseLanguage::setByName (   $name,
  $value,
  $type = BasePeer::TYPE_PHPNAME 
)

Sets a field from the object by name passed in as a string.

Parameters
string$namepeer name
mixed$valuefield value
string$typeThe 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
Returns
void
BaseLanguage::setByPosition (   $pos,
  $value 
)

Sets a field from the object by Position as specified in the xml schema. Zero-based.

Parameters
int$posposition in xml schema
mixed$valuefield value
Returns
void
BaseLanguage::setCreatedAt (   $v)

Sets the value of [created_at] column to a normalized version of the date/time value specified.

Parameters
mixed$vstring, integer (timestamp), or DateTime value. Empty strings are treated as null.
Returns
Language The current object (for fluent API support)
BaseLanguage::setCreatedBy (   $v)

Set the value of [created_by] column.

Parameters
int$vnew value
Returns
Language The current object (for fluent API support)
BaseLanguage::setDocuments ( PropelCollection  $documents,
PropelPDO  $con = null 
)

Sets a collection of Document 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.

Parameters
PropelCollection$documentsA Propel collection.
PropelPDO$conOptional connection object
Returns
Language The current object (for fluent API support)
BaseLanguage::setId (   $v)

Set the value of [id] column.

Parameters
string$vnew value
Returns
Language The current object (for fluent API support)
BaseLanguage::setIsActive (   $v)

Sets the value of the [is_active] column. Non-boolean arguments are converted using the following rules:

  • 1, '1', 'true', 'on', and 'yes' are converted to boolean true
  • 0, '0', 'false', 'off', and 'no' are converted to boolean false Check on string values is case insensitive (so 'FaLsE' is seen as 'false').
Parameters
boolean | integer | string$vThe new value
Returns
Language The current object (for fluent API support)
BaseLanguage::setLanguageObjectHistorys ( PropelCollection  $languageObjectHistorys,
PropelPDO  $con = null 
)

Sets a collection of LanguageObjectHistory 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.

Parameters
PropelCollection$languageObjectHistorysA Propel collection.
PropelPDO$conOptional connection object
Returns
Language The current object (for fluent API support)
BaseLanguage::setLanguageObjects ( PropelCollection  $languageObjects,
PropelPDO  $con = null 
)

Sets a collection of LanguageObject 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.

Parameters
PropelCollection$languageObjectsA Propel collection.
PropelPDO$conOptional connection object
Returns
Language The current object (for fluent API support)
BaseLanguage::setLinks ( PropelCollection  $links,
PropelPDO  $con = null 
)

Sets a collection of Link 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.

Parameters
PropelCollection$linksA Propel collection.
PropelPDO$conOptional connection object
Returns
Language The current object (for fluent API support)
BaseLanguage::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.

Parameters
PropelCollection$pageStringsA Propel collection.
PropelPDO$conOptional connection object
Returns
Language The current object (for fluent API support)
BaseLanguage::setPathPrefix (   $v)

Set the value of [path_prefix] column.

Parameters
string$vnew value
Returns
Language The current object (for fluent API support)
BaseLanguage::setPrimaryKey (   $key)

Generic method to set the primary key (id column).

Parameters
string$keyPrimary key.
Returns
void
BaseLanguage::setSort (   $v)

Set the value of [sort] column.

Parameters
int$vnew value
Returns
Language The current object (for fluent API support)
BaseLanguage::setTranslations ( PropelCollection  $translations,
PropelPDO  $con = null 
)

Sets a collection of Translation 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.

Parameters
PropelCollection$translationsA Propel collection.
PropelPDO$conOptional connection object
Returns
Language The current object (for fluent API support)
BaseLanguage::setUpdatedAt (   $v)

Sets the value of [updated_at] column to a normalized version of the date/time value specified.

Parameters
mixed$vstring, integer (timestamp), or DateTime value. Empty strings are treated as null.
Returns
Language The current object (for fluent API support)
BaseLanguage::setUpdatedBy (   $v)

Set the value of [updated_by] column.

Parameters
int$vnew value
Returns
Language The current object (for fluent API support)
BaseLanguage::setUserRelatedByCreatedBy ( User  $v = null)

Declares an association between this object and a User object.

Parameters
User$v
Returns
Language The current object (for fluent API support)
Exceptions
PropelException
BaseLanguage::setUserRelatedByUpdatedBy ( User  $v = null)

Declares an association between this object and a User object.

Parameters
User$v
Returns
Language The current object (for fluent API support)
Exceptions
PropelException
BaseLanguage::setUsersRelatedByLanguageId ( PropelCollection  $usersRelatedByLanguageId,
PropelPDO  $con = null 
)

Sets a collection of UserRelatedByLanguageId 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.

Parameters
PropelCollection$usersRelatedByLanguageIdA Propel collection.
PropelPDO$conOptional connection object
Returns
Language The current object (for fluent API support)
BaseLanguage::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.

Parameters
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$alreadyDumpedObjectsList of objects to skip to avoid recursion
boolean$includeForeignObjects(optional) Whether to include hydrated related objects. Default to FALSE.
Returns
array an associative array containing the field names (as keys) and field values
BaseLanguage::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.

Parameters
mixed$columnsColumn name or an array of column names.
Returns
boolean Whether all columns pass validation.
See also
doValidate()
getValidationFailures()

Member Data Documentation

const BaseLanguage::PEER = 'LanguagePeer'

Peer class name


The documentation for this class was generated from the following file: