public function appendToXml(&$xmlRule)
    {
        $xmlAction = $xmlRule->addChild($this->action);
        $xmlAction->addChild($this->timeSpec, $this->timeValue);
    }
public function appendToXml(&$xmlRule)
    {
        $xmlAction = $xmlRule->addChild($this->action);
        $xmlAction->addChild($this->timeSpec, $this->timeValue);
    }
public function appendToXml ( & $ xmlRule ) { $ xmlAction = $ xmlRule -> addChild ( $ this -> action ) ; $ xmlAction -> addChild ( $ this -> timeSpec , $ this -> timeValue ) ; }
Use appendToXml to insert actions into xml.

@param \SimpleXMLElement $xmlRule
Use appendToXml to insert actions into xml .