diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /tests/simple_unit/ActiveRecord/records/UserRecord.php | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/simple_unit/ActiveRecord/records/UserRecord.php')
-rw-r--r-- | tests/simple_unit/ActiveRecord/records/UserRecord.php | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/tests/simple_unit/ActiveRecord/records/UserRecord.php b/tests/simple_unit/ActiveRecord/records/UserRecord.php index c3cb78b2..c4e8ce60 100644 --- a/tests/simple_unit/ActiveRecord/records/UserRecord.php +++ b/tests/simple_unit/ActiveRecord/records/UserRecord.php @@ -1,38 +1,38 @@ -<?php
-class UserRecord extends TActiveRecord
-{
- public $username;
- public $password;
- public $email;
- public $first_name;
- public $last_name;
- public $job_title;
- public $work_phone;
- public $work_fax;
- public $active=true;
- public $department_id;
- public $salutation;
- public $hint_question;
- public $hint_answer;
-
- private $_level=-1;
-
- const TABLE='users';
-
- public function getLevel()
- {
- return $this->_level;
- }
-
- public function setLevel($level)
- {
- $this->_level=TPropertyValue::ensureInteger($level);
- }
-
- public static function finder($className=__CLASS__)
- {
- return parent::finder($className);
- }
-}
+<?php +class UserRecord extends TActiveRecord +{ + public $username; + public $password; + public $email; + public $first_name; + public $last_name; + public $job_title; + public $work_phone; + public $work_fax; + public $active=true; + public $department_id; + public $salutation; + public $hint_question; + public $hint_answer; + + private $_level=-1; + + const TABLE='users'; + + public function getLevel() + { + return $this->_level; + } + + public function setLevel($level) + { + $this->_level=TPropertyValue::ensureInteger($level); + } + + public static function finder($className=__CLASS__) + { + return parent::finder($className); + } +} ?>
\ No newline at end of file |