Beispiel #1
0
 /**
  * Constructor
  *
  * The filter "aam_cpanel" can be used to control the Control Panel items.
  *
  * @return void
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     //get repository
     $repository = aam_Core_API::getBlogOption('aam_extensions', array(), 1);
     if (is_array($repository)) {
         $this->_repository = $repository;
     }
 }
 /**
  * Constructor
  *
  * The filter "aam_cpanel" can be used to control the Control Panel items.
  *
  * @return void
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->_repository = aam_Core_Repository::getInstance();
 }
 /**
  * Constructor
  *
  * The filter "aam_cpanel" can be used to control the Control Panel items.
  *
  * @return void
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->registerDefaultSubjects();
     $this->registerDefaultFeatures();
 }
Beispiel #4
0
 /**
  * Constructor
  *
  * @return void
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->_post_type = aam_Core_Request::request('post_type');
     $this->_term = intval(aam_Core_Request::request('term'));
 }
Beispiel #5
0
 /**
  * Constructor
  *
  * The filter "aam_cpanel" can be used to control the Control Panel items.
  *
  * @return void
  *
  * @access public
  */
 public function __construct()
 {
     parent::__construct();
     $this->setCManager(apply_filters('aam_ui_subjects', $this->getDefaultSubjects()));
     $this->setFeatures(apply_filters('aam_ui_features', $this->getDefaultFeatures()));
 }
Beispiel #6
0
 /**
  * Set Subject
  * 
  * @param aam_Control_Subject $subject
  * 
  * @return void
  * 
  * @access public
  */
 public function setSubject(aam_Control_Subject $subject)
 {
     self::$_subject = $subject;
 }