private function hasData($userId)
 {
     return (bool) RecentlyUsedTable::getList(array('select' => array('ID'), 'filter' => array('USER_ID' => $userId), 'limit' => 1))->fetchRaw();
 }
Esempio n. 2
0
 /**
  * Gets the fully qualified name of table class which belongs to current model.
  * @throws \Bitrix\Main\NotImplementedException
  * @return string
  */
 public static function getTableClassName()
 {
     return RecentlyUsedTable::className();
 }