Class: BaseEtvaServerPeer
Source Location: /om/BaseEtvaServerPeer.php
Base static class for performing query and update operations on the 'server' table.
Author(s):
|
|
|
|
Class Details
Class Variables
Class Methods
static method addInstanceToPool [line 376]
Adds an object to the instance pool. Propel keeps cached copies of objects in an instance pool when they are retrieved from the database. In some cases -- especially when you override doSelect*() methods in your stub classes -- you may need to explicitly add objects to the cache in order to ensure that the same objects are always returned by doSelect*() and retrieveByPK*() calls.
Tags:
Parameters:
static method addSelectColumns [line 203]
static void addSelectColumns(
$criteria)
|
|
Add all the columns needed to create a new object. Note: any columns that were marked with lazyLoad="true" in the XML schema will not be added to the select list and only loaded on demand.
Tags:
Parameters:
static method alias [line 187]
static string alias(
string
$alias, string
$column)
|
|
Convenience method which changes table.column to alias.column. Using this method you can maintain SQL abstraction while using column aliases. $c->addAlias("alias1", TablePeer::TABLE_NAME);
$c->addJoin(TablePeer::alias("alias1", TablePeer::PRIMARY_KEY_COLUMN), TablePeer::PRIMARY_KEY_COLUMN);
Tags:
Parameters:
static method clearInstancePool [line 438]
static void clearInstancePool(
)
|
|
Clear the instance pool.
Tags:
static method doCount [line 252]
static int doCount(
$criteria, [boolean
$distinct = false], [
$con = null])
|
|
Returns the number of rows matching criteria.
Tags:
Parameters:
static method doCountJoinAll [line 884]
static int doCountJoinAll(
$criteria, [boolean
$distinct = false], [
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN], Criteria
$c)
|
|
Returns the number of rows matching criteria, joining all related tables
Tags:
Parameters:
static method doCountJoinAllExceptEtvaLogicalvolume [line 1067]
static int doCountJoinAllExceptEtvaLogicalvolume(
$criteria, [boolean
$distinct = false], [
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN], Criteria
$c)
|
|
Returns the number of rows matching criteria, joining the related EtvaLogicalvolume table
Tags:
Parameters:
static method doCountJoinAllExceptEtvaNode [line 1119]
static int doCountJoinAllExceptEtvaNode(
$criteria, [boolean
$distinct = false], [
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN], Criteria
$c)
|
|
Returns the number of rows matching criteria, joining the related EtvaNode table
Tags:
Parameters:
static method doCountJoinAllExceptsfGuardGroup [line 1171]
static int doCountJoinAllExceptsfGuardGroup(
$criteria, [boolean
$distinct = false], [
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN], Criteria
$c)
|
|
Returns the number of rows matching criteria, joining the related sfGuardGroup table
Tags:
Parameters:
static method doCountJoinEtvaLogicalvolume [line 505]
static int doCountJoinEtvaLogicalvolume(
$criteria, [boolean
$distinct = false], [
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN], Criteria
$c)
|
|
Returns the number of rows matching criteria, joining the related EtvaLogicalvolume table
Tags:
Parameters:
static method doCountJoinEtvaNode [line 562]
static int doCountJoinEtvaNode(
$criteria, [boolean
$distinct = false], [
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN], Criteria
$c)
|
|
Returns the number of rows matching criteria, joining the related EtvaNode table
Tags:
Parameters:
static method doCountJoinsfGuardGroup [line 619]
static int doCountJoinsfGuardGroup(
$criteria, [boolean
$distinct = false], [
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN], Criteria
$c)
|
|
Returns the number of rows matching criteria, joining the related sfGuardGroup table
Tags:
Parameters:
static method doDelete [line 1699]
static int doDelete(
mixed
$values, [
$con = null])
|
|
Method perform a DELETE on the database, given a EtvaServer or Criteria object OR a primary key value.
Tags:
Parameters:
static method doDeleteAll [line 1669]
static int doDeleteAll(
[
$con = null])
|
|
Method to DELETE all rows from the server table.
Tags:
Parameters:
static method doInsert [line 1560]
static mixed doInsert(
mixed
$values, [
$con = null])
|
|
Method perform an INSERT on the database, given a EtvaServer or Criteria object.
Tags:
Parameters:
static method doSelect [line 323]
static array doSelect(
$criteria, [
$con = null])
|
|
Method to do selects.
Tags:
Parameters:
static method doSelectJoinAll [line 942]
static array doSelectJoinAll(
$c, [PropelPDO
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN])
|
|
Selects a collection of EtvaServer objects pre-filled with all related objects.
Tags:
Parameters:
static method doSelectJoinAllExceptEtvaLogicalvolume [line 1224]
static array doSelectJoinAllExceptEtvaLogicalvolume(
$c, [PropelPDO
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN])
|
|
Selects a collection of EtvaServer objects pre-filled with all related objects except EtvaLogicalvolume.
Tags:
Parameters:
static method doSelectJoinAllExceptEtvaNode [line 1331]
static array doSelectJoinAllExceptEtvaNode(
$c, [PropelPDO
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN])
|
|
Selects a collection of EtvaServer objects pre-filled with all related objects except EtvaNode.
Tags:
Parameters:
static method doSelectJoinAllExceptsfGuardGroup [line 1431]
static array doSelectJoinAllExceptsfGuardGroup(
$c, [PropelPDO
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN])
|
|
Selects a collection of EtvaServer objects pre-filled with all related objects except sfGuardGroup.
Tags:
Parameters:
static method doSelectJoinEtvaLogicalvolume [line 676]
static array doSelectJoinEtvaLogicalvolume(
$c, [PropelPDO
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN])
|
|
Selects a collection of EtvaServer objects pre-filled with their EtvaLogicalvolume objects.
Tags:
Parameters:
static method doSelectJoinEtvaNode [line 750]
static array doSelectJoinEtvaNode(
$c, [PropelPDO
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN])
|
|
Selects a collection of EtvaServer objects pre-filled with their EtvaNode objects.
Tags:
Parameters:
static method doSelectJoinsfGuardGroup [line 817]
static array doSelectJoinsfGuardGroup(
$c, [PropelPDO
$con = null], [String
$join_behavior = Criteria::LEFT_JOIN])
|
|
Selects a collection of EtvaServer objects pre-filled with their sfGuardGroup objects.
Tags:
Parameters:
static method doSelectOne [line 304]
static EtvaServer doSelectOne(
$criteria, [
$con = null])
|
|
Method to select one object from the DB.
Tags:
Parameters:
static method doSelectStmt [line 340]
static PDOStatement doSelectStmt(
$criteria, [
$con = null])
|
|
Prepares the Criteria object and uses the parent doSelect() method to execute a PDOStatement. Use this method directly if you want to work with an executed statement durirectly (for example to perform your own object hydration).
Tags:
Parameters:
static method doUpdate [line 1620]
static int doUpdate(
mixed
$values, [
$con = null])
|
|
Method perform an UPDATE on the database, given a EtvaServer or Criteria object.
Tags:
Parameters:
static method doValidate [line 1764]
static mixed doValidate(
EtvaServer
$obj, [mixed
$cols = null])
|
|
Validates all modified columns of given EtvaServer object. If parameter $columns is either a single column name or an array of column names than only those columns are validated. NOTICE: This does not apply to primary or foreign keys for now.
Tags:
Parameters:
static method getFieldNames [line 167]
static array getFieldNames(
[string
$type = BasePeer::TYPE_PHPNAME])
|
|
Returns an array of field names.
Tags:
Parameters:
static method getInstanceFromPool [line 423]
static EtvaServer getInstanceFromPool(
string
$key)
|
|
Retrieves a string version of the primary key from the DB resultset row that can be used to uniquely identify a row in this table. For tables with a single-column primary key, that simple pkey value will be returned. For tables with a multi-column primary key, a serialize()d version of the primary key will be returned.
Tags:
Parameters:
static method getMapBuilder [line 131]
static MapBuilder getMapBuilder(
)
|
|
Get a (singleton) instance of the MapBuilder for this peer class.
Tags:
static method getOMClass [line 1546]
static string getOMClass(
)
|
|
The class that the Peer will make instances of. This uses a dot-path notation which is tranalted into a path relative to a location on the PHP include_path. (e.g. path.to.MyClass -> 'path/to/MyClass.php')
Tags:
static method getPrimaryKeyHashFromRow [line 453]
static string getPrimaryKeyHashFromRow(
array
$row, [int
$startcol = 0])
|
|
Retrieves a string version of the primary key from the DB resultset row that can be used to uniquely identify a row in this table. For tables with a single-column primary key, that simple pkey value will be returned. For tables with a multi-column primary key, a serialize()d version of the primary key will be returned.
Tags:
Parameters:
static method getTableMap [line 1532]
static TableMap getTableMap(
)
|
|
Returns the TableMap related to this peer. This method is not needed for general use but a specific application could have a need.
Tags:
static method getUniqueColumnNames [line 1521]
static void getUniqueColumnNames(
)
|
|
Tags:
static method populateObjects [line 469]
static void populateObjects(
$stmt)
|
|
The returned array will contain objects of the default type or objects that inherit from the default.
Tags:
Parameters:
static method removeInstanceFromPool [line 396]
static void removeInstanceFromPool(
mixed
$value)
|
|
Removes an object from the instance pool. Propel keeps cached copies of objects in an instance pool when they are retrieved from the database. In some cases -- especially when you override doDelete methods in your stub classes -- you may need to explicitly remove objects from the cache in order to prevent returning objects that no longer exist.
Tags:
Parameters:
static method retrieveByPK [line 1804]
static EtvaServer retrieveByPK(
int
$pk, [
$con = null])
|
|
Retrieve a single object by pkey.
Tags:
Parameters:
static method retrieveByPKs [line 1831]
static void retrieveByPKs(
array
$pks, [
$con = null])
|
|
Retrieve multiple objects by pkey.
Tags:
Parameters:
static method translateFieldName [line 148]
static string translateFieldName(
string
$name, string
$fromType, string
$toType)
|
|
Translates a fieldname to another type
Tags:
Parameters:
Class Constants
CLASS_DEFAULT = 'lib.model.EtvaServer'
[line 23]
A class that can be returned by this peer.
CPUSET = 'server.CPUSET'
[line 62]
the column name for the CPUSET field
CREATED_AT = 'server.CREATED_AT'
[line 80]
the column name for the CREATED_AT field
DATABASE_NAME = 'propel'
[line 17]
the default database name for this class
DESCRIPTION = 'server.DESCRIPTION'
[line 44]
the column name for the DESCRIPTION field
ID = 'server.ID'
[line 32]
the column name for the ID field
IP = 'server.IP'
[line 47]
the column name for the IP field
LOCATION = 'server.LOCATION'
[line 65]
the column name for the LOCATION field
LOGICALVOLUME_ID = 'server.LOGICALVOLUME_ID'
[line 35]
the column name for the LOGICALVOLUME_ID field
MAC_ADDRESSES = 'server.MAC_ADDRESSES'
[line 74]
the column name for the MAC_ADDRESSES field
MEM = 'server.MEM'
[line 56]
the column name for the MEM field
NAME = 'server.NAME'
[line 41]
the column name for the NAME field
NETWORK_CARDS = 'server.NETWORK_CARDS'
[line 68]
the column name for the NETWORK_CARDS field
NODE_ID = 'server.NODE_ID'
[line 38]
the column name for the NODE_ID field
NUM_COLUMNS = 18
[line 26]
The total number of columns.
NUM_LAZY_LOAD_COLUMNS = 0
[line 29]
The number of lazy-loaded columns.
SF_GUARD_GROUP_ID = 'server.SF_GUARD_GROUP_ID'
[line 77]
the column name for the SF_GUARD_GROUP_ID field
STATE = 'server.STATE'
[line 71]
the column name for the STATE field
TABLE_NAME = 'server'
[line 20]
the table name for this class
UID = 'server.UID'
[line 53]
the column name for the UID field
UPDATED_AT = 'server.UPDATED_AT'
[line 83]
the column name for the UPDATED_AT field
VCPU = 'server.VCPU'
[line 59]
the column name for the VCPU field
VNC_PORT = 'server.VNC_PORT'
[line 50]
the column name for the VNC_PORT field
|
|