Backend\Modules\Blog\Actions\EditComment::getData PHP Method

getData() private method

Get the data If a revision-id was specified in the URL we load the revision and not the actual data.
private getData ( )
    private function getData()
    {
        // get the record
        $this->record = (array) BackendBlogModel::getComment($this->id);
        // no item found, throw an exceptions, because somebody is fucking with our URL
        if (empty($this->record)) {
            $this->redirect(BackendModel::createURLForAction('Index') . '&error=non-existing');
        }
    }