From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- tests/simple_unit/ActiveRecord/records/Blogs.php | 24 +++--- .../ActiveRecord/records/DepSections.php | 28 +++---- .../ActiveRecord/records/DepartmentRecord.php | 32 ++++---- .../ActiveRecord/records/ItemRecord.php | 96 +++++++++++----------- .../ActiveRecord/records/SimpleUser.php | 24 +++--- .../ActiveRecord/records/SqliteUsers.php | 28 +++---- .../ActiveRecord/records/UserRecord.php | 72 ++++++++-------- 7 files changed, 152 insertions(+), 152 deletions(-) (limited to 'tests/simple_unit/ActiveRecord/records') diff --git a/tests/simple_unit/ActiveRecord/records/Blogs.php b/tests/simple_unit/ActiveRecord/records/Blogs.php index c32ca6b6..680b3141 100644 --- a/tests/simple_unit/ActiveRecord/records/Blogs.php +++ b/tests/simple_unit/ActiveRecord/records/Blogs.php @@ -1,14 +1,14 @@ - \ No newline at end of file diff --git a/tests/simple_unit/ActiveRecord/records/DepSections.php b/tests/simple_unit/ActiveRecord/records/DepSections.php index 7b213c33..6f37ae3e 100644 --- a/tests/simple_unit/ActiveRecord/records/DepSections.php +++ b/tests/simple_unit/ActiveRecord/records/DepSections.php @@ -1,16 +1,16 @@ - \ No newline at end of file diff --git a/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php b/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php index 61307826..732610ae 100644 --- a/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php +++ b/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php @@ -1,18 +1,18 @@ - \ No newline at end of file diff --git a/tests/simple_unit/ActiveRecord/records/ItemRecord.php b/tests/simple_unit/ActiveRecord/records/ItemRecord.php index 52a1a658..8585ebaf 100644 --- a/tests/simple_unit/ActiveRecord/records/ItemRecord.php +++ b/tests/simple_unit/ActiveRecord/records/ItemRecord.php @@ -1,49 +1,49 @@ - array(self::MANY_TO_MANY, 'ItemRecord', 'related_items.related_item_id'), - ); - - public function getDbConnection() - { - static $conn; - if($conn===null) - { - $conn = new TDbConnection('pgsql:host=localhost;dbname=test', 'test','test'); - $this->OnExecuteCommand[] = array($this,'logger'); - } - return $conn; - } - - public function logger($sender,$param) - { - //var_dump($param->Command->Text); - } - - public static function finder($className=__CLASS__) - { - return parent::finder($className); - } -} - + array(self::MANY_TO_MANY, 'ItemRecord', 'related_items.related_item_id'), + ); + + public function getDbConnection() + { + static $conn; + if($conn===null) + { + $conn = new TDbConnection('pgsql:host=localhost;dbname=test', 'test','test'); + $this->OnExecuteCommand[] = array($this,'logger'); + } + return $conn; + } + + public function logger($sender,$param) + { + //var_dump($param->Command->Text); + } + + public static function finder($className=__CLASS__) + { + return parent::finder($className); + } +} + ?> \ No newline at end of file diff --git a/tests/simple_unit/ActiveRecord/records/SimpleUser.php b/tests/simple_unit/ActiveRecord/records/SimpleUser.php index 4ff0b982..cfba272e 100644 --- a/tests/simple_unit/ActiveRecord/records/SimpleUser.php +++ b/tests/simple_unit/ActiveRecord/records/SimpleUser.php @@ -1,14 +1,14 @@ - \ No newline at end of file diff --git a/tests/simple_unit/ActiveRecord/records/SqliteUsers.php b/tests/simple_unit/ActiveRecord/records/SqliteUsers.php index ffa47c72..8e5b9fde 100644 --- a/tests/simple_unit/ActiveRecord/records/SqliteUsers.php +++ b/tests/simple_unit/ActiveRecord/records/SqliteUsers.php @@ -1,16 +1,16 @@ - \ No newline at end of file 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 @@ -_level; - } - - public function setLevel($level) - { - $this->_level=TPropertyValue::ensureInteger($level); - } - - public static function finder($className=__CLASS__) - { - return parent::finder($className); - } -} +_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 -- cgit v1.2.3