Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Php Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jun 20, 2016
1 parent c726b7c commit 5ea466f
Showing 1 changed file with 16 additions and 1 deletion.
Expand Up @@ -67,6 +67,9 @@ public function init(ContextInterface $ctx, $options = [])
}
}

/**
* @inheritdoc
*/
protected function parseSpecificContributions(ContextInterface $ctx, \DOMNode &$contribNode)
{
parent::parseSpecificContributions($ctx, $contribNode);
Expand All @@ -88,6 +91,11 @@ protected function parseSpecificContributions(ContextInterface $ctx, \DOMNode &$
}
}

/**
* Hooked on msg.notifications
* @param AJXP_Notification $notification
* @throws Exception
*/
public function persistNotificationToAlerts(AJXP_Notification &$notification)
{
if ($this->eventStore) {
Expand Down Expand Up @@ -326,7 +334,11 @@ public function dismissUserAlert($actionName, $httpVars, $fileVars, ContextInter
$this->eventStore->dismissAlertById($ctx, $alertId, $oc);
}


/**
* @param \Psr\Http\Message\ServerRequestInterface $requestInterface
* @param \Psr\Http\Message\ResponseInterface $responseInterface
* @param \Pydio\Access\Core\Model\NodesList|null $nodesList
*/
public function loadUserAlerts(\Psr\Http\Message\ServerRequestInterface $requestInterface, \Psr\Http\Message\ResponseInterface &$responseInterface, \Pydio\Access\Core\Model\NodesList &$nodesList = null)
{
if(!$this->eventStore) return;
Expand Down Expand Up @@ -522,6 +534,9 @@ public function generateNotificationFromChangeHook(AJXP_Node $oldNode = null, AJ
}


/**
* @param AJXP_Notification $notif
*/
public function prepareNotification(AJXP_Notification &$notif)
{
$notif->setAuthor($this->userId);
Expand Down

0 comments on commit 5ea466f

Please sign in to comment.