Пример #1
0
 /**
  * Returns all the terms under a taxonomy type.
  *
  * $taxonomies currently this will only accept a string of the specified taxonomy
  *
  * @access public
  * @since  unknown
  * @deprecated 8.1.6 Use {@see cnTerm::tree()} instead.
  * @see cnTerm::tree()
  *
  * @param array $taxonomies
  * @param array $atts [optional]
  *
  * @return array
  */
 public function getTerms($taxonomies, $atts = array())
 {
     return cnTerm::tree($taxonomies, $atts);
 }
 /**
  * Returns all the category terms.
  *
  * @return object
  */
 public function categories()
 {
     return cnTerm::tree('category');
 }