/**
  * Perform the joins necessary to create a full category record
  */
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->getSelect()->where('taxonomy.taxonomy=?', 'category');
     if (Mage::helper('wordpress')->isPluginEnabled('taxonomy-terms-order', false)) {
         $this->getSelect()->order('main_table.term_order ASC');
     } else {
         $this->getSelect()->order('main_table.term_id ASC');
     }
     return $this->getSelect();
 }
 /**
  * Perform the joins necessary to create a full category record
  */
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->getSelect()->where('taxonomy.taxonomy=?', 'link_category');
     return $this->getSelect();
 }
 /**
  * Filter the term collection so that only nav_menu's are included
  *
  * @return $this
  */
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->getSelect()->where('taxonomy.taxonomy=?', $this->getNewEmptyItem()->getTaxonomy());
     return $this;
 }
 /**
  * Perform the joins necessary to create a full category record
  */
 protected function _initSelect()
 {
     parent::_initSelect();
     $this->getSelect()->where('taxonomy.taxonomy=?', 'post_tag');
     return $this->getSelect();
 }