~agasti-rhok-02/sahana-agasti/mayon-rhok-02

« back to all changes in this revision

Viewing changes to lib/model/doctrine/base/BaseagGeoMatchScore.class.php

  • Committer: charles wisniewski
  • Date: 2010-12-08 22:06:31 UTC
  • mfrom: (1.1.3 cuny-sps-trunk)
  • Revision ID: charles.wisniewski@mail.cuny.edu-20101208220631-63o0t8b9vi7nbbu6
all up to date

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
 
3
 
/**
4
 
 * BaseagGeoMatchScore
5
 
 * 
6
 
 * This class has been auto-generated by the Doctrine ORM Framework
7
 
 * 
8
 
 * @property integer $id
9
 
 * @property string $geo_match_score
10
 
 * @property integer $geo_match_score_value
11
 
 * @property Doctrine_Collection $agAddressGeo
12
 
 * 
13
 
 * @method integer             getId()                    Returns the current record's "id" value
14
 
 * @method string              getGeoMatchScore()         Returns the current record's "geo_match_score" value
15
 
 * @method integer             getGeoMatchScoreValue()    Returns the current record's "geo_match_score_value" value
16
 
 * @method Doctrine_Collection getAgAddressGeo()          Returns the current record's "agAddressGeo" collection
17
 
 * @method agGeoMatchScore     setId()                    Sets the current record's "id" value
18
 
 * @method agGeoMatchScore     setGeoMatchScore()         Sets the current record's "geo_match_score" value
19
 
 * @method agGeoMatchScore     setGeoMatchScoreValue()    Sets the current record's "geo_match_score_value" value
20
 
 * @method agGeoMatchScore     setAgAddressGeo()          Sets the current record's "agAddressGeo" collection
21
 
 * 
22
 
 * @package    AGASTI_CORE
23
 
 * @subpackage model
24
 
 * @author     CUNY SPS
25
 
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
26
 
 */
27
 
abstract class BaseagGeoMatchScore extends sfDoctrineRecord
28
 
{
29
 
    public function setTableDefinition()
30
 
    {
31
 
        $this->setTableName('ag_geo_match_score');
32
 
        $this->hasColumn('id', 'integer', 2, array(
33
 
             'primary' => true,
34
 
             'type' => 'integer',
35
 
             'length' => 2,
36
 
             ));
37
 
        $this->hasColumn('geo_match_score', 'string', 32, array(
38
 
             'type' => 'string',
39
 
             'notnull' => true,
40
 
             'length' => 32,
41
 
             ));
42
 
        $this->hasColumn('geo_match_score_value', 'integer', 2, array(
43
 
             'type' => 'integer',
44
 
             'notnull' => true,
45
 
             'length' => 2,
46
 
             ));
47
 
    }
48
 
 
49
 
    public function setUp()
50
 
    {
51
 
        parent::setUp();
52
 
        $this->hasMany('agAddressGeo', array(
53
 
             'local' => 'id',
54
 
             'foreign' => 'geo_match_score_id'));
55
 
 
56
 
        $timestampable0 = new Doctrine_Template_Timestampable();
57
 
        $this->actAs($timestampable0);
58
 
    }
59
 
}
 
 
b'\\ No newline at end of file'