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'); } }
/** * StyleValue constructor * * @param $key string Klíč * @param $value mixed Hodnota */ public function __construct($key, $value) { parent::__construct($key, $value); }
/** * 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); }