~registry/majyk/trunk

« back to all changes in this revision

Viewing changes to models/majyk/User.php

  • Committer: Martin Meredith
  • Date: 2009-05-07 19:48:20 UTC
  • Revision ID: martin@sourceguru.net-20090507194820-pz9ib0poqmuok04x
I changed my mind, the tables should always be singular
This is because the object is then called, for example "User" instead of "Users"
Not good to use a plural when referring to the single in the code. I forgot that
propel uses "ObjectPeer"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
require 'majyk/om/BaseUser.php';
 
4
 
 
5
 
 
6
/**
 
7
 * Skeleton subclass for representing a row from the 'user' table.
 
8
 *
 
9
 * 
 
10
 *
 
11
 * You should add additional methods to this class to meet the
 
12
 * application requirements.  This class will only be generated as
 
13
 * long as it does not already exist in the output directory.
 
14
 *
 
15
 * @package    majyk
 
16
 */
 
17
class User extends BaseUser {
 
18
 
 
19
        /**
 
20
         * Initializes internal state of User object.
 
21
         * @see        parent::__construct()
 
22
         */
 
23
        public function __construct()
 
24
        {
 
25
                // Make sure that parent constructor is always invoked, since that
 
26
                // is where any default values for this object are set.
 
27
                parent::__construct();
 
28
        }
 
29
 
 
30
} // User