returnUrls() public static méthode

public static returnUrls ( $forceRefresh = false )
Exemple #1
0
 public function returnEditView()
 {
     $configs = \Serverfireteam\Panel\Link::returnUrls();
     if (!isset($configs) || $configs == null) {
         throw new \Exception('NO URL is set yet !');
     } else {
         if (!in_array($this->entity, $configs)) {
             throw new \Exception('This url is not set yet !');
         } else {
             return \View::make('panelViews::edit', array('title' => $this->entity, 'edit' => $this->edit, 'helper_message' => $this->helper_message));
         }
     }
 }