Beispiel #1
0
 /**
  * set_type
  *
  * This sets the type of XML_Data we are working on
  *
  * @param    string    $type    XML_Data type
  * @return    void
  */
 public static function set_type($type)
 {
     if (!in_array($type, array('rss', 'xspf', 'itunes'))) {
         return false;
     }
     self::$type = $type;
 }