protected function _model()
    {
        if ($this->_model !== null) {
            return $this->_model;
        }

        $model = 'I18nMessages';
        if (!empty($this->params['model'])) {
            $model = $this->params['model'];
        }

        return $this->_model = TableRegistry::get($model);
    }
protected function _model()
    {
        if ($this->_model !== null) {
            return $this->_model;
        }

        $model = 'I18nMessages';
        if (!empty($this->params['model'])) {
            $model = $this->params['model'];
        }

        return $this->_model = TableRegistry::get($model);
    }
protected function _model ( ) { if ( $ this -> _model !== null ) { return $ this -> _model ; } $ model = 'I18nMessages' ; if ( ! empty ( $ this -> params [ 'model' ] ) ) { $ model = $ this -> params [ 'model' ] ; } return $ this -> _model = TableRegistry :: get ( $ model ) ; }
Get translation model.

@return \Cake\ORM\Table
Get translation model .