[Solar-svn] Revision 2777
pmjones at solarphp.com
pmjones at solarphp.com
Sun Sep 23 16:27:56 CDT 2007
branch: Solar_Example_Model_*: [CHG] Changed $_indexes to $_index in line with changes in Model class
Modified: branches/orm/Solar/Example/Model/Areas.php
===================================================================
--- branches/orm/Solar/Example/Model/Areas.php 2007-09-23 21:26:32 UTC (rev 2776)
+++ branches/orm/Solar/Example/Model/Areas.php 2007-09-23 21:27:56 UTC (rev 2777)
@@ -21,7 +21,7 @@
'foreign_key' => 'user_id',
));
- $this->_indexes = array(
+ $this->_index = array(
'created',
'updated',
'user_id',
Modified: branches/orm/Solar/Example/Model/Metas.php
===================================================================
--- branches/orm/Solar/Example/Model/Metas.php 2007-09-23 21:26:32 UTC (rev 2776)
+++ branches/orm/Solar/Example/Model/Metas.php 2007-09-23 21:27:56 UTC (rev 2777)
@@ -16,7 +16,7 @@
'foreign_key' => 'node_id',
));
- $this->_indexes = array(
+ $this->_index = array(
'node_id',
);
}
Modified: branches/orm/Solar/Example/Model/Nodes.php
===================================================================
--- branches/orm/Solar/Example/Model/Nodes.php 2007-09-23 21:26:32 UTC (rev 2776)
+++ branches/orm/Solar/Example/Model/Nodes.php 2007-09-23 21:27:56 UTC (rev 2777)
@@ -37,7 +37,7 @@
'through_key' => 'tag_id',
));
- $this->_indexes = array(
+ $this->_index = array(
'created',
'updated',
'area_id',
Modified: branches/orm/Solar/Example/Model/Taggings.php
===================================================================
--- branches/orm/Solar/Example/Model/Taggings.php 2007-09-23 21:26:32 UTC (rev 2776)
+++ branches/orm/Solar/Example/Model/Taggings.php 2007-09-23 21:27:56 UTC (rev 2777)
@@ -19,7 +19,7 @@
'foreign_model' => 'tags',
));
- $this->_indexes = array(
+ $this->_index = array(
'node_id',
'tag_id',
);
Modified: branches/orm/Solar/Example/Model/Tags.php
===================================================================
--- branches/orm/Solar/Example/Model/Tags.php 2007-09-23 21:26:32 UTC (rev 2776)
+++ branches/orm/Solar/Example/Model/Tags.php 2007-09-23 21:27:56 UTC (rev 2777)
@@ -16,7 +16,7 @@
'through' => 'taggings',
));
- $this->_indexes = array(
+ $this->_index = array(
'name' => 'unique',
);
}
Modified: branches/orm/Solar/Example/Model/TestSolarFoo.php
===================================================================
--- branches/orm/Solar/Example/Model/TestSolarFoo.php 2007-09-23 21:26:32 UTC (rev 2776)
+++ branches/orm/Solar/Example/Model/TestSolarFoo.php 2007-09-23 21:27:56 UTC (rev 2777)
@@ -14,7 +14,7 @@
$this->_addFilter('email', 'validateEmail');
$this->_addFilter('uri', 'validateUri');
- $this->_indexes = array(
+ $this->_index = array(
'created',
'updated',
'email' => 'unique',
Modified: branches/orm/Solar/Example/Model/Users.php
===================================================================
--- branches/orm/Solar/Example/Model/Users.php 2007-09-23 21:26:32 UTC (rev 2776)
+++ branches/orm/Solar/Example/Model/Users.php 2007-09-23 21:27:56 UTC (rev 2777)
@@ -11,7 +11,7 @@
$this->_table_name = Solar::run($dir . 'table_name.php');
$this->_table_cols = Solar::run($dir . 'table_cols.php');
- $this->_indexes = array(
+ $this->_index = array(
'created',
'updated',
'handle' => 'unique',
More information about the Solar-svn
mailing list