/** * Constructor */ public function __construct() { parent::__construct(); }
/** * Create enumeration * * @param array $values * @param string $translatePrefix * @param string $translatePostfix * @param string $translateTextDomain * @param bool $translationEnabled */ public function __construct(array $values = array(), $translatePrefix = null, $translatePostfix = null, $translateTextDomain = null, $translationEnabled = true) { parent::__construct($translatePrefix, $translatePostfix, $translateTextDomain); $this->setValues($values)->setTranslationEnabled($translationEnabled); }