Overview

Namespaces

  • cli_db
    • propel
      • map
      • om
  • cli_import
  • LoggedPDO
  • None
  • PHP
  • webservices
    • cart
    • combisearch
    • details
      • annotations
        • feature
    • graphs
      • barplot
      • genome
    • listing
    • queue

Classes

  • AcquisitionTableMap
  • AnalysisTableMap
  • AssayBiomaterialTableMap
  • AssayTableMap
  • BiomaterialpropTableMap
  • BiomaterialRelationshipTableMap
  • BiomaterialTableMap
  • ContactTableMap
  • CvTableMap
  • CvtermTableMap
  • DbTableMap
  • DbxrefTableMap
  • FeatureCvtermDbxrefTableMap
  • FeatureCvtermpropTableMap
  • FeatureCvtermPubTableMap
  • FeatureCvtermTableMap
  • FeatureDbxrefTableMap
  • FeaturePubTableMap
  • FeatureSynonymTableMap
  • FeatureTableMap
  • OrganismTableMap
  • ProtocolTableMap
  • PubauthorTableMap
  • PubDbxrefTableMap
  • PubpropTableMap
  • PubRelationshipTableMap
  • PubTableMap
  • QuantificationTableMap
  • SynonymTableMap
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: namespace cli_db\propel\map;
 4: 
 5: use \RelationMap;
 6: use \TableMap;
 7: 
 8: 
 9: /**
10:  * This class defines the structure of the 'quantification' table.
11:  *
12:  *
13:  *
14:  * This map class is used by Propel to do runtime db structure discovery.
15:  * For example, the createSelectSql() method checks the type of a given column used in an
16:  * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
17:  * (i.e. if it's a text column type).
18:  *
19:  * @package    propel.generator.cli_db.map
20:  */
21: class QuantificationTableMap extends TableMap
22: {
23: 
24:     /**
25:      * The (dot-path) name of this class
26:      */
27:     const CLASS_NAME = 'cli_db.map.QuantificationTableMap';
28: 
29:     /**
30:      * Initialize the table attributes, columns and validators
31:      * Relations are not initialized by this method since they are lazy loaded
32:      *
33:      * @return void
34:      * @throws PropelException
35:      */
36:     public function initialize()
37:     {
38:         // attributes
39:         $this->setName('quantification');
40:         $this->setPhpName('Quantification');
41:         $this->setClassname('cli_db\\propel\\Quantification');
42:         $this->setPackage('cli_db');
43:         $this->setUseIdGenerator(true);
44:         $this->setPrimaryKeyMethodInfo('quantification_quantification_id_seq');
45:         // columns
46:         $this->addPrimaryKey('quantification_id', 'QuantificationId', 'INTEGER', true, null, null);
47:         $this->addForeignKey('acquisition_id', 'AcquisitionId', 'INTEGER', 'acquisition', 'acquisition_id', true, null, null);
48:         $this->addForeignKey('operator_id', 'OperatorId', 'INTEGER', 'contact', 'contact_id', false, null, null);
49:         $this->addForeignKey('protocol_id', 'ProtocolId', 'INTEGER', 'protocol', 'protocol_id', false, null, null);
50:         $this->addForeignKey('analysis_id', 'AnalysisId', 'INTEGER', 'analysis', 'analysis_id', true, null, null);
51:         $this->addColumn('quantificationdate', 'Quantificationdate', 'TIMESTAMP', false, null, 'now()');
52:         $this->addColumn('name', 'Name', 'LONGVARCHAR', false, null, null);
53:         $this->addColumn('uri', 'Uri', 'LONGVARCHAR', false, null, null);
54:         // validators
55:     } // initialize()
56: 
57:     /**
58:      * Build the RelationMap objects for this table relationships
59:      */
60:     public function buildRelations()
61:     {
62:         $this->addRelation('Acquisition', 'cli_db\\propel\\Acquisition', RelationMap::MANY_TO_ONE, array('acquisition_id' => 'acquisition_id', ), 'CASCADE', null);
63:         $this->addRelation('Analysis', 'cli_db\\propel\\Analysis', RelationMap::MANY_TO_ONE, array('analysis_id' => 'analysis_id', ), 'CASCADE', null);
64:         $this->addRelation('Contact', 'cli_db\\propel\\Contact', RelationMap::MANY_TO_ONE, array('operator_id' => 'contact_id', ), 'SET NULL', null);
65:         $this->addRelation('Protocol', 'cli_db\\propel\\Protocol', RelationMap::MANY_TO_ONE, array('protocol_id' => 'protocol_id', ), 'SET NULL', null);
66:     } // buildRelations()
67: 
68: } // QuantificationTableMap
69: 
tbro API documentation generated by ApiGen 2.8.0