/**
  * The category metabox.
  *
  * @access public
  * @since  0.8
  * @param  cnEntry $entry   An instance of the cnEntry object.
  * @param  array   $metabox The metabox options array from self::register().
  * @return string           The category metabox.
  */
 public static function category($entry, $metabox)
 {
     echo '<div class="categorydiv" id="taxonomy-category">';
     echo '<div id="category-all" class="tabs-panel">';
     cnTemplatePart::walker('term-checklist', array('selected' => cnTerm::getRelationships($entry->getID(), 'category', array('fields' => 'ids'))));
     echo '</div>';
     echo '</div>';
 }