Example #1
0
 public function __construct(Library\ObjectConfig $config)
 {
     parent::__construct($config);
     // Return JSON response when possible
     $this->registerCallback('after.post', array($this, 'renderResponse'));
     // Return correct status code for plupload
     $this->getObject('application')->registerCallback('before.send', array($this, 'setStatusForPlupload'));
 }
Example #2
0
 public function __construct(Library\ObjectConfig $config)
 {
     parent::__construct($config);
     //@TODO Remove when PHP 5.5 becomes a requirement.
     Library\ClassLoader::getInstance()->loadFile(JPATH_ROOT . '/application/admin/component/users/legacy/password.php');
 }