/** * Constructor * * @param object &$subject The object to observe * @param array $config An array that holds the plugin configuration * * @since 1.5 */ public function __construct(&$subject, $config = array()) { parent::__construct($subject, $config); $this->_access = new stdClass(); }
/** * Constructor * * @param object &$subject The object to observe * @param array $config An array that holds the plugin configuration * * @since 1.5 */ public function __construct(&$subject, $config = array()) { parent::__construct($subject, $config); $this->validator = JModelLegacy::getInstance('ElementValidator', 'FabrikFEModel'); $this->validator->setElementModel($this); $this->access = new stdClass(); }