/**
  * protected функция считывает данные из таблицы БД
  *
  * @return bool
  */
 protected function pGetCategorys()
 {
     if (CONF_ENABLE_CACHING) {
         if ($this->getCachingEntrys()) {
             return true;
         } else {
             // записываем в робота дату обновления кеша
             $articles = new articles();
             $strWhere = "token IN ('active') AND datetime>NOW()";
             $arrFields = array('datetime');
             $arrArticle = $articles->getArticle($strWhere, $arrFields);
             $arrRobotData[$this->retTableName()] = !empty($arrArticle['datetime']) ? strtotime($arrArticle['datetime']) : false;
             robot::putClearCacheData($arrRobotData);
             return !$this->getSubSelectEntrys(false, true, $this->pRetCategoryConf()) ? false : $this->setCachingEntrys();
         }
     } else {
         return !$this->getSubSelectEntrys(false, true, $this->pRetCategoryConf()) ? false : true;
     }
 }