static $peer =
[line 25]
The Peer class.
Instance provides a convenient way of calling static methods on a class that calling code may not be able to identify.
Tags:
$aEtvaLogicalvolume =
[line 138]
Tags:
$aEtvaNode =
[line 143]
Tags:
$alreadyInSave = false
[line 175]
Flag to prevent endless save loop, if this object is referenced by another object which falls in this transaction.
Tags:
$alreadyInValidation = false
[line 182]
Flag to prevent endless validation loop, if this object is referenced by another object which falls in this transaction.
Tags:
$asfGuardGroup =
[line 148]
Tags:
$collEtvaAgents =
[line 153]
Tags:
$collEtvaNetworks =
[line 163]
Tags:
$cpuset =
[line 91]
The value for the cpuset field.
Tags:
$created_at =
[line 127]
The value for the created_at field.
Tags:
$description =
[line 55]
The value for the description field.
Tags:
$id =
[line 31]
The value for the id field.
Tags:
$ip =
[line 61]
The value for the ip field.
Tags:
$location =
[line 97]
The value for the location field.
Tags:
$logicalvolume_id =
[line 37]
The value for the logicalvolume_id field.
Tags:
$mac_addresses =
[line 115]
The value for the mac_addresses field.
Tags:
$mem =
[line 79]
The value for the mem field.
Tags:
$name =
[line 49]
The value for the name field.
Tags:
$network_cards =
[line 103]
The value for the network_cards field.
Tags:
$node_id =
[line 43]
The value for the node_id field.
Tags:
$sf_guard_group_id =
[line 121]
The value for the sf_guard_group_id field.
Tags:
$state =
[line 109]
The value for the state field.
Tags:
$uid =
[line 73]
The value for the uid field.
Tags:
$updated_at =
[line 133]
The value for the updated_at field.
Tags:
$validationFailures = array()
[line 1206]
Array of ValidationFailed objects.
Tags:
$vcpu =
[line 85]
The value for the vcpu field.
Tags:
$vnc_port =
[line 67]
The value for the vnc_port field.
Tags:
constructor __construct [line 188]
BaseEtvaServer __construct(
)
|
|
Initializes internal state of BaseEtvaServer object.
Tags:
method addEtvaAgent [line 2039]
Method called to associate a EtvaAgent object to this object through the EtvaAgent foreign key attribute.
Tags:
Parameters:
method addEtvaNetwork [line 2194]
Method called to associate a EtvaNetwork object to this object through the EtvaNetwork foreign key attribute.
Tags:
Parameters:
method applyDefaultValues [line 200]
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 1567]
Criteria buildCriteria(
)
|
|
Build a Criteria object containing the values of all modified columns in this object.
Tags:
method buildPkeyCriteria [line 1601]
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 2214]
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 clearEtvaAgents [line 1904]
Clears out the collEtvaAgents 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 clearEtvaNetworks [line 2059]
void clearEtvaNetworks(
)
|
|
Clears out the collEtvaNetworks 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 1716]
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 1640]
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 countEtvaAgents [line 1985]
int countEtvaAgents(
[
$criteria = null], [boolean
$distinct = false], [
$con = null])
|
|
Returns the number of related EtvaAgent objects.
Tags:
Parameters:
method countEtvaNetworks [line 2140]
int countEtvaNetworks(
[
$criteria = null], [boolean
$distinct = false], [
$con = null])
|
|
Returns the number of related EtvaNetwork objects.
Tags:
Parameters:
method delete [line 1016]
void delete(
[
$con = null])
|
|
Removes this object from datastore and sets delete attribute.
Tags:
Overridden in child classes as:
- EtvaServer::delete()
Parameters:
method doSave [line 1126]
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 1253]
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 944]
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 1538]
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 1323]
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 1337]
mixed getByPosition(
int
$pos)
|
|
Retrieves a field from the object by Position as specified in the xml schema.
Zero-based.
Tags:
Parameters:
method getCpuset [line 309]
Get the [cpuset] column value.
Tags:
method getCreatedAt [line 373]
mixed getCreatedAt(
[string
$format = 'Y-m-d H:i:s'])
|
|
Get the [optionally formatted] temporal [created_at] column value.
Tags:
Parameters:
method getDescription [line 249]
Get the [description] column value.
Tags:
method getEtvaAgents [line 1936]
array getEtvaAgents(
[Criteria
$criteria = null], [
$con = null])
|
|
Gets an array of EtvaAgent 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 EtvaServer has previously been saved, it will retrieve related EtvaAgents from storage. If this EtvaServer is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.
Tags:
Parameters:
method getEtvaLogicalvolume [line 1776]
Get the associated EtvaLogicalvolume object
Tags:
Parameters:
method getEtvaNetworks [line 2091]
array getEtvaNetworks(
[Criteria
$criteria = null], [
$con = null])
|
|
Gets an array of EtvaNetwork 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 EtvaServer has previously been saved, it will retrieve related EtvaNetworks from storage. If this EtvaServer is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.
Tags:
Parameters:
method getEtvaNode [line 1827]
Get the associated EtvaNode object
Tags:
Parameters:
method getId [line 209]
Get the [id] column value.
Tags:
method getIp [line 259]
Get the [ip] column value.
Tags:
method getLocation [line 319]
Get the [location] column value.
Tags:
method getLogicalvolumeId [line 219]
int getLogicalvolumeId(
)
|
|
Get the [logicalvolume_id] column value.
Tags:
method getMacAddresses [line 349]
string getMacAddresses(
)
|
|
Get the [mac_addresses] column value.
Tags:
method getMem [line 289]
Get the [mem] column value.
Tags:
method getName [line 239]
Get the [name] column value.
Tags:
method getNetworkCards [line 329]
Get the [network_cards] column value.
Tags:
method getNodeId [line 229]
Get the [node_id] column value.
Tags:
method getPeer [line 1734]
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 1614]
Returns the primary key for this object (row).
Tags:
method getsfGuardGroup [line 1878]
sfGuardGroup getsfGuardGroup(
[
$con = null])
|
|
Get the associated sfGuardGroup object
Tags:
Parameters:
method getSfGuardGroupId [line 359]
Get the [sf_guard_group_id] column value.
Tags:
method getState [line 339]
Get the [state] column value.
Tags:
method getUid [line 279]
Get the [uid] column value.
Tags:
method getUpdatedAt [line 406]
mixed getUpdatedAt(
[string
$format = 'Y-m-d H:i:s'])
|
|
Get the [optionally formatted] temporal [updated_at] column value.
Tags:
Parameters:
method getValidationFailures [line 1215]
array getValidationFailures(
)
|
|
Gets any ValidationFailed objects that resulted from last call to validate().
Tags:
method getVcpu [line 299]
Get the [vcpu] column value.
Tags:
method getVncPort [line 269]
Get the [vnc_port] column value.
Tags:
method hasOnlyDefaultValues [line 868]
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 893]
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 initEtvaAgents [line 1918]
Initializes the collEtvaAgents collection (array).
By default this just sets the collEtvaAgents collection to an empty array (like clearcollEtvaAgents()); 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 initEtvaNetworks [line 2073]
Initializes the collEtvaNetworks collection (array).
By default this just sets the collEtvaNetworks collection to an empty array (like clearcollEtvaNetworks()); 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 968]
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 1067]
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 1447]
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 1461]
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 setCpuset [line 644]
Set the value of [cpuset] column.
Tags:
Parameters:
method setCreatedAt [line 769]
Sets the value of [created_at] column to a normalized version of the date/time value specified.
Tags:
Parameters:
method setDescription [line 524]
Set the value of [description] column.
Tags:
Parameters:
method setEtvaLogicalvolume [line 1749]
Declares an association between this object and a EtvaLogicalvolume object.
Tags:
Parameters:
method setEtvaNode [line 1800]
Declares an association between this object and a EtvaNode object.
Tags:
Parameters:
method setId [line 436]
Set the value of [id] column.
Tags:
Parameters:
method setIp [line 544]
Set the value of [ip] column.
Tags:
Parameters:
method setLocation [line 664]
Set the value of [location] column.
Tags:
Parameters:
method setLogicalvolumeId [line 456]
Set the value of [logicalvolume_id] column.
Tags:
Parameters:
method setMacAddresses [line 724]
Set the value of [mac_addresses] column.
Tags:
Parameters:
method setMem [line 604]
Set the value of [mem] column.
Tags:
Parameters:
method setName [line 504]
Set the value of [name] column.
Tags:
Parameters:
method setNetworkCards [line 684]
Set the value of [network_cards] column.
Tags:
Parameters:
method setNodeId [line 480]
Set the value of [node_id] column.
Tags:
Parameters:
method setPrimaryKey [line 1625]
void setPrimaryKey(
int
$key)
|
|
Generic method to set the primary key (id column).
Tags:
Parameters:
method setsfGuardGroup [line 1851]
Declares an association between this object and a sfGuardGroup object.
Tags:
Parameters:
method setSfGuardGroupId [line 744]
Set the value of [sf_guard_group_id] column.
Tags:
Parameters:
method setState [line 704]
Set the value of [state] column.
Tags:
Parameters:
method setUid [line 584]
Set the value of [uid] column.
Tags:
Parameters:
method setUpdatedAt [line 818]
Sets the value of [updated_at] column to a normalized version of the date/time value specified.
Tags:
Parameters:
method setVcpu [line 624]
Set the value of [vcpu] column.
Tags:
Parameters:
method setVncPort [line 564]
Set the value of [vnc_port] column.
Tags:
Parameters:
method toArray [line 1411]
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 1231]
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 2237]
void __call(
$method,
$arguments)
|
|
Tags:
Parameters: