public function removeBulkAction($handlerClassName = null, $urlSegment = null)
    {
        if (!$handlerClassName && !$urlSegment) {
            user_error("Provide either a class name or URL segment", E_USER_ERROR);
        }

        foreach ($this->config['actions'] as $url => $class)
        {
            if ($handlerClassName === $class || $urlSegment === $url)
            {
                unset($this->config['actions'][$url]);
                return $this;
            }
        }

        user_error("Bulk action '$handlerClassName' or '$urlSegment' doesn't exists.", E_USER_ERROR);
    }
public function removeBulkAction($handlerClassName = null, $urlSegment = null)
    {
        if (!$handlerClassName && !$urlSegment) {
            user_error("Provide either a class name or URL segment", E_USER_ERROR);
        }

        foreach ($this->config['actions'] as $url => $class)
        {
            if ($handlerClassName === $class || $urlSegment === $url)
            {
                unset($this->config['actions'][$url]);
                return $this;
            }
        }

        user_error("Bulk action '$handlerClassName' or '$urlSegment' doesn't exists.", E_USER_ERROR);
    }
public function removeBulkAction ( $ handlerClassName = null , $ urlSegment = null ) { if ( ! $ handlerClassName && ! $ urlSegment ) { user_error ( "Provide either a class name or URL segment" , E_USER_ERROR ) ; } foreach ( $ this -> config [ 'actions' ] as $ url => $ class ) { if ( $ handlerClassName === $ class || $ urlSegment === $ url ) { unset ( $ this -> config [ 'actions' ] [ $ url ] ) ; return $ this ; } } user_error ( "Bulk action '$handlerClassName' or '$urlSegment' doesn't exists." , E_USER_ERROR ) ; }
Removes a bulk actions from the bulk manager interface.

@param string $handlerClassName RequestHandler class name of the action to remove.
@param string $urlSegment URL segment of the action to remove.

@return $this Current BulkManager instance
Removes a bulk actions from the bulk manager interface .