コード例 #1
0
 public function processEntities($userId, $entityKey)
 {
     if (!$this->getEntityProcessed($userId, $entityKey)) {
         $notification = WallNotificationEntity::createFromId($entityKey);
         if (!empty($notification)) {
             $wn = new WallNotifications();
             $wn->addNotificationLinks([$userId], $notification);
         }
         $this->setEntityProcessed($userId, $entityKey);
     }
 }