예제 #1
0
 /**
  * Gets the category link of a category
  *
  * @param string $catname the title of the category
  * @return string
  * @deprecated since version 1.4.6
  */
 function getCategoryLink($catname)
 {
     Zenpage_internal_deprecations::getCategoryLink();
     foreach ($this->getAllCategories(false) as $cat) {
         if ($cat['titlelink'] == $catname) {
             return $cat['title'];
         }
     }
 }
 /**
  *
  * @global type $_zp_zenpage
  * @return type
  * @deprecated
  */
 function getCategoryLink()
 {
     Zenpage_internal_deprecations::getCategoryLink();
     return $this->getLink();
 }