Class BaseAssayPeer
Base static class for performing query and update operations on the 'assay' table.
Direct known subclasses
cli_db\propel\AssayPeerNamespace: cli_db\propel\om
Package: propel\generator\cli\db\om
Located at src/cli/db/propel-classes/cli_db/om/BaseAssayPeer.php
public static
string
|
#
translateFieldName( string $name, string $fromType, string $toType )
Translates a fieldname to another type |
public static
array
|
#
getFieldNames( string $type = cli_db\propel\om\BasePeer::TYPE_PHPNAME )
Returns an array of field names. |
public static
string
|
|
public static
|
#
addSelectColumns( Criteria $criteria, string $alias = null )
Add all the columns needed to create a new object. |
public static
integer
|
|
public static
|
|
public static
array
|
|
public static
|
#
doSelectStmt( Criteria $criteria, PropelPDO $con = null )
Prepares the Criteria object and uses the parent doSelect() method to execute a PDOStatement. |
public static
|
#
addInstanceToPool(
Adds an object to the instance pool. |
public static
|
|
public static
|
#
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. |
public static
|
|
public static
|
#
clearRelatedInstancePool( )
Method to invalidate the instance pool of all tables related to assay by a foreign key with ON DELETE CASCADE |
public static
string
|
#
getPrimaryKeyHashFromRow( array $row, integer $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. |
public static
mixed
|
#
getPrimaryKeyFromRow( array $row, integer $startcol = 0 )
Retrieves the primary key from the DB resultset row For tables with a single-column primary key, that simple pkey value will be returned. For tables with a multi-column primary key, an array of the primary key columns will be returned. |
public static
|
#
populateObjects(
The returned array will contain objects of the default type or objects that inherit from the default. |
public static
array
|
#
populateObject( array $row, integer $startcol = 0 )
Populates an object of the default type or an object that inherit from the default. |
public static
integer
|
#
doCountJoinContact( Criteria $criteria, boolean $distinct = false, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Returns the number of rows matching criteria, joining the related Contact table |
public static
integer
|
#
doCountJoinProtocol( Criteria $criteria, boolean $distinct = false, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Returns the number of rows matching criteria, joining the related Protocol table |
public static
array
|
#
doSelectJoinContact( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Assay objects pre-filled with their Contact objects. |
public static
array
|
#
doSelectJoinProtocol( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Assay objects pre-filled with their Protocol objects. |
public static
integer
|
#
doCountJoinAll( Criteria $criteria, boolean $distinct = false, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Returns the number of rows matching criteria, joining all related tables |
public static
array
|
#
doSelectJoinAll( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Assay objects pre-filled with all related objects. |
public static
integer
|
#
doCountJoinAllExceptContact( Criteria $criteria, boolean $distinct = false, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Returns the number of rows matching criteria, joining the related Contact table |
public static
integer
|
#
doCountJoinAllExceptProtocol( Criteria $criteria, boolean $distinct = false, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Returns the number of rows matching criteria, joining the related Protocol table |
public static
array
|
#
doSelectJoinAllExceptContact( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Assay objects pre-filled with all related objects except Contact. |
public static
array
|
#
doSelectJoinAllExceptProtocol( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Assay objects pre-filled with all related objects except Protocol. |
public 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. |
public static
|
|
public static
string
|
|
public static
mixed
|
|
public static
integer
|
|
public static
integer
|
|
public static
integer
|
|
public static
mixed
|
#
doValidate(
Validates all modified columns of given Assay object. If parameter $columns is either a single column name or an array of column names than only those columns are validated. |
public static
|
|
public static
|
string |
DATABASE_NAME
|
'cli_db' |
#
the default database name for this class |
string |
TABLE_NAME
|
'assay' |
#
the table name for this class |
string |
OM_CLASS
|
'cli_db\\propel\\Assay' |
#
the related Propel class for this table |
string |
TM_CLASS
|
'AssayTableMap' |
#
the related TableMap class for this table |
integer |
NUM_COLUMNS
|
10 |
#
The total number of columns. |
integer |
NUM_LAZY_LOAD_COLUMNS
|
0 |
#
The number of lazy-loaded columns. |
integer |
NUM_HYDRATE_COLUMNS
|
10 |
#
The number of columns to hydrate (NUM_COLUMNS - NUM_LAZY_LOAD_COLUMNS) |
string |
ASSAY_ID
|
'assay.assay_id' |
#
the column name for the assay_id field |
string |
ARRAYDESIGN_ID
|
'assay.arraydesign_id' |
#
the column name for the arraydesign_id field |
string |
PROTOCOL_ID
|
'assay.protocol_id' |
#
the column name for the protocol_id field |
string |
ASSAYDATE
|
'assay.assaydate' |
#
the column name for the assaydate field |
string |
ARRAYIDENTIFIER
|
'assay.arrayidentifier' |
#
the column name for the arrayidentifier field |
string |
ARRAYBATCHIDENTIFIER
|
'assay.arraybatchidentifier' |
#
the column name for the arraybatchidentifier field |
string |
OPERATOR_ID
|
'assay.operator_id' |
#
the column name for the operator_id field |
string |
DBXREF_ID
|
'assay.dbxref_id' |
#
the column name for the dbxref_id field |
string |
NAME
|
'assay.name' |
#
the column name for the name field |
string |
DESCRIPTION
|
'assay.description' |
#
the column name for the description field |
string |
DEFAULT_STRING_FORMAT
|
'YAML' |
#
The default string format for model objects of the related table * |
public static
array
|
$instances | array() |
#
An identiy map to hold any loaded instances of Assay objects. This must be public so that other peer classes can access this when hydrating from JOIN queries. |
protected static
array
|
$fieldNames | array (
BasePeer::TYPE_PHPNAME => array ('AssayId', 'ArraydesignId', 'ProtocolId', 'Assaydate', 'Arrayidentifier', 'Arraybatchidentifier', 'OperatorId', 'DbxrefId', 'Name', 'Description', ),
BasePeer::TYPE_STUDLYPHPNAME => array ('assayId', 'arraydesignId', 'protocolId', 'assaydate', 'arrayidentifier', 'arraybatchidentifier', 'operatorId', 'dbxrefId', 'name', 'description', ),
BasePeer::TYPE_COLNAME => array (AssayPeer::ASSAY_ID, AssayPeer::ARRAYDESIGN_ID, AssayPeer::PROTOCOL_ID, AssayPeer::ASSAYDATE, AssayPeer::ARRAYIDENTIFIER, AssayPeer::ARRAYBATCHIDENTIFIER, AssayPeer::OPERATOR_ID, AssayPeer::DBXREF_ID, AssayPeer::NAME, AssayPeer::DESCRIPTION, ),
BasePeer::TYPE_RAW_COLNAME => array ('ASSAY_ID', 'ARRAYDESIGN_ID', 'PROTOCOL_ID', 'ASSAYDATE', 'ARRAYIDENTIFIER', 'ARRAYBATCHIDENTIFIER', 'OPERATOR_ID', 'DBXREF_ID', 'NAME', 'DESCRIPTION', ),
BasePeer::TYPE_FIELDNAME => array ('assay_id', 'arraydesign_id', 'protocol_id', 'assaydate', 'arrayidentifier', 'arraybatchidentifier', 'operator_id', 'dbxref_id', 'name', 'description', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, )
) |
#
holds an array of fieldnames |
protected static
array
|
$fieldKeys | array (
BasePeer::TYPE_PHPNAME => array ('AssayId' => 0, 'ArraydesignId' => 1, 'ProtocolId' => 2, 'Assaydate' => 3, 'Arrayidentifier' => 4, 'Arraybatchidentifier' => 5, 'OperatorId' => 6, 'DbxrefId' => 7, 'Name' => 8, 'Description' => 9, ),
BasePeer::TYPE_STUDLYPHPNAME => array ('assayId' => 0, 'arraydesignId' => 1, 'protocolId' => 2, 'assaydate' => 3, 'arrayidentifier' => 4, 'arraybatchidentifier' => 5, 'operatorId' => 6, 'dbxrefId' => 7, 'name' => 8, 'description' => 9, ),
BasePeer::TYPE_COLNAME => array (AssayPeer::ASSAY_ID => 0, AssayPeer::ARRAYDESIGN_ID => 1, AssayPeer::PROTOCOL_ID => 2, AssayPeer::ASSAYDATE => 3, AssayPeer::ARRAYIDENTIFIER => 4, AssayPeer::ARRAYBATCHIDENTIFIER => 5, AssayPeer::OPERATOR_ID => 6, AssayPeer::DBXREF_ID => 7, AssayPeer::NAME => 8, AssayPeer::DESCRIPTION => 9, ),
BasePeer::TYPE_RAW_COLNAME => array ('ASSAY_ID' => 0, 'ARRAYDESIGN_ID' => 1, 'PROTOCOL_ID' => 2, 'ASSAYDATE' => 3, 'ARRAYIDENTIFIER' => 4, 'ARRAYBATCHIDENTIFIER' => 5, 'OPERATOR_ID' => 6, 'DBXREF_ID' => 7, 'NAME' => 8, 'DESCRIPTION' => 9, ),
BasePeer::TYPE_FIELDNAME => array ('assay_id' => 0, 'arraydesign_id' => 1, 'protocol_id' => 2, 'assaydate' => 3, 'arrayidentifier' => 4, 'arraybatchidentifier' => 5, 'operator_id' => 6, 'dbxref_id' => 7, 'name' => 8, 'description' => 9, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, )
) |
#
holds an array of keys for quick access to the fieldnames array |