function addAction($action, $position = GRID_ACTION_POSITION_ABOVE) { if (!isset($this->_actions[$position])) { $this->_actions[$position] = array(); } $this->_actions[$position][$action->getId()] = $action; }