Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #768 from syntaxerror/object
Browse files Browse the repository at this point in the history
Fixing #767 - Renaming Object to BaseObject
  • Loading branch information
denisdulici committed May 8, 2018
2 parents 4c828f2 + 377bfab commit 1e36d49
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion catalog/event/app/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function preLoadView($template, &$data)
{
$theme = $this->config->get('config_template');

$obj = new Object();
$obj = new BaseObject();
$obj->setProperties(json_decode($this->config->get('theme_' . $theme), true));

$data['theme'] = $theme;
Expand Down
2 changes: 1 addition & 1 deletion system/library/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

use Joomla\Profiler\Profiler;

class App extends Object
class App extends BaseObject
{

protected $registry;
Expand Down
2 changes: 1 addition & 1 deletion system/library/app/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function initialise()
$this->registry->set('filesystem', new Filesystem());

// Config
$this->registry->set('config', new Object());
$this->registry->set('config', new BaseObject());

// Database
$this->registry->set('db', new DB(DB_DRIVER, DB_HOSTNAME, DB_USERNAME, DB_PASSWORD, DB_DATABASE));
Expand Down
2 changes: 1 addition & 1 deletion system/library/app/catalog.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function initialise()
$this->registry->set('filesystem', new Filesystem());

// Config
$this->registry->set('config', new Object());
$this->registry->set('config', new BaseObject());

// Database
$this->registry->set('db', new DB(DB_DRIVER, DB_HOSTNAME, DB_USERNAME, DB_PASSWORD, DB_DATABASE));
Expand Down
2 changes: 1 addition & 1 deletion system/library/app/cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function initialise()
$this->registry->set('filesystem', $filesystem);

// Config
$this->registry->set('config', new Object());
$this->registry->set('config', new BaseObject());

// Loader
$loader = new Loader($this->registry);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class Object
class BaseObject
{

public function get($property, $default = null)
Expand Down
2 changes: 1 addition & 1 deletion system/library/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @since 1.0
* @deprecated 1.3 - Use the Object class instead
*/
class Config extends Object
class Config extends BaseObject
{

public function load($filename)
Expand Down
2 changes: 1 addition & 1 deletion system/library/installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class Installer extends Object
class Installer extends BaseObject
{

public function __construct($registry)
Expand Down
2 changes: 1 addition & 1 deletion system/library/pagecache.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class Pagecache extends Object
class Pagecache extends BaseObject
{

protected $key = null;
Expand Down
2 changes: 1 addition & 1 deletion system/library/route.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class Route extends Object
class Route extends BaseObject
{

protected $registry;
Expand Down
2 changes: 1 addition & 1 deletion system/library/security.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class Security extends Object
class Security extends BaseObject
{

protected $uri;
Expand Down
2 changes: 1 addition & 1 deletion system/library/seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class Seo extends Object
class Seo extends BaseObject
{

protected $registry;
Expand Down
2 changes: 1 addition & 1 deletion system/library/trigger.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

use Symfony\Component\Finder\Finder;

class Trigger extends Object
class Trigger extends BaseObject
{

protected $registry;
Expand Down
2 changes: 1 addition & 1 deletion system/library/url.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class Url extends Object {
class Url extends BaseObject {

protected $domain;
protected $ssl;
Expand Down
2 changes: 1 addition & 1 deletion system/library/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class User extends Object {
class User extends BaseObject {

protected $user_id;
protected $username;
Expand Down
2 changes: 1 addition & 1 deletion system/library/utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @link https://arastta.org
*/

class Utility extends Object
class Utility extends BaseObject
{

protected $registry;
Expand Down
2 changes: 1 addition & 1 deletion system/library/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @since 1.0
*/
final class Version extends Object
final class Version extends BaseObject
{

protected $name = 'Arastta';
Expand Down

0 comments on commit 1e36d49

Please sign in to comment.