private function _setDbPrefix()
    {
        if (! Agl::isInitialized()) {
            return $this;
        }

        $dbPrefix = Agl::app()->getConfig('main/db/prefix');
        if ($dbPrefix) {
            $this->_dbPrefix = $dbPrefix;
        }

        return $this;
    }