original_string: protected function _status($id, $status) {
  		if (!$this->{$this->modelClass}->changeStatus($id, $status)) {
  			return $this->alert('status.fail');
  		}
  		$this->alert('status.success');
  	}
code: protected function _status($id, $status) {
  		if (!$this->{$this->modelClass}->changeStatus($id, $status)) {
  			return $this->alert('status.fail');
  		}
  		$this->alert('status.success');
  	}
code_tokens: protected function _status ( $ id , $ status ) { if ( ! $ this -> { $ this -> modelClass } -> changeStatus ( $ id , $ status ) ) { return $ this -> alert ( 'status.fail' ) ; } $ this -> alert ( 'status.success' ) ; }
docstring: Common status action.
  
  @param string $id Model's record primary key value.
  @param string $status New status to change to.
  @return void
docstring_tokens: Common status action .