function construct()
 {
     $this->valid_components = array();
     $this->valid_properties = array('TZID' => RFC2445_REQUIRED | RFC2445_ONCE, 'LAST-MODIFIED' => RFC2445_OPTIONAL | RFC2445_ONCE, 'TZURL' => RFC2445_OPTIONAL | RFC2445_ONCE, 'STANDARDC' => RFC2445_OPTIONAL, 'DAYLIGHTC' => RFC2445_OPTIONAL, 'TZOFFSETFROM' => RFC2445_OPTIONAL | RFC2445_ONCE, 'TZOFFSETTO' => RFC2445_OPTIONAL | RFC2445_ONCE, 'X-PROP' => RFC2445_OPTIONAL);
     parent::construct();
 }
Пример #2
0
 function __construct()
 {
     $this->valid_components = array();
     $this->valid_properties = array('DTSTART' => RFC2445_REQUIRED | RFC2445_ONCE, 'TZOFFSETTO' => RFC2445_REQUIRED | RFC2445_ONCE, 'TZOFFSETFROM' => RFC2445_REQUIRED | RFC2445_ONCE, 'COMMENT' => RFC2445_OPTIONAL, 'RDATE' => RFC2445_OPTIONAL, 'RRULE' => RFC2445_OPTIONAL, 'TZNAME' => RFC2445_OPTIONAL, RFC2445_XNAME => RFC2445_OPTIONAL);
     parent::__construct();
 }
Пример #3
0
 function construct()
 {
     $this->properties = array('tzid' => RFC2445_REQUIRED | RFC2445_ONCE, 'last-modified' => RFC2445_OPTIONAL | RFC2445_ONCE, 'tzurl' => RFC2445_OPTIONAL | RFC2445_ONCE, 'standardc' => RFC2445_REQUIRED, 'daylightc' => RFC2445_REQUIRED, 'x-prop' => RFC2445_OPTIONAL);
     parent::construct();
 }
Пример #4
0
    function construct() {

        $this->properties = array(
            'tzid'        => RFC2445_REQUIRED | RFC2445_ONCE,
            'last-modified'    => RFC2445_OPTIONAL | RFC2445_ONCE,
            'tzurl'       => RFC2445_OPTIONAL | RFC2445_ONCE,
            // TODO: the next two are components of their own!
            'standardc'   => RFC2445_REQUIRED,
            'daylightc'   => RFC2445_REQUIRED,
            'x-prop'      => RFC2445_OPTIONAL
        );
        
        parent::construct();
    }