/** * Check if the url is associated with some content. * * @param string $url the url to check. * @return boolean true if url is associated with content, otherwise false. */ public static function UrlHasContent($url) { $c = new CMContent(); return $c->ContentHasUrl($url); }