/** * Defines this model's attributes. * * @return array */ protected function defineAttributes() { return array_merge(parent::defineAttributes(), array('redirectChangeable' => array(AttributeType::Bool, 'default' => 1))); }