API CHANGE: SSViewer and SQLQuery no longer inherit from Object, since they should not be extended.

From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88700 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew Short 2009-10-12 22:28:47 +00:00 committed by Sam Minnee
parent 5c316aa1c0
commit b59507414f
2 changed files with 3 additions and 6 deletions

4
core/SSViewer.php Normal file → Executable file
View File

@ -47,7 +47,7 @@
* @package sapphire
* @subpackage view
*/
class SSViewer extends Object {
class SSViewer {
/**
* @var boolean $source_file_comments
@ -173,8 +173,6 @@ class SSViewer extends Object {
}
if(!$this->chosenTemplates) user_error("None of these templates can be found: ". implode(".ss, ", $templateList) . ".ss", E_USER_WARNING);
parent::__construct();
}
/**

View File

@ -10,7 +10,8 @@
* @package sapphire
* @subpackage model
*/
class SQLQuery extends Object {
class SQLQuery {
/**
* An array of fields to select.
* @var array
@ -100,8 +101,6 @@ class SQLQuery extends Object {
$this->groupby($groupby);
$this->having($having);
$this->limit($limit);
parent::__construct();
}
/**