Horde_ActiveSync_Collections::__set PHP Method

__set() public method

Property setter.
public __set ( $property, $value )
    public function __set($property, $value)
    {
        switch ($property) {
            case 'importedChanges':
            case 'shortSyncRequest':
            case 'hangingSync':
                $p = '_' . $property;
                $this->{$p} = $value;
                return;
            case 'lasthbsyncstarted':
            case 'lastsyncendnormal':
            case 'hbinterval':
            case 'wait':
                $this->_cache->{$property} = $value;
                return;
            case 'confirmed_synckeys':
                throw new InvalidArgumentException($property . ' is READONLY.');
        }
        throw new InvalidArgumentException('Unknown property: ' . $property);
    }