* Returns the scenario that this model is used in. * * Scenario affects how validation is performed and which attributes can * be massively assigned. * * @return string the scenario that this model is in. Defaults to [[SCENARIO_DEFAULT]]. */
()
| 770 | * @return string the scenario that this model is in. Defaults to [[SCENARIO_DEFAULT]]. |
| 771 | */ |
| 772 | public function getScenario() |
| 773 | { |
| 774 | return $this->_scenario; |
| 775 | } |
| 776 | |
| 777 | /** |
| 778 | * Sets the scenario for the model. |
no outgoing calls
no test coverage detected