function prepare()
 {
     parent::prepare();
     if ($this->stepping != '') {
         $this->rexlist->setStepping($this->stepping);
     }
 }
 /**
  * Fügt der Liste eine Toolbar hinzu.
  * Diese muss ein Objekt vom Typ "rexlisttoolbar" sein!
  * 
  * @param $direction Stelle an der die Toolbar angefügt werden soll (top|bottom).
  * @param $mode Breite in der die Toolbar angezeigt werden soll (full|half).
  * @access public
  */
 function addToolbar(&$toolbar, $direction = 'top', $mode = 'full')
 {
     if (!in_array($direction, array('top', 'bottom'))) {
         trigger_error('rexList: Unexpected direction "' . $direction . '"!', E_USER_ERROR);
     }
     if (!in_array($mode, array('full', 'half'))) {
         trigger_error('rexList: Unexpected mode "' . $mode . '"!', E_USER_ERROR);
     }
     if (!rexListToolbar::isValid($toolbar)) {
         trigger_error('rexList: Unexpected type "' . gettype($toolbar) . '" for $column! Expecting "rexlisttoolbar"-object.', E_USER_ERROR);
     }
     $toolbar->rexlist =& $this;
     $this->toolbars[$direction][$mode][] =& $toolbar;
 }