post = $hooks->wrap($post); $this->settings = $hooks->wrap($settings); } public function execute() { $take = array( 'conflicts_calendar_only' ); foreach( $take as $k ){ $v = $this->post->get($k); $this->settings->set( $k, $v ); } $return = array( 'admin/conf/conflicts', '__Settings Updated__' ); return $return; } }