Methods summary
public
|
#
applyDefaultValues( )
Applies default values to this object. This method should be called from the
object's constructor (or equivalent initialization method).
Applies default values to this object. This method should be called from the
object's constructor (or equivalent initialization method).
See
|
public
|
#
__construct( )
Initializes internal state of BaseCvterm object.
Initializes internal state of BaseCvterm object.
See
applyDefaults()
|
public
integer
|
#
getCvtermId( )
Get the [cvterm_id] column value.
Get the [cvterm_id] column value.
Returns
integer
|
public
integer
|
#
getCvId( )
Get the [cv_id] column value.
Get the [cv_id] column value.
Returns
integer
|
public
string
|
#
getName( )
Get the [name] column value.
Get the [name] column value.
Returns
string
|
public
string
|
#
getDefinition( )
Get the [definition] column value.
Get the [definition] column value.
Returns
string
|
public
integer
|
#
getDbxrefId( )
Get the [dbxref_id] column value.
Get the [dbxref_id] column value.
Returns
integer
|
public
integer
|
#
getIsObsolete( )
Get the [is_obsolete] column value.
Get the [is_obsolete] column value.
Returns
integer
|
public
integer
|
#
getIsRelationshiptype( )
Get the [is_relationshiptype] column value.
Get the [is_relationshiptype] column value.
Returns
integer
|
public
cli_db\propel\Cvterm
|
#
setCvtermId( integer $v )
Set the value of [cvterm_id] column.
Set the value of [cvterm_id] column.
Parameters
Returns
|
public
cli_db\propel\Cvterm
|
#
setCvId( integer $v )
Set the value of [cv_id] column.
Set the value of [cv_id] column.
Parameters
Returns
|
public
cli_db\propel\Cvterm
|
#
setName( string $v )
Set the value of [name] column.
Set the value of [name] column.
Parameters
Returns
|
public
cli_db\propel\Cvterm
|
#
setDefinition( string $v )
Set the value of [definition] column.
Set the value of [definition] column.
Parameters
Returns
|
public
cli_db\propel\Cvterm
|
#
setDbxrefId( integer $v )
Set the value of [dbxref_id] column.
Set the value of [dbxref_id] column.
Parameters
Returns
|
public
cli_db\propel\Cvterm
|
#
setIsObsolete( integer $v )
Set the value of [is_obsolete] column.
Set the value of [is_obsolete] column.
Parameters
Returns
|
public
cli_db\propel\Cvterm
|
#
setIsRelationshiptype( integer $v )
Set the value of [is_relationshiptype] column.
Set the value of [is_relationshiptype] column.
Parameters
Returns
|
public
boolean
|
#
hasOnlyDefaultValues( )
Indicates whether the columns in this object are only set to default
values.
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.
|
public
integer
|
#
hydrate( array $row, integer $startcol = 0, boolean $rehydrate = false )
Hydrates (populates) the object variables with values from the database
resultset.
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
- $row
array $row The row returned by PDOStatement->fetch(PDO::FETCH_NUM)
- $startcol
integer $startcol 0-based offset column which indicates which restultset column to start
with.
- $rehydrate
boolean $rehydrate Whether this object is being re-hydrated from the database.
Returns
integer next starting column
Throws
PropelException - Any caught Exception will be rewrapped as a PropelException.
|
public
|
#
ensureConsistency( )
Checks and repairs the internal consistency of the object.
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.
Throws
PropelException
|
public
|
#
reload( boolean $deep = false, PropelPDO $con = null )
Reloads this object from datastore based on primary key and (optionally)
resets all associated objects.
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
- $deep
boolean $deep (optional) Whether to also de-associated any related objects.
- $con
PropelPDO $con (optional) The PropelPDO connection to use.
Throws
PropelException - if this object is deleted, unsaved or doesn't have pk match in db
|
public
|
#
delete( PropelPDO $con = null )
Removes this object from datastore and sets delete attribute.
Removes this object from datastore and sets delete attribute.
Parameters
Throws
See
BaseObject::setDeleted()
BaseObject::isDeleted()
|
public
integer
|
#
save( PropelPDO $con = null )
Persists this object to the database.
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
Returns
integer The number of rows affected by this insert/update and any referring fk objects'
save() operations.
Throws
See
|
protected
integer
|
#
doSave( PropelPDO $con )
Performs the work of inserting or updating the row in the database.
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
Returns
integer The number of rows affected by this insert/update and any referring fk objects'
save() operations.
Throws
PropelException
See
|
protected
|
#
doInsert( PropelPDO $con )
Insert the row in the database.
Insert the row in the database.
Parameters
Throws
PropelException
See
|
protected
|
#
doUpdate( PropelPDO $con )
Update the row in the database.
Update the row in the database.
Parameters
See
|
public
array
|
#
getValidationFailures( )
Gets any ValidationFailed objects that resulted from last call to
validate().
Gets any ValidationFailed objects that resulted from last call to
validate().
Returns
array ValidationFailed[]
See
|
public
boolean
|
#
validate( mixed $columns = null )
Validates the objects modified field values and all objects related to this
table.
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
- $columns
mixed $columns Column name or an array of column names.
Returns
boolean Whether all columns pass validation.
See
|
protected
mixed
|
#
doValidate( array $columns = null )
This function performs the validation work for complex object models.
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 <span
class="php-keyword1">true</span> is returned; otherwise an
aggreagated array of ValidationFailed objects will be returned.
Parameters
- $columns
array $columns Array of column names to validate.
Returns
mixed
<span class="php-keyword1">true</span> if all
validations pass; array of ValidationFailed objets otherwise.
|
public
mixed
|
#
getByName( string $name, string $type = cli_db\propel\om\BasePeer::TYPE_PHPNAME )
Retrieves a field from the object by name passed in as a string.
Retrieves a field from the object by name passed in as a string.
Parameters
- $name
string $name name
- $type
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
Returns
mixed Value of field.
|
public
mixed
|
#
getByPosition( integer $pos )
Retrieves a field from the object by Position as specified in the xml schema.
Zero-based.
Retrieves a field from the object by Position as specified in the xml schema.
Zero-based.
Parameters
- $pos
integer $pos position in xml schema
Returns
mixed Value of field at $pos
|
public
array
|
#
toArray( string $keyType = cli_db\propel\om\BasePeer::TYPE_PHPNAME, boolean $includeLazyLoadColumns = true, array $alreadyDumpedObjects = array(), boolean $includeForeignObjects = false )
Exports the object as an array.
Exports the object as an array.
You can specify the key type of the array by passing one of the class type
constants.
Parameters
- $keyType
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.
- $includeLazyLoadColumns
boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns.
Defaults to true.
- $alreadyDumpedObjects
array $alreadyDumpedObjects List of objects to skip to avoid recursion
- $includeForeignObjects
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
|
public
|
#
setByName( string $name, mixed $value, string $type = cli_db\propel\om\BasePeer::TYPE_PHPNAME )
Sets a field from the object by name passed in as a string.
Sets a field from the object by name passed in as a string.
Parameters
- $name
string $name peer name
- $value
mixed $value field value
- $type
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
|
public
|
#
setByPosition( integer $pos, mixed $value )
Sets a field from the object by Position as specified in the xml schema.
Zero-based.
Sets a field from the object by Position as specified in the xml schema.
Zero-based.
Parameters
- $pos
integer $pos position in xml schema
- $value
mixed $value field value
|
public
|
#
fromArray( array $arr, string $keyType = cli_db\propel\om\BasePeer::TYPE_PHPNAME )
Populates the object using an array.
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
- $arr
array $arr An array to populate the object from.
- $keyType
string $keyType The type of keys the array uses.
|
public
Criteria
|
#
buildCriteria( )
Build a Criteria object containing the values of all modified columns in this
object.
Build a Criteria object containing the values of all modified columns in this
object.
Returns
Criteria The Criteria object containing all modified values.
|
public
Criteria
|
#
buildPkeyCriteria( )
Builds a Criteria object containing the primary key for this object.
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).
|
public
integer
|
#
getPrimaryKey( )
Returns the primary key for this object (row).
Returns the primary key for this object (row).
Returns
integer
|
public
|
#
setPrimaryKey( integer $key )
Generic method to set the primary key (cvterm_id column).
Generic method to set the primary key (cvterm_id column).
Parameters
- $key
integer $key Primary key.
|
public
boolean
|
#
isPrimaryKeyNull( )
Returns true if the primary key for this object is null.
Returns true if the primary key for this object is null.
Returns
boolean
|
public
|
#
copyInto( object $copyObj, boolean $deepCopy = false, boolean $makeNew = true )
Sets contents of passed object to values from current object.
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
- $copyObj
object $copyObj An object of Cvterm (or compatible) type.
- $deepCopy
boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
- $makeNew
boolean $makeNew Whether to reset autoincrement PKs and make the object new.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
copy( boolean $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.
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
- $deepCopy
boolean $deepCopy Whether to also copy all rows that refer (by fkey) to the current row.
Returns
Throws
PropelException
|
public
cli_db\propel\CvtermPeer
|
#
getPeer( )
Returns a peer instance associated with this om.
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
|
public
cli_db\propel\Cvterm
|
#
setCv( cli_db\propel\Cv $v = null )
Declares an association between this object and a Cv object.
Declares an association between this object and a Cv object.
Parameters
Returns
Throws
PropelException
|
public
cli_db\propel\Cv
|
#
getCv( PropelPDO $con = null, mixed $doQuery = true )
Get the associated Cv object
Get the associated Cv object
Parameters
- $con
PropelPDO $con Optional Connection object.
- $doQuery
mixed $doQuery Executes a query to get the object if required
Returns
Throws
PropelException
|
public
|
#
initRelation( string $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.
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
- $relationName
string $relationName The name of the relation to initialize
|
public
cli_db\propel\Cvterm
|
#
clearBiomaterialRelationships( )
Clears out the collBiomaterialRelationships collection
Clears out the collBiomaterialRelationships 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
See
addBiomaterialRelationships()
|
public
|
#
resetPartialBiomaterialRelationships( mixed $v = true )
reset is the collBiomaterialRelationships collection loaded partially
reset is the collBiomaterialRelationships collection loaded partially
|
public
|
#
initBiomaterialRelationships( boolean $overrideExisting = true )
Initializes the collBiomaterialRelationships collection.
Initializes the collBiomaterialRelationships collection.
By default this just sets the collBiomaterialRelationships collection to an
empty array (like clearcollBiomaterialRelationships()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\BiomaterialRelationship[]
|
#
getBiomaterialRelationships( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of BiomaterialRelationship objects which contain a foreign key
that references this object.
Gets an array of BiomaterialRelationship 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setBiomaterialRelationships( PropelCollection $biomaterialRelationships, PropelPDO $con = null )
Sets a collection of BiomaterialRelationship 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.
Sets a collection of BiomaterialRelationship 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
- $biomaterialRelationships
PropelCollection $biomaterialRelationships A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countBiomaterialRelationships( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related BiomaterialRelationship objects.
Returns the number of related BiomaterialRelationship objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related BiomaterialRelationship objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addBiomaterialRelationship( cli_db\propel\BiomaterialRelationship $l )
Method called to associate a BiomaterialRelationship object to this object
through the BiomaterialRelationship foreign key attribute.
Method called to associate a BiomaterialRelationship object to this object
through the BiomaterialRelationship foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
PropelObjectCollection|cli_db\propel\BiomaterialRelationship[]
|
#
getBiomaterialRelationshipsJoinBiomaterialRelatedByObjectId( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related BiomaterialRelationships from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related BiomaterialRelationships 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
PropelObjectCollection|cli_db\propel\BiomaterialRelationship[]
|
#
getBiomaterialRelationshipsJoinBiomaterialRelatedBySubjectId( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related BiomaterialRelationships from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related BiomaterialRelationships 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
cli_db\propel\Cvterm
|
#
clearBiomaterialprops( )
Clears out the collBiomaterialprops collection
Clears out the collBiomaterialprops 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
See
addBiomaterialprops()
|
public
|
#
resetPartialBiomaterialprops( mixed $v = true )
reset is the collBiomaterialprops collection loaded partially
reset is the collBiomaterialprops collection loaded partially
|
public
|
#
initBiomaterialprops( boolean $overrideExisting = true )
Initializes the collBiomaterialprops collection.
Initializes the collBiomaterialprops collection.
By default this just sets the collBiomaterialprops collection to an empty
array (like clearcollBiomaterialprops()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\Biomaterialprop[]
|
#
getBiomaterialprops( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of Biomaterialprop objects which contain a foreign key that
references this object.
Gets an array of Biomaterialprop 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setBiomaterialprops( PropelCollection $biomaterialprops, PropelPDO $con = null )
Sets a collection of Biomaterialprop 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.
Sets a collection of Biomaterialprop 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
- $biomaterialprops
PropelCollection $biomaterialprops A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countBiomaterialprops( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related Biomaterialprop objects.
Returns the number of related Biomaterialprop objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related Biomaterialprop objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addBiomaterialprop( cli_db\propel\Biomaterialprop $l )
Method called to associate a Biomaterialprop object to this object through
the Biomaterialprop foreign key attribute.
Method called to associate a Biomaterialprop object to this object through
the Biomaterialprop foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
PropelObjectCollection|cli_db\propel\Biomaterialprop[]
|
#
getBiomaterialpropsJoinBiomaterial( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related Biomaterialprops from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related Biomaterialprops 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
cli_db\propel\Cvterm
|
#
clearContacts( )
Clears out the collContacts collection
Clears out the collContacts 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
See
addContacts()
|
public
|
#
resetPartialContacts( mixed $v = true )
reset is the collContacts collection loaded partially
reset is the collContacts collection loaded partially
|
public
|
#
initContacts( boolean $overrideExisting = true )
Initializes the collContacts collection.
Initializes the collContacts collection.
By default this just sets the collContacts collection to an empty array (like
clearcollContacts()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\Contact[]
|
#
getContacts( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of Contact objects which contain a foreign key that references
this object.
Gets an array of Contact 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setContacts( PropelCollection $contacts, PropelPDO $con = null )
Sets a collection of Contact 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.
Sets a collection of Contact 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
- $contacts
PropelCollection $contacts A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countContacts( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related Contact objects.
Returns the number of related Contact objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related Contact objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addContact( cli_db\propel\Contact $l )
Method called to associate a Contact object to this object through the
Contact foreign key attribute.
Method called to associate a Contact object to this object through the
Contact foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
cli_db\propel\Cvterm
|
#
clearFeatures( )
Clears out the collFeatures collection
Clears out the collFeatures 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
See
addFeatures()
|
public
|
#
resetPartialFeatures( mixed $v = true )
reset is the collFeatures collection loaded partially
reset is the collFeatures collection loaded partially
|
public
|
#
initFeatures( boolean $overrideExisting = true )
Initializes the collFeatures collection.
Initializes the collFeatures collection.
By default this just sets the collFeatures collection to an empty array (like
clearcollFeatures()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\Feature[]
|
#
getFeatures( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of Feature objects which contain a foreign key that references
this object.
Gets an array of Feature 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setFeatures( PropelCollection $features, PropelPDO $con = null )
Sets a collection of Feature 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.
Sets a collection of Feature 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
- $features
PropelCollection $features A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countFeatures( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related Feature objects.
Returns the number of related Feature objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related Feature objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addFeature( cli_db\propel\Feature $l )
Method called to associate a Feature object to this object through the
Feature foreign key attribute.
Method called to associate a Feature object to this object through the
Feature foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
PropelObjectCollection|cli_db\propel\Feature[]
|
#
getFeaturesJoinDbxref( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related Features from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related Features 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
PropelObjectCollection|cli_db\propel\Feature[]
|
#
getFeaturesJoinOrganism( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related Features from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related Features 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
cli_db\propel\Cvterm
|
#
clearFeatureCvterms( )
Clears out the collFeatureCvterms collection
Clears out the collFeatureCvterms 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
See
addFeatureCvterms()
|
public
|
#
resetPartialFeatureCvterms( mixed $v = true )
reset is the collFeatureCvterms collection loaded partially
reset is the collFeatureCvterms collection loaded partially
|
public
|
#
initFeatureCvterms( boolean $overrideExisting = true )
Initializes the collFeatureCvterms collection.
Initializes the collFeatureCvterms collection.
By default this just sets the collFeatureCvterms collection to an empty array
(like clearcollFeatureCvterms()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\FeatureCvterm[]
|
#
getFeatureCvterms( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of FeatureCvterm objects which contain a foreign key that
references this object.
Gets an array of FeatureCvterm 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setFeatureCvterms( PropelCollection $featureCvterms, PropelPDO $con = null )
Sets a collection of FeatureCvterm 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.
Sets a collection of FeatureCvterm 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
- $featureCvterms
PropelCollection $featureCvterms A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countFeatureCvterms( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related FeatureCvterm objects.
Returns the number of related FeatureCvterm objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related FeatureCvterm objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addFeatureCvterm( cli_db\propel\FeatureCvterm $l )
Method called to associate a FeatureCvterm object to this object through the
FeatureCvterm foreign key attribute.
Method called to associate a FeatureCvterm object to this object through the
FeatureCvterm foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
PropelObjectCollection|cli_db\propel\FeatureCvterm[]
|
#
getFeatureCvtermsJoinFeature( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related FeatureCvterms from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related FeatureCvterms 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
PropelObjectCollection|cli_db\propel\FeatureCvterm[]
|
#
getFeatureCvtermsJoinPub( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related FeatureCvterms from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related FeatureCvterms 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
cli_db\propel\Cvterm
|
#
clearFeatureCvtermprops( )
Clears out the collFeatureCvtermprops collection
Clears out the collFeatureCvtermprops 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
See
addFeatureCvtermprops()
|
public
|
#
resetPartialFeatureCvtermprops( mixed $v = true )
reset is the collFeatureCvtermprops collection loaded partially
reset is the collFeatureCvtermprops collection loaded partially
|
public
|
#
initFeatureCvtermprops( boolean $overrideExisting = true )
Initializes the collFeatureCvtermprops collection.
Initializes the collFeatureCvtermprops collection.
By default this just sets the collFeatureCvtermprops collection to an empty
array (like clearcollFeatureCvtermprops()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\FeatureCvtermprop[]
|
#
getFeatureCvtermprops( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of FeatureCvtermprop objects which contain a foreign key that
references this object.
Gets an array of FeatureCvtermprop 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setFeatureCvtermprops( PropelCollection $featureCvtermprops, PropelPDO $con = null )
Sets a collection of FeatureCvtermprop 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.
Sets a collection of FeatureCvtermprop 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
- $featureCvtermprops
PropelCollection $featureCvtermprops A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countFeatureCvtermprops( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related FeatureCvtermprop objects.
Returns the number of related FeatureCvtermprop objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related FeatureCvtermprop objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addFeatureCvtermprop( cli_db\propel\FeatureCvtermprop $l )
Method called to associate a FeatureCvtermprop object to this object through
the FeatureCvtermprop foreign key attribute.
Method called to associate a FeatureCvtermprop object to this object through
the FeatureCvtermprop foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
PropelObjectCollection|cli_db\propel\FeatureCvtermprop[]
|
#
getFeatureCvtermpropsJoinFeatureCvterm( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related FeatureCvtermprops from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related FeatureCvtermprops 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
cli_db\propel\Cvterm
|
#
clearProtocols( )
Clears out the collProtocols collection
Clears out the collProtocols 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
See
addProtocols()
|
public
|
#
resetPartialProtocols( mixed $v = true )
reset is the collProtocols collection loaded partially
reset is the collProtocols collection loaded partially
|
public
|
#
initProtocols( boolean $overrideExisting = true )
Initializes the collProtocols collection.
Initializes the collProtocols collection.
By default this just sets the collProtocols collection to an empty array
(like clearcollProtocols()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\Protocol[]
|
#
getProtocols( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of Protocol objects which contain a foreign key that references
this object.
Gets an array of Protocol 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setProtocols( PropelCollection $protocols, PropelPDO $con = null )
Sets a collection of Protocol 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.
Sets a collection of Protocol 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
- $protocols
PropelCollection $protocols A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countProtocols( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related Protocol objects.
Returns the number of related Protocol objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related Protocol objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addProtocol( cli_db\propel\Protocol $l )
Method called to associate a Protocol object to this object through the
Protocol foreign key attribute.
Method called to associate a Protocol object to this object through the
Protocol foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
cli_db\propel\Cvterm
|
#
clearPubs( )
Clears out the collPubs collection
Clears out the collPubs 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
See
addPubs()
|
public
|
#
resetPartialPubs( mixed $v = true )
reset is the collPubs collection loaded partially
reset is the collPubs collection loaded partially
|
public
|
#
initPubs( boolean $overrideExisting = true )
Initializes the collPubs collection.
Initializes the collPubs collection.
By default this just sets the collPubs collection to an empty array (like
clearcollPubs()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\Pub[]
|
#
getPubs( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of Pub objects which contain a foreign key that references this
object.
Gets an array of Pub 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setPubs( PropelCollection $pubs, PropelPDO $con = null )
Sets a collection of Pub 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.
Sets a collection of Pub 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
- $pubs
PropelCollection $pubs A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countPubs( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related Pub objects.
Returns the number of related Pub objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related Pub objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addPub( cli_db\propel\Pub $l )
Method called to associate a Pub object to this object through the Pub
foreign key attribute.
Method called to associate a Pub object to this object through the Pub
foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
cli_db\propel\Cvterm
|
#
clearPubRelationships( )
Clears out the collPubRelationships collection
Clears out the collPubRelationships 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
See
addPubRelationships()
|
public
|
#
resetPartialPubRelationships( mixed $v = true )
reset is the collPubRelationships collection loaded partially
reset is the collPubRelationships collection loaded partially
|
public
|
#
initPubRelationships( boolean $overrideExisting = true )
Initializes the collPubRelationships collection.
Initializes the collPubRelationships collection.
By default this just sets the collPubRelationships collection to an empty
array (like clearcollPubRelationships()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\PubRelationship[]
|
#
getPubRelationships( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of PubRelationship objects which contain a foreign key that
references this object.
Gets an array of PubRelationship 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setPubRelationships( PropelCollection $pubRelationships, PropelPDO $con = null )
Sets a collection of PubRelationship 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.
Sets a collection of PubRelationship 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
- $pubRelationships
PropelCollection $pubRelationships A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countPubRelationships( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related PubRelationship objects.
Returns the number of related PubRelationship objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related PubRelationship objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addPubRelationship( cli_db\propel\PubRelationship $l )
Method called to associate a PubRelationship object to this object through
the PubRelationship foreign key attribute.
Method called to associate a PubRelationship object to this object through
the PubRelationship foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
PropelObjectCollection|cli_db\propel\PubRelationship[]
|
#
getPubRelationshipsJoinPubRelatedByObjectId( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related PubRelationships from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related PubRelationships 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
PropelObjectCollection|cli_db\propel\PubRelationship[]
|
#
getPubRelationshipsJoinPubRelatedBySubjectId( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related PubRelationships from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related PubRelationships 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
cli_db\propel\Cvterm
|
#
clearPubprops( )
Clears out the collPubprops collection
Clears out the collPubprops 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
See
addPubprops()
|
public
|
#
resetPartialPubprops( mixed $v = true )
reset is the collPubprops collection loaded partially
reset is the collPubprops collection loaded partially
|
public
|
#
initPubprops( boolean $overrideExisting = true )
Initializes the collPubprops collection.
Initializes the collPubprops collection.
By default this just sets the collPubprops collection to an empty array (like
clearcollPubprops()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\Pubprop[]
|
#
getPubprops( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of Pubprop objects which contain a foreign key that references
this object.
Gets an array of Pubprop 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setPubprops( PropelCollection $pubprops, PropelPDO $con = null )
Sets a collection of Pubprop 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.
Sets a collection of Pubprop 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
- $pubprops
PropelCollection $pubprops A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countPubprops( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related Pubprop objects.
Returns the number of related Pubprop objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related Pubprop objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addPubprop( cli_db\propel\Pubprop $l )
Method called to associate a Pubprop object to this object through the
Pubprop foreign key attribute.
Method called to associate a Pubprop object to this object through the
Pubprop foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
PropelObjectCollection|cli_db\propel\Pubprop[]
|
#
getPubpropsJoinPub( Criteria $criteria = null, PropelPDO $con = null, string $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related Pubprops from storage.
If this collection has already been initialized with an identical criteria,
it returns the collection. Otherwise if this Cvterm is new, it will return an
empty collection; or if this Cvterm has previously been saved, it will retrieve
related Pubprops 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
Cvterm.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
- $join_behavior
string $join_behavior optional join type to use (defaults to Criteria::LEFT_JOIN)
Returns
|
public
cli_db\propel\Cvterm
|
#
clearSynonyms( )
Clears out the collSynonyms collection
Clears out the collSynonyms 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
See
addSynonyms()
|
public
|
#
resetPartialSynonyms( mixed $v = true )
reset is the collSynonyms collection loaded partially
reset is the collSynonyms collection loaded partially
|
public
|
#
initSynonyms( boolean $overrideExisting = true )
Initializes the collSynonyms collection.
Initializes the collSynonyms collection.
By default this just sets the collSynonyms collection to an empty array (like
clearcollSynonyms()); 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
- $overrideExisting
boolean $overrideExisting If set to true, the method call initializes the collection
even if it is not empty
|
public
PropelObjectCollection|cli_db\propel\Synonym[]
|
#
getSynonyms( Criteria $criteria = null, PropelPDO $con = null )
Gets an array of Synonym objects which contain a foreign key that references
this object.
Gets an array of Synonym 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 Cvterm is new, it will return an empty
collection or the current collection; the criteria is ignored on a new
object.
Parameters
- $criteria
Criteria $criteria optional Criteria object to narrow the query
- $con
PropelPDO $con optional connection object
Returns
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
setSynonyms( PropelCollection $synonyms, PropelPDO $con = null )
Sets a collection of Synonym 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.
Sets a collection of Synonym 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
- $synonyms
PropelCollection $synonyms A Propel collection.
- $con
PropelPDO $con Optional connection object
Returns
|
public
integer
|
#
countSynonyms( Criteria $criteria = null, boolean $distinct = false, PropelPDO $con = null )
Returns the number of related Synonym objects.
Returns the number of related Synonym objects.
Parameters
- $criteria
Criteria $criteria
- $distinct
boolean $distinct
- $con
PropelPDO $con
Returns
integer Count of related Synonym objects.
Throws
PropelException
|
public
cli_db\propel\Cvterm
|
#
addSynonym( cli_db\propel\Synonym $l )
Method called to associate a Synonym object to this object through the
Synonym foreign key attribute.
Method called to associate a Synonym object to this object through the
Synonym foreign key attribute.
Parameters
Returns
|
protected
|
|
public
cli_db\propel\Cvterm
|
|
public
|
#
clear( )
Clears the current object and sets all attributes to their default values
Clears the current object and sets all attributes to their default values
|
public
|
#
clearAllReferences( boolean $deep = false )
Resets all references to other model objects or collections of model
objects.
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-volumne/high-memory operations.
Parameters
- $deep
boolean $deep Whether to also clear the references on all referrer objects.
|
public
string
|
#
__toString( )
return the string representation of this object
return the string representation of this object
Returns
string
|
public
boolean
|
#
isAlreadyInSave( )
return true is the object is in saving state
return true is the object is in saving state
Returns
boolean
|