constructor __construct [line 126]
BaseEtvaLogicalvolume __construct(
)
|
|
Initializes internal state of BaseEtvaLogicalvolume object.
Tags:
method addEtvaServer [line 1435]
Method called to associate a EtvaServer object to this object through the EtvaServer foreign key attribute.
Tags:
Parameters:
method applyDefaultValues [line 138]
void applyDefaultValues(
)
|
|
Applies default values to this object.
This method should be called from the object's constructor (or equivalent initialization method).
Tags:
method buildCriteria [line 1044]
Criteria buildCriteria(
)
|
|
Build a Criteria object containing the values of all modified columns in this object.
Tags:
method buildPkeyCriteria [line 1070]
Criteria 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.
Tags:
method clearAllReferences [line 1549]
void clearAllReferences(
[boolean
$deep = false])
|
|
Resets all collections of referencing foreign keys.
This method is a user-space workaround for PHP's inability to garbage collect objects with circular references. This is currently necessary when using Propel in certain daemon or large-volumne/high-memory operations.
Tags:
Parameters:
method clearEtvaServers [line 1300]
Clears out the collEtvaServers collection (array).
This does not modify the database; however, it will remove any associated objects, causing them to be refetched by subsequent calls to accessor method.
Tags:
method copy [line 1163]
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.
Tags:
Parameters:
method copyInto [line 1109]
void copyInto(
object
$copyObj, [boolean
$deepCopy = false])
|
|
Sets contents of passed object to values from current object.
If desired, this method can also make copies of all associated (fkey referrers) objects.
Tags:
Parameters:
method countEtvaServers [line 1381]
int countEtvaServers(
[
$criteria = null], [boolean
$distinct = false], [
$con = null])
|
|
Returns the number of related EtvaServer objects.
Tags:
Parameters:
method delete [line 596]
void delete(
[
$con = null])
|
|
Removes this object from datastore and sets delete attribute.
Tags:
Parameters:
method doSave [line 696]
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.
Tags:
Parameters:
method doValidate [line 808]
mixed doValidate(
[array
$columns = null])
|
|
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 aggreagated array of ValidationFailed objects will be returned.
Tags:
Parameters:
method ensureConsistency [line 531]
void 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.
Tags:
method fromArray [line 1023]
void fromArray(
array
$arr, [string
$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 phpname (e.g. 'AuthorId')
Tags:
Parameters:
method getByName [line 864]
mixed getByName(
string
$name, [string
$type = BasePeer::TYPE_PHPNAME])
|
|
Retrieves a field from the object by name passed in as a string.
Tags:
Parameters:
method getByPosition [line 878]
mixed getByPosition(
int
$pos)
|
|
Retrieves a field from the object by Position as specified in the xml schema.
Zero-based.
Tags:
Parameters:
method getEtvaNode [line 1274]
Get the associated EtvaNode object
Tags:
Parameters:
method getEtvaServers [line 1332]
array getEtvaServers(
[Criteria
$criteria = null], [
$con = null])
|
|
Gets an array of EtvaServer objects which contain a foreign key that references this object.
If this collection has already been initialized with an identical Criteria, it returns the collection. Otherwise if this EtvaLogicalvolume has previously been saved, it will retrieve related EtvaServers from storage. If this EtvaLogicalvolume is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.
Tags:
Parameters:
method getEtvaServersJoinEtvaNode [line 1458]
void getEtvaServersJoinEtvaNode(
[
$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 EtvaLogicalvolume is new, it will return an empty collection; or if this EtvaLogicalvolume has previously been saved, it will retrieve related EtvaServers 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 EtvaLogicalvolume.
Tags:
Parameters:
method getEtvaServersJoinsfGuardGroup [line 1505]
void getEtvaServersJoinsfGuardGroup(
[
$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 EtvaLogicalvolume is new, it will return an empty collection; or if this EtvaLogicalvolume has previously been saved, it will retrieve related EtvaServers 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 EtvaLogicalvolume.
Tags:
Parameters:
method getEtvaVolumegroup [line 1223]
Get the associated EtvaVolumegroup object
Tags:
Parameters:
method getFreesize [line 208]
Get the [freesize] column value.
Tags:
method getId [line 148]
Get the [id] column value.
Tags:
method getInUse [line 238]
Get the [in_use] column value.
Tags:
method getLv [line 178]
Get the [lv] column value.
Tags:
method getLvdevice [line 188]
Get the [lvdevice] column value.
Tags:
method getNodeId [line 168]
Get the [node_id] column value.
Tags:
method getPeer [line 1181]
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.
Tags:
method getPrimaryKey [line 1083]
Returns the primary key for this object (row).
Tags:
method getSize [line 198]
Get the [size] column value.
Tags:
method getStorageType [line 218]
Get the [storage_type] column value.
Tags:
method getValidationFailures [line 770]
array getValidationFailures(
)
|
|
Gets any ValidationFailed objects that resulted from last call to validate().
Tags:
method getVolumegroupId [line 158]
Get the [volumegroup_id] column value.
Tags:
method getWriteable [line 228]
Get the [writeable] column value.
Tags:
method hasOnlyDefaultValues [line 459]
boolean 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.
Tags:
method hydrate [line 488]
int hydrate(
array
$row, [int
$startcol = 0], [boolean
$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.
Tags:
Parameters:
method initEtvaServers [line 1314]
Initializes the collEtvaServers collection (array).
By default this just sets the collEtvaServers collection to an empty array (like clearcollEtvaServers()); 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.
Tags:
method reload [line 552]
void reload(
[boolean
$deep = false], [
$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.
Tags:
Parameters:
method save [line 647]
int save(
[
$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.
Tags:
Parameters:
method setByName [line 956]
void setByName(
string
$name, mixed
$value, [string
$type = BasePeer::TYPE_PHPNAME])
|
|
Sets a field from the object by name passed in as a string.
Tags:
Parameters:
method setByPosition [line 970]
void setByPosition(
int
$pos, mixed
$value)
|
|
Sets a field from the object by Position as specified in the xml schema.
Zero-based.
Tags:
Parameters:
method setEtvaNode [line 1247]
Declares an association between this object and a EtvaNode object.
Tags:
Parameters:
method setEtvaVolumegroup [line 1196]
Declares an association between this object and a EtvaVolumegroup object.
Tags:
Parameters:
method setFreesize [line 377]
Set the value of [freesize] column.
Tags:
Parameters:
method setId [line 249]
Set the value of [id] column.
Tags:
Parameters:
method setInUse [line 437]
Set the value of [in_use] column.
Tags:
Parameters:
method setLv [line 317]
Set the value of [lv] column.
Tags:
Parameters:
method setLvdevice [line 337]
Set the value of [lvdevice] column.
Tags:
Parameters:
method setNodeId [line 293]
Set the value of [node_id] column.
Tags:
Parameters:
method setPrimaryKey [line 1094]
void setPrimaryKey(
int
$key)
|
|
Generic method to set the primary key (id column).
Tags:
Parameters:
method setSize [line 357]
Set the value of [size] column.
Tags:
Parameters:
method setStorageType [line 397]
Set the value of [storage_type] column.
Tags:
Parameters:
method setVolumegroupId [line 269]
Set the value of [volumegroup_id] column.
Tags:
Parameters:
method setWriteable [line 417]
Set the value of [writeable] column.
Tags:
Parameters:
method toArray [line 928]
an toArray(
[string
$keyType = BasePeer::TYPE_PHPNAME], [boolean
$includeLazyLoadColumns = true])
|
|
Exports the object as an array.
You can specify the key type of the array by passing one of the class type constants.
Tags:
Parameters:
method validate [line 786]
boolean validate(
[mixed
$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.
Tags:
Parameters:
method __call [line 1565]
void __call(
$method,
$arguments)
|
|
Tags:
Parameters: