/**
  * Adds rows from the model to the bridge that creates the browse table.
  *
  * Overrule this function to add different columns to the browse table, without
  * having to recode the core table building code.
  *
  * @param \MUtil_Model_Bridge_VerticalTableBridge $bridge
  * @param \MUtil_Model_ModelAbstract $model
  * @return void
  */
 protected function addShowTableRows(\MUtil_Model_Bridge_VerticalTableBridge $bridge, \MUtil_Model_ModelAbstract $model)
 {
     if ($menuItem = $this->getEditMenuItem()) {
         // Add click to edit
         $bridge->tbody()->onclick = array('location.href=\'', $menuItem->toHRefAttribute($this->request), '\';');
     }
     parent::addShowTableRows($bridge, $model);
 }
 /**
  *
  * @param \MUtil_Model_Bridge_VerticalTableBridge $bridge
  * @return void
  */
 protected function addOnClick(\MUtil_Model_Bridge_VerticalTableBridge $bridge)
 {
     if ($this->onclick) {
         $bridge->tbody()->onclick = array('location.href=\'', $this->onclick, '\';');
     }
 }