All modules should be named Xxx_Core for extensibility. Fixes #1458.

This commit is contained in:
Bharat Mediratta
2010-10-25 21:04:48 -07:00
parent 1cc3d130bc
commit dff1a53696
27 changed files with 27 additions and 27 deletions

View File

@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Comment_Model extends ORM {
class Comment_Model_Core extends ORM {
function item() {
return ORM::factory("item", $this->item_id);
}

View File

@@ -17,6 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Digibug_Proxy_Model extends ORM {
class Digibug_Proxy_Model_Core extends ORM {
protected $belongs_to = array("item");
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Exif_Key_Model extends ORM {
class Exif_Key_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Exif_Record_Model extends ORM {
class Exif_Record_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class G2_Map_Model extends ORM {
class G2_Map_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Access_Cache_Model extends ORM {
class Access_Cache_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Access_Intent_Model extends ORM {
class Access_Intent_Model_Core extends ORM {
}

View File

@@ -17,4 +17,4 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Cache_Model extends ORM {}
class Cache_Model_Core extends ORM {}

View File

@@ -17,4 +17,4 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Failed_Auth_Model extends ORM {}
class Failed_Auth_Model_Core extends ORM {}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Graphics_Rule_Model extends ORM {
class Graphics_Rule_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Incoming_Translation_Model extends ORM {
class Incoming_Translation_Model_Core extends ORM {
}

View File

@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Log_Model extends ORM {
class Log_Model_Core extends ORM {
/**
* @see ORM::__get()
*/

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Message_Model extends ORM {
class Message_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Module_Model extends ORM {
class Module_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Outgoing_Translation_Model extends ORM {
class Outgoing_Translation_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Permission_Model extends ORM {
class Permission_Model_Core extends ORM {
}

View File

@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Task_Model extends ORM {
class Task_Model_Core extends ORM {
public function get($key, $default=null) {
$context = unserialize($this->context);
if (array_key_exists($key, $context)) {

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Theme_Model extends ORM {
class Theme_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Var_Model extends ORM {
class Var_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Pending_Notification_Model extends ORM {
class Pending_Notification_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Subscription_Model extends ORM {
class Subscription_Model_Core extends ORM {
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class User_Access_Key_Model extends ORM {
class User_Access_Key_Model_Core extends ORM {
}

View File

@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Search_Record_Model extends ORM {
class Search_Record_Model_Core extends ORM {
function item() {
return model_cache::get("item", $this->item_id);
}

View File

@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Server_Add_File_Model extends ORM {
class Server_Add_File_Model_Core extends ORM {
}

View File

@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Tag_Model extends ORM {
class Tag_Model_Core extends ORM {
protected $has_and_belongs_to_many = array("items");
/**

View File

@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Group_Model extends ORM implements Group_Definition {
class Group_Model_Core extends ORM implements Group_Definition {
protected $has_and_belongs_to_many = array("users");
/**

View File

@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class User_Model extends ORM implements User_Definition {
class User_Model_Core extends ORM implements User_Definition {
protected $has_and_belongs_to_many = array("groups");
protected $password_length = null;