PKPManageFileApiHandler::getUpdateNotifications PHP Méthode

getUpdateNotifications() protected méthode

Get the list of notifications to be updated on metadata form submission.
protected getUpdateNotifications ( ) : array
Résultat array
    protected function getUpdateNotifications()
    {
        return array(NOTIFICATION_TYPE_PENDING_EXTERNAL_REVISIONS);
    }

Usage Example

 /**
  * Get the list of notifications to be updated on metadata form submission.
  * @return array
  */
 protected function getUpdateNotifications()
 {
     $updateNotifications = parent::getUpdateNotifications();
     $updateNotifications[] = NOTIFICATION_TYPE_PENDING_INTERNAL_REVISIONS;
     return $updateNotifications;
 }