Exemplo n.º 1
0
 private function hasData($userId)
 {
     return (bool) RecentlyUsedTable::getList(array('select' => array('ID'), 'filter' => array('USER_ID' => $userId), 'limit' => 1))->fetchRaw();
 }
Exemplo 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();
 }