コード例 #1
0
 /**
  * Flash used container names.
  *
  * @param Notification $notification
  * @return void
  */
 protected function flashContainerNames(Notification $notification)
 {
     $names = array();
     foreach ($notification->getContainers() as $container) {
         $names[] = $container->getName();
     }
     $this->getSession()->flash($this->getConfig()->get('notification.session_prefix') . 'containers', $names);
 }
コード例 #2
0
ファイル: _ide_helper.php プロジェクト: phillipmadsen/deved
 /**
  * Return array of available containers.
  *
  * @return array 
  * @static 
  */
 public static function getContainers()
 {
     return \Krucas\Notification\Notification::getContainers();
 }