Prado\I18N\core\CultureInfo::__set PHP Метод

__set() публичный Метод

Allow functions that begins with 'set' to be called directly as an attribute/property to set the value.
public __set ( $name, $value )
    function __set($name, $value)
    {
        $setProperty = 'set' . $name;
        if (in_array($setProperty, $this->properties)) {
            $this->{$setProperty}($value);
        } else {
            throw new Exception('Property ' . $name . ' can not be set.');
        }
    }