/** * Constructor * * @param array $list List of allowe values OPTIONAL * * @return void */ public function __construct(array $list = array()) { parent::__construct(); $this->list[] = '1'; $this->list[] = '0'; }
/** * Constructor * * @param array $list List of allowe values OPTIONAL * * @return void */ public function __construct(array $list = array()) { parent::__construct(); $this->list = $list; }