public function __construct($attribute_type = '', $language_id = 0)
 {
     parent::__construct($attribute_type, $language_id);
     if (!IS_ADMIN) {
         // forbid for non admin calls
         throw new AException(AC_ERR_LOAD, 'Error: permission denied to access class AAttribute_Manager');
     }
 }
Example #2
0
 /**
  * StyleValue constructor
  *
  * @param $key string Klíč
  * @param $value mixed Hodnota
  */
 public function __construct($key, $value)
 {
     parent::__construct($key, $value);
 }
Example #3
0
 /**
  * NameValuePair constructor
  *
  * @param $key string Klíč
  * @param $value mixed Hodnota
  * @param bool $escape True, pokud se má hodnota escapovat, jinak false
  */
 public function __construct($key, $value, $escape = true)
 {
     parent::__construct($key, $value, $escape);
 }