PagesController::admin_delete PHP Method

admin_delete() public method

Controller::requestAction() で呼び出される
public admin_delete ( ) : boolean
return boolean
    public function admin_delete()
    {
        if (empty($this->request->data['entityId'])) {
            return false;
        }
        if ($this->Page->delete($this->request->data['entityId'])) {
            return true;
        }
        return false;
    }