Horde_ActiveSync_Message_Task::__construct PHP Метод

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

Const'r
См. также: Horde_ActiveSync_Message_Base::__construct()
public __construct ( array $options = [] )
$options array
    public function __construct(array $options = array())
    {
        parent::__construct($options);
        if ($this->_version < Horde_ActiveSync::VERSION_TWELVE) {
            $this->_mapping += array(self::POOMTASKS_BODY => array(self::KEY_ATTRIBUTE => 'body'), self::POOMTASKS_RTF => array(self::KEY_ATTRIBUTE => 'rtf'), self::POOMTASKS_BODYTRUNCATED => array(self::KEY_ATTRIBUTE => 'bodytruncated'));
            $this->_properties += array('body' => false, 'rtf' => false, 'bodytruncated' => 0);
        } else {
            $this->_mapping += array(Horde_ActiveSync::AIRSYNCBASE_BODY => array(self::KEY_ATTRIBUTE => 'airsyncbasebody', self::KEY_TYPE => 'Horde_ActiveSync_Message_AirSyncBaseBody'));
            $this->_properties += array('airsyncbasebody' => false);
        }
    }