Class BaseFeaturePeer
Base static class for performing query and update operations on the 'feature' table.
Direct known subclasses
cli_db\propel\FeaturePeerNamespace: cli_db\propel\om
Package: propel\generator\cli\db\om
Located at src/cli/db/propel-classes/cli_db/om/BaseFeaturePeer.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 feature 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
|
#
doCountJoinDbxref( 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 Dbxref table |
public static
integer
|
#
doCountJoinOrganism( 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 Organism table |
public static
integer
|
#
doCountJoinCvterm( 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 Cvterm table |
public static
array
|
#
doSelectJoinDbxref( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Feature objects pre-filled with their Dbxref objects. |
public static
array
|
#
doSelectJoinOrganism( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Feature objects pre-filled with their Organism objects. |
public static
array
|
#
doSelectJoinCvterm( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Feature objects pre-filled with their Cvterm 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 Feature objects pre-filled with all related objects. |
public static
integer
|
#
doCountJoinAllExceptDbxref( 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 Dbxref table |
public static
integer
|
#
doCountJoinAllExceptOrganism( 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 Organism table |
public static
integer
|
#
doCountJoinAllExceptCvterm( 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 Cvterm table |
public static
array
|
#
doSelectJoinAllExceptDbxref( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Feature objects pre-filled with all related objects except Dbxref. |
public static
array
|
#
doSelectJoinAllExceptOrganism( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Feature objects pre-filled with all related objects except Organism. |
public static
array
|
#
doSelectJoinAllExceptCvterm( Criteria $criteria, PropelPDO $con = null, String $join_behavior = cli_db\propel\om\Criteria::LEFT_JOIN )
Selects a collection of Feature objects pre-filled with all related objects except Cvterm. |
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 Feature 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
|
'feature' |
#
the table name for this class |
string |
OM_CLASS
|
'cli_db\\propel\\Feature' |
#
the related Propel class for this table |
string |
TM_CLASS
|
'FeatureTableMap' |
#
the related TableMap class for this table |
integer |
NUM_COLUMNS
|
13 |
#
The total number of columns. |
integer |
NUM_LAZY_LOAD_COLUMNS
|
0 |
#
The number of lazy-loaded columns. |
integer |
NUM_HYDRATE_COLUMNS
|
13 |
#
The number of columns to hydrate (NUM_COLUMNS - NUM_LAZY_LOAD_COLUMNS) |
string |
FEATURE_ID
|
'feature.feature_id' |
#
the column name for the feature_id field |
string |
DBXREF_ID
|
'feature.dbxref_id' |
#
the column name for the dbxref_id field |
string |
ORGANISM_ID
|
'feature.organism_id' |
#
the column name for the organism_id field |
string |
NAME
|
'feature.name' |
#
the column name for the name field |
string |
UNIQUENAME
|
'feature.uniquename' |
#
the column name for the uniquename field |
string |
RESIDUES
|
'feature.residues' |
#
the column name for the residues field |
string |
SEQLEN
|
'feature.seqlen' |
#
the column name for the seqlen field |
string |
MD5CHECKSUM
|
'feature.md5checksum' |
#
the column name for the md5checksum field |
string |
TYPE_ID
|
'feature.type_id' |
#
the column name for the type_id field |
string |
IS_ANALYSIS
|
'feature.is_analysis' |
#
the column name for the is_analysis field |
string |
IS_OBSOLETE
|
'feature.is_obsolete' |
#
the column name for the is_obsolete field |
string |
TIMEACCESSIONED
|
'feature.timeaccessioned' |
#
the column name for the timeaccessioned field |
string |
TIMELASTMODIFIED
|
'feature.timelastmodified' |
#
the column name for the timelastmodified 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 Feature 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 ('FeatureId', 'DbxrefId', 'OrganismId', 'Name', 'Uniquename', 'Residues', 'Seqlen', 'Md5checksum', 'TypeId', 'IsAnalysis', 'IsObsolete', 'Timeaccessioned', 'Timelastmodified', ),
BasePeer::TYPE_STUDLYPHPNAME => array ('featureId', 'dbxrefId', 'organismId', 'name', 'uniquename', 'residues', 'seqlen', 'md5checksum', 'typeId', 'isAnalysis', 'isObsolete', 'timeaccessioned', 'timelastmodified', ),
BasePeer::TYPE_COLNAME => array (FeaturePeer::FEATURE_ID, FeaturePeer::DBXREF_ID, FeaturePeer::ORGANISM_ID, FeaturePeer::NAME, FeaturePeer::UNIQUENAME, FeaturePeer::RESIDUES, FeaturePeer::SEQLEN, FeaturePeer::MD5CHECKSUM, FeaturePeer::TYPE_ID, FeaturePeer::IS_ANALYSIS, FeaturePeer::IS_OBSOLETE, FeaturePeer::TIMEACCESSIONED, FeaturePeer::TIMELASTMODIFIED, ),
BasePeer::TYPE_RAW_COLNAME => array ('FEATURE_ID', 'DBXREF_ID', 'ORGANISM_ID', 'NAME', 'UNIQUENAME', 'RESIDUES', 'SEQLEN', 'MD5CHECKSUM', 'TYPE_ID', 'IS_ANALYSIS', 'IS_OBSOLETE', 'TIMEACCESSIONED', 'TIMELASTMODIFIED', ),
BasePeer::TYPE_FIELDNAME => array ('feature_id', 'dbxref_id', 'organism_id', 'name', 'uniquename', 'residues', 'seqlen', 'md5checksum', 'type_id', 'is_analysis', 'is_obsolete', 'timeaccessioned', 'timelastmodified', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, )
) |
#
holds an array of fieldnames |
protected static
array
|
$fieldKeys | array (
BasePeer::TYPE_PHPNAME => array ('FeatureId' => 0, 'DbxrefId' => 1, 'OrganismId' => 2, 'Name' => 3, 'Uniquename' => 4, 'Residues' => 5, 'Seqlen' => 6, 'Md5checksum' => 7, 'TypeId' => 8, 'IsAnalysis' => 9, 'IsObsolete' => 10, 'Timeaccessioned' => 11, 'Timelastmodified' => 12, ),
BasePeer::TYPE_STUDLYPHPNAME => array ('featureId' => 0, 'dbxrefId' => 1, 'organismId' => 2, 'name' => 3, 'uniquename' => 4, 'residues' => 5, 'seqlen' => 6, 'md5checksum' => 7, 'typeId' => 8, 'isAnalysis' => 9, 'isObsolete' => 10, 'timeaccessioned' => 11, 'timelastmodified' => 12, ),
BasePeer::TYPE_COLNAME => array (FeaturePeer::FEATURE_ID => 0, FeaturePeer::DBXREF_ID => 1, FeaturePeer::ORGANISM_ID => 2, FeaturePeer::NAME => 3, FeaturePeer::UNIQUENAME => 4, FeaturePeer::RESIDUES => 5, FeaturePeer::SEQLEN => 6, FeaturePeer::MD5CHECKSUM => 7, FeaturePeer::TYPE_ID => 8, FeaturePeer::IS_ANALYSIS => 9, FeaturePeer::IS_OBSOLETE => 10, FeaturePeer::TIMEACCESSIONED => 11, FeaturePeer::TIMELASTMODIFIED => 12, ),
BasePeer::TYPE_RAW_COLNAME => array ('FEATURE_ID' => 0, 'DBXREF_ID' => 1, 'ORGANISM_ID' => 2, 'NAME' => 3, 'UNIQUENAME' => 4, 'RESIDUES' => 5, 'SEQLEN' => 6, 'MD5CHECKSUM' => 7, 'TYPE_ID' => 8, 'IS_ANALYSIS' => 9, 'IS_OBSOLETE' => 10, 'TIMEACCESSIONED' => 11, 'TIMELASTMODIFIED' => 12, ),
BasePeer::TYPE_FIELDNAME => array ('feature_id' => 0, 'dbxref_id' => 1, 'organism_id' => 2, 'name' => 3, 'uniquename' => 4, 'residues' => 5, 'seqlen' => 6, 'md5checksum' => 7, 'type_id' => 8, 'is_analysis' => 9, 'is_obsolete' => 10, 'timeaccessioned' => 11, 'timelastmodified' => 12, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, )
) |
#
holds an array of keys for quick access to the fieldnames array |