/**
  * 
  * @param string content
  * @return boolean
  */
 public function matches($content = null)
 {
     if (!parent::matches($content)) {
         return false;
     }
     return preg_match($this->getRootNamespacePattern(), $this->getDomDocument()->documentElement->getAttribute('xmlns')) > 0;
 }
コード例 #2
0
ファイル: RssFeed.php プロジェクト: webignition/sitemap-model
 /**
  * 
  * @param string content
  * @return boolean
  */
 public function matches($content = null)
 {
     return parent::matches($content);
 }