/** * Set the 'description' feed element * * @access public * @see http://essfeed.org/index.php/ESS_structure * * @param String Event Feed description. * This XML element contain the main text event description. * ESS processors should use this content as main event description. * Using HTML inside this section is not recommended because ESS processors could * use this information in an environment that can not read HTML (car devices interface, iCal on mac...). * @return void */ public function setDescription($el = NULL) { if ($el != NULL) { if ($this->controlRoot('description', $el) == FALSE) { throw new Exception("Error: '< description >' element is mandatory."); return; } $this->setRootElement('description', FeedValidator::stripSpecificHTMLtags($el)); } }