function fromXML($xmlElement) {
        if (isset($xmlElement->minutes)) $this->minutes = $xmlElement->minutes;
        if (isset($xmlElement->hours)) $this->hours = $xmlElement->hours;
        if (isset($xmlElement->state)) $this->state = $xmlElement->state;
        if (isset($xmlElement->date)) $this->date = $xmlElement->date;
    }
function fromXML($xmlElement) {
        if (isset($xmlElement->minutes)) $this->minutes = $xmlElement->minutes;
        if (isset($xmlElement->hours)) $this->hours = $xmlElement->hours;
        if (isset($xmlElement->state)) $this->state = $xmlElement->state;
        if (isset($xmlElement->date)) $this->date = $xmlElement->date;
    }
function fromXML ( $ xmlElement ) { if ( isset ( $ xmlElement -> minutes ) ) $ this -> minutes = $ xmlElement -> minutes ; if ( isset ( $ xmlElement -> hours ) ) $ this -> hours = $ xmlElement -> hours ; if ( isset ( $ xmlElement -> state ) ) $ this -> state = $ xmlElement -> state ; if ( isset ( $ xmlElement -> date ) ) $ this -> date = $ xmlElement -> date ; }
Initialization of the schedule from a simple xml element.

@param SimpleXMLElement $xmlElement
The xml element that is used to parse the schedule from.
Initialization of the schedule from a simple xml element .