function __construct($body, $attributes = array()) { parent::__construct($body, $attributes); if (!$body) { throw new PlivoError("No text set for " . $this->getName()); } }
function __construct($attributes = array()) { parent::__construct(NULL, $attributes); }
public function toXML($header = true) { $xml = parent::toXML($header); return $xml; }