public function direct($item, $type = null, $text = null, $href = null)
 {
     $item = $this->_getItem($item, false);
     // Check to make sure we have an item
     if (!$item instanceof Core_Model_Item_Abstract) {
         return false;
     }
     $item = $item->getParent($type);
     return parent::direct($item, $text, $href);
 }
 public function direct($item, $type = null, $child_id = null)
 {
     $item = $this->_getItem($item, false);
     // Check to make sure we have an item
     if (!$item instanceof Core_Model_Item_Abstract) {
         return false;
     }
     $child_type = $item->getType() . '_' . $type;
     try {
         $item = Engine_Api::_()->getItem($child_type, $child_id);
     } catch (Exception $e) {
         // With no alarms and no surprises
         // No alarms and no surprises
         // No alarms and no surprises
         // Silent, silent
     }
     if (!$item instanceof Core_Model_Item_Abstract) {
         return false;
     }
     return parent::direct($item, $type);
 }