lib-model-om
[ class tree: lib-model-om ] [ index: lib-model-om ] [ all elements ]

Class: BaseEtvaNode

Source Location: /om/BaseEtvaNode.php

Class Overview

BaseObject
   |
   --BaseEtvaNode

Base class that represents a row from the 'node' table.


Author(s):

Variables

Constants

Methods


Child classes:

EtvaNode
Base class that represents a row from the 'node' table.

Class Details

[line 14]
Base class that represents a row from the 'node' table.

This class was autogenerated by Propel 1.3.0-dev on:

Thu Jun 25 10:03:35 2009




Tags:

abstract:  


[ Top ]


Class Variables

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:

access:  protected

Type:   EtvaNodePeer


[ Top ]

$alreadyInSave =  false

[line 145]

Flag to prevent endless save loop, if this object is referenced by another object which falls in this transaction.



Tags:

access:  protected

Type:   boolean


[ Top ]

$alreadyInValidation =  false

[line 152]

Flag to prevent endless validation loop, if this object is referenced by another object which falls in this transaction.



Tags:

access:  protected

Type:   boolean


[ Top ]

$collEtvaLogicalvolumes =

[line 133]



Tags:

var:  EtvaLogicalvolume[] Collection to store aggregation of EtvaLogicalvolume objects.
access:  protected

Type:   array


[ Top ]

$collEtvaPhysicalvolumes =

[line 113]



Tags:

var:  EtvaPhysicalvolume[] Collection to store aggregation of EtvaPhysicalvolume objects.
access:  protected

Type:   array


[ Top ]

$collEtvaServers =

[line 103]



Tags:

var:  EtvaServer[] Collection to store aggregation of EtvaServer objects.
access:  protected

Type:   array


[ Top ]

$collEtvaVolumegroups =

[line 123]



Tags:

var:  EtvaVolumegroup[] Collection to store aggregation of EtvaVolumegroup objects.
access:  protected

Type:   array


[ Top ]

$cputotal =

[line 55]

The value for the cputotal field.



Tags:

access:  protected

Type:   int


[ Top ]

$created_at =

[line 92]

The value for the created_at field.



Tags:

access:  protected

Type:   string


[ Top ]

$id =

[line 31]

The value for the id field.



Tags:

access:  protected

Type:   int


[ Top ]

$ip =

[line 61]

The value for the ip field.



Tags:

access:  protected

Type:   string


[ Top ]

$memfree =

[line 49]

The value for the memfree field.



Tags:

access:  protected

Type:   int


[ Top ]

$memtotal =

[line 43]

The value for the memtotal field.



Tags:

access:  protected

Type:   int


[ Top ]

$name =

[line 37]

The value for the name field.



Tags:

access:  protected

Type:   string


[ Top ]

$network_cards =

[line 79]

The value for the network_cards field.



Tags:

access:  protected

Type:   int


[ Top ]

$port =

[line 67]

The value for the port field.



Tags:

access:  protected

Type:   int


[ Top ]

$state =

[line 86]

The value for the state field.

Note: this column has a database default value of: 1




Tags:

access:  protected

Type:   int


[ Top ]

$uid =

[line 73]

The value for the uid field.



Tags:

access:  protected

Type:   string


[ Top ]

$updated_at =

[line 98]

The value for the updated_at field.



Tags:

access:  protected

Type:   string


[ Top ]

$validationFailures = array()

[line 967]

Array of ValidationFailed objects.



Tags:

var:  ValidationFailed[]
access:  protected

Type:   array


[ Top ]



Class Methods


constructor __construct [line 158]

BaseEtvaNode __construct( )

Initializes internal state of BaseEtvaNode object.



Tags:

see:  applyDefaults()
access:  public


[ Top ]

method addEtvaLogicalvolume [line 2144]

void addEtvaLogicalvolume( EtvaLogicalvolume $l)

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



Tags:

throws:  PropelException
access:  public


Parameters:

EtvaLogicalvolume   $l   EtvaLogicalvolume

[ Top ]

method addEtvaPhysicalvolume [line 1834]

void addEtvaPhysicalvolume( EtvaPhysicalvolume $l)

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



Tags:

throws:  PropelException
access:  public


Parameters:

EtvaPhysicalvolume   $l   EtvaPhysicalvolume

[ Top ]

method addEtvaServer [line 1585]

void addEtvaServer( EtvaServer $l)

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



Tags:

throws:  PropelException
access:  public


Parameters:

EtvaServer   $l   EtvaServer

[ Top ]

method addEtvaVolumegroup [line 1989]

void addEtvaVolumegroup( EtvaVolumegroup $l)

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



Tags:

throws:  PropelException
access:  public


Parameters:

EtvaVolumegroup   $l   EtvaVolumegroup

[ Top ]

method applyDefaultValues [line 170]

void applyDefaultValues( )

Applies default values to this object.

This method should be called from the object's constructor (or equivalent initialization method).




Tags:

see:  BaseEtvaNode::__construct()
access:  public


[ Top ]

method buildCriteria [line 1272]

Criteria buildCriteria( )

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



Tags:

return:  The Criteria object containing all modified values.
access:  public


[ Top ]

method buildPkeyCriteria [line 1300]

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:

return:  The Criteria object containing value(s) for primary key(s).
access:  public


[ Top ]

method clearAllReferences [line 2211]

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:

access:  public


Parameters:

boolean   $deep   Whether to also clear the references on all associated objects.

[ Top ]

method clearEtvaLogicalvolumes [line 2009]

void clearEtvaLogicalvolumes( )

Clears out the collEtvaLogicalvolumes 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:

see:  addEtvaLogicalvolumes()
access:  public


[ Top ]

method clearEtvaPhysicalvolumes [line 1699]

void clearEtvaPhysicalvolumes( )

Clears out the collEtvaPhysicalvolumes 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:

see:  addEtvaPhysicalvolumes()
access:  public


[ Top ]

method clearEtvaServers [line 1450]

void clearEtvaServers( )

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:

see:  addEtvaServers()
access:  public


[ Top ]

method clearEtvaVolumegroups [line 1854]

void clearEtvaVolumegroups( )

Clears out the collEtvaVolumegroups 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:

see:  addEtvaVolumegroups()
access:  public


[ Top ]

method copy [line 1415]

EtvaNode 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.

If desired, this method can also make copies of all associated (fkey referrers) objects.




Tags:

return:  Clone of current object.
throws:  PropelException
access:  public


Parameters:

boolean   $deepCopy   Whether to also copy all rows that refer (by fkey) to the current row.

[ Top ]

method copyInto [line 1339]

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:

throws:  PropelException
access:  public


Parameters:

object   $copyObj   An object of EtvaNode (or compatible) type.
boolean   $deepCopy   Whether to also copy all rows that refer (by fkey) to the current row.

[ Top ]

method countEtvaLogicalvolumes [line 2090]

int countEtvaLogicalvolumes( [ $criteria = null], [boolean $distinct = false], [ $con = null])

Returns the number of related EtvaLogicalvolume objects.



Tags:

return:  Count of related EtvaLogicalvolume objects.
throws:  PropelException
access:  public


Parameters:

Criteria   $criteria  
boolean   $distinct  
PropelPDO   $con  

[ Top ]

method countEtvaPhysicalvolumes [line 1780]

int countEtvaPhysicalvolumes( [ $criteria = null], [boolean $distinct = false], [ $con = null])

Returns the number of related EtvaPhysicalvolume objects.



Tags:

return:  Count of related EtvaPhysicalvolume objects.
throws:  PropelException
access:  public


Parameters:

Criteria   $criteria  
boolean   $distinct  
PropelPDO   $con  

[ Top ]

method countEtvaServers [line 1531]

int countEtvaServers( [ $criteria = null], [boolean $distinct = false], [ $con = null])

Returns the number of related EtvaServer objects.



Tags:

return:  Count of related EtvaServer objects.
throws:  PropelException
access:  public


Parameters:

Criteria   $criteria  
boolean   $distinct  
PropelPDO   $con  

[ Top ]

method countEtvaVolumegroups [line 1935]

int countEtvaVolumegroups( [ $criteria = null], [boolean $distinct = false], [ $con = null])

Returns the number of related EtvaVolumegroup objects.



Tags:

return:  Count of related EtvaVolumegroup objects.
throws:  PropelException
access:  public


Parameters:

Criteria   $criteria  
boolean   $distinct  
PropelPDO   $con  

[ Top ]

method delete [line 787]

void delete( [ $con = null])

Removes this object from datastore and sets delete attribute.



Tags:

see:  BaseObject::isDeleted()
see:  BaseObject::setDeleted()
throws:  PropelException
access:  public


Parameters:

PropelPDO   $con  

[ Top ]

method doSave [line 897]

int doSave( $con)

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:

return:  The number of rows affected by this insert/update and any referring fk objects' save() operations.
see:  BaseEtvaNode::save()
throws:  PropelException
access:  protected


Parameters:

PropelPDO   $con  

[ Top ]

method doValidate [line 1014]

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

  1. true
is returned; otherwise an aggreagated array of ValidationFailed objects will be returned.




Tags:

return:  
  1. true
if all validations pass; array of
  1. ValidationFailed
objets otherwise.
access:  protected


Parameters:

array   $columns   Array of column names to validate.

[ Top ]

method ensureConsistency [line 721]

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:

throws:  PropelException
access:  public


[ Top ]

method fromArray [line 1249]

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:

access:  public


Parameters:

array   $arr   An array to populate the object from.
string   $keyType   The type of keys the array uses.

[ Top ]

method getByName [line 1076]

mixed getByName( string $name, [string $type = BasePeer::TYPE_PHPNAME])

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



Tags:

return:  Value of field.
access:  public


Parameters:

string   $name   name
string   $type   The type of fieldname the $name is of: one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM

[ Top ]

method getByPosition [line 1090]

mixed getByPosition( int $pos)

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

Zero-based.




Tags:

return:  Value of field at $pos
access:  public


Parameters:

int   $pos   position in xml schema

[ Top ]

method getCputotal [line 220]

int getCputotal( )

Get the [cputotal] column value.



Tags:

access:  public


[ Top ]

method getCreatedAt [line 284]

mixed getCreatedAt( [string $format = 'Y-m-d H:i:s'])

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



Tags:

return:  Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL
throws:  PropelException - if unable to parse/validate the date/time value.
access:  public


Parameters:

string   $format   The date/time format string (either date()-style or strftime()-style). If format is NULL, then the raw DateTime object will be returned.

[ Top ]

method getEtvaLogicalvolumes [line 2041]

array getEtvaLogicalvolumes( [Criteria $criteria = null], [ $con = null])

Gets an array of EtvaLogicalvolume 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 EtvaNode has previously been saved, it will retrieve related EtvaLogicalvolumes from storage. If this EtvaNode is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.




Tags:

return:  EtvaLogicalvolume[]
throws:  PropelException
access:  public


Parameters:

PropelPDO   $con  
Criteria   $criteria  

[ Top ]

method getEtvaLogicalvolumesJoinEtvaVolumegroup [line 2167]

void getEtvaLogicalvolumesJoinEtvaVolumegroup( [ $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 EtvaNode is new, it will return an empty collection; or if this EtvaNode has previously been saved, it will retrieve related EtvaLogicalvolumes 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 EtvaNode.




Tags:

access:  public


Parameters:

   $criteria  
   $con  
   $join_behavior  

[ Top ]

method getEtvaPhysicalvolumes [line 1731]

array getEtvaPhysicalvolumes( [Criteria $criteria = null], [ $con = null])

Gets an array of EtvaPhysicalvolume 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 EtvaNode has previously been saved, it will retrieve related EtvaPhysicalvolumes from storage. If this EtvaNode is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.




Tags:

return:  EtvaPhysicalvolume[]
throws:  PropelException
access:  public


Parameters:

PropelPDO   $con  
Criteria   $criteria  

[ Top ]

method getEtvaServers [line 1482]

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 EtvaNode has previously been saved, it will retrieve related EtvaServers from storage. If this EtvaNode is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.




Tags:

return:  EtvaServer[]
throws:  PropelException
access:  public


Parameters:

PropelPDO   $con  
Criteria   $criteria  

[ Top ]

method getEtvaServersJoinEtvaLogicalvolume [line 1608]

void getEtvaServersJoinEtvaLogicalvolume( [ $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 EtvaNode is new, it will return an empty collection; or if this EtvaNode 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 EtvaNode.




Tags:

access:  public


Parameters:

   $criteria  
   $con  
   $join_behavior  

[ Top ]

method getEtvaServersJoinsfGuardGroup [line 1655]

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 EtvaNode is new, it will return an empty collection; or if this EtvaNode 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 EtvaNode.




Tags:

access:  public


Parameters:

   $criteria  
   $con  
   $join_behavior  

[ Top ]

method getEtvaVolumegroups [line 1886]

array getEtvaVolumegroups( [Criteria $criteria = null], [ $con = null])

Gets an array of EtvaVolumegroup 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 EtvaNode has previously been saved, it will retrieve related EtvaVolumegroups from storage. If this EtvaNode is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.




Tags:

return:  EtvaVolumegroup[]
throws:  PropelException
access:  public


Parameters:

PropelPDO   $con  
Criteria   $criteria  

[ Top ]

method getId [line 180]

int getId( )

Get the [id] column value.



Tags:

access:  public


[ Top ]

method getIp [line 230]

string getIp( )

Get the [ip] column value.



Tags:

access:  public


[ Top ]

method getMemfree [line 210]

int getMemfree( )

Get the [memfree] column value.



Tags:

access:  public


[ Top ]

method getMemtotal [line 200]

int getMemtotal( )

Get the [memtotal] column value.



Tags:

access:  public


[ Top ]

method getName [line 190]

string getName( )

Get the [name] column value.



Tags:

access:  public


[ Top ]

method getNetworkCards [line 260]

int getNetworkCards( )

Get the [network_cards] column value.



Tags:

access:  public


[ Top ]

method getPeer [line 1433]

EtvaNodePeer getPeer( )

Returns a peer instance associated with this om.

Since Peer classes are not to have any instance attributes, this method returns the same instance for all member of this class. The method could therefore be static, but this would prevent one from overriding the behavior.




Tags:

access:  public


[ Top ]

method getPort [line 240]

int getPort( )

Get the [port] column value.



Tags:

access:  public


[ Top ]

method getPrimaryKey [line 1313]

int getPrimaryKey( )

Returns the primary key for this object (row).



Tags:

access:  public


[ Top ]

method getState [line 270]

int getState( )

Get the [state] column value.



Tags:

access:  public


[ Top ]

method getUid [line 250]

string getUid( )

Get the [uid] column value.



Tags:

access:  public


[ Top ]

method getUpdatedAt [line 317]

mixed getUpdatedAt( [string $format = 'Y-m-d H:i:s'])

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



Tags:

return:  Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL
throws:  PropelException - if unable to parse/validate the date/time value.
access:  public


Parameters:

string   $format   The date/time format string (either date()-style or strftime()-style). If format is NULL, then the raw DateTime object will be returned.

[ Top ]

method getValidationFailures [line 976]

array getValidationFailures( )

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



Tags:

return:  ValidationFailed[]
see:  BaseEtvaNode::validate()
access:  public


[ Top ]

method hasOnlyDefaultValues [line 647]

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:

return:  Whether the columns in this object are only been set with default values.
access:  public


[ Top ]

method hydrate [line 676]

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:

return:  next starting column
throws:  PropelException - Any caught Exception will be rewrapped as a PropelException.
access:  public


Parameters:

array   $row   The row returned by PDOStatement->fetch(PDO::FETCH_NUM)
int   $startcol   0-based offset column which indicates which restultset column to start with.
boolean   $rehydrate   Whether this object is being re-hydrated from the database.

[ Top ]

method initEtvaLogicalvolumes [line 2023]

void initEtvaLogicalvolumes( )

Initializes the collEtvaLogicalvolumes collection (array).

By default this just sets the collEtvaLogicalvolumes collection to an empty array (like clearcollEtvaLogicalvolumes()); 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:

access:  public


[ Top ]

method initEtvaPhysicalvolumes [line 1713]

void initEtvaPhysicalvolumes( )

Initializes the collEtvaPhysicalvolumes collection (array).

By default this just sets the collEtvaPhysicalvolumes collection to an empty array (like clearcollEtvaPhysicalvolumes()); 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:

access:  public


[ Top ]

method initEtvaServers [line 1464]

void initEtvaServers( )

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:

access:  public


[ Top ]

method initEtvaVolumegroups [line 1868]

void initEtvaVolumegroups( )

Initializes the collEtvaVolumegroups collection (array).

By default this just sets the collEtvaVolumegroups collection to an empty array (like clearcollEtvaVolumegroups()); 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:

access:  public


[ Top ]

method reload [line 736]

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:

throws:  PropelException - if this object is deleted, unsaved or doesn't have pk match in db
access:  public


Parameters:

boolean   $deep   (optional) Whether to also de-associated any related objects.
PropelPDO   $con   (optional) The PropelPDO connection to use.

[ Top ]

method save [line 838]

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:

return:  The number of rows affected by this insert/update and any referring fk objects' save() operations.
see:  BaseEtvaNode::doSave()
throws:  PropelException
access:  public


Parameters:

PropelPDO   $con  

[ Top ]

method setByName [line 1176]

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:

access:  public


Parameters:

string   $name   peer name
mixed   $value   field value
string   $type   The type of fieldname the $name is of: one of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM

[ Top ]

method setByPosition [line 1190]

void setByPosition( int $pos, mixed $value)

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

Zero-based.




Tags:

access:  public


Parameters:

int   $pos   position in xml schema
mixed   $value   field value

[ Top ]

method setCputotal [line 427]

EtvaNode setCputotal( int $v)

Set the value of [cputotal] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

int   $v   new value

[ Top ]

method setCreatedAt [line 548]

EtvaNode setCreatedAt( mixed $v)

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



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

mixed   $v   string, integer (timestamp), or DateTime value. Empty string will be treated as NULL for temporal objects.

[ Top ]

method setId [line 347]

EtvaNode setId( int $v)

Set the value of [id] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

int   $v   new value

[ Top ]

method setIp [line 447]

EtvaNode setIp( string $v)

Set the value of [ip] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

string   $v   new value

[ Top ]

method setMemfree [line 407]

EtvaNode setMemfree( int $v)

Set the value of [memfree] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

int   $v   new value

[ Top ]

method setMemtotal [line 387]

EtvaNode setMemtotal( int $v)

Set the value of [memtotal] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

int   $v   new value

[ Top ]

method setName [line 367]

EtvaNode setName( string $v)

Set the value of [name] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

string   $v   new value

[ Top ]

method setNetworkCards [line 507]

EtvaNode setNetworkCards( int $v)

Set the value of [network_cards] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

int   $v   new value

[ Top ]

method setPort [line 467]

EtvaNode setPort( int $v)

Set the value of [port] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

int   $v   new value

[ Top ]

method setPrimaryKey [line 1324]

void setPrimaryKey( int $key)

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



Tags:

access:  public


Parameters:

int   $key   Primary key.

[ Top ]

method setState [line 527]

EtvaNode setState( int $v)

Set the value of [state] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

int   $v   new value

[ Top ]

method setUid [line 487]

EtvaNode setUid( string $v)

Set the value of [uid] column.



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

string   $v   new value

[ Top ]

method setUpdatedAt [line 597]

EtvaNode setUpdatedAt( mixed $v)

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



Tags:

return:  The current object (for fluent API support)
access:  public


Parameters:

mixed   $v   string, integer (timestamp), or DateTime value. Empty string will be treated as NULL for temporal objects.

[ Top ]

method toArray [line 1146]

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:

return:  associative array containing the field names (as keys) and field values
access:  public


Parameters:

string   $keyType   (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. Defaults to BasePeer::TYPE_PHPNAME.
boolean   $includeLazyLoadColumns   (optional) Whether to include lazy loaded columns. Defaults to TRUE.

[ Top ]

method validate [line 992]

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:

return:  Whether all columns pass validation.
see:  BaseEtvaNode::doValidate()
see:  BaseEtvaNode::getValidationFailures()
access:  public


Parameters:

mixed   $columns   Column name or an array of column names.

[ Top ]

method __call [line 2243]

void __call( $method, $arguments)



Tags:

access:  public


Parameters:

   $method  
   $arguments  

[ Top ]


Class Constants

PEER =  'EtvaNodePeer'

[line 17]


[ Top ]



Documentation generated on Mon, 29 Jun 2009 15:10:14 +0100 by phpDocumentor 1.4.2