__set() public method

Variable names may not be prefixed with '_'.
public __set ( string $key, mixed $val )
$key string The variable name.
$val mixed The variable value.
Example #1
0
 /**
  * Sets a variable. See {@link View::__set()}.
  */
 public function __set($key, $val)
 {
     $this->innerView->__set($key, $val);
 }