summaryrefslogtreecommitdiffstats
path: root/tests/modules/orm/files/tree_orm.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/orm/files/tree_orm.php')
-rw-r--r--tests/modules/orm/files/tree_orm.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/modules/orm/files/tree_orm.php b/tests/modules/orm/files/tree_orm.php
index 2dff089..6806547 100644
--- a/tests/modules/orm/files/tree_orm.php
+++ b/tests/modules/orm/files/tree_orm.php
@@ -1,8 +1,12 @@
<?php
-class Tree_Model extends ORM {
+
+class Tree_Model extends ORM
+{
+
public $has_one = array('fairy');
- public $connection='orm';
+ public $connection = 'orm';
public $belongs_to = array(
- 'protector'=>array('model'=>'fairy','key'=>'protector_id')
+ 'protector' => array('model' => 'fairy', 'key' => 'protector_id')
);
-} \ No newline at end of file
+
+}