getPriorities() public static method

public static getPriorities ( ) : string[]
return string[]
コード例 #1
0
ファイル: LogController.php プロジェクト: cannonerd/pimcore
 public function priorityJsonAction()
 {
     $priorities[] = array("key" => "-1", "value" => "-");
     foreach (ApplicationLoggerDb::getPriorities() as $key => $p) {
         $priorities[] = array("key" => $key, "value" => $p);
     }
     $this->_helper->json(array("priorities" => $priorities));
 }
コード例 #2
0
ファイル: LogController.php プロジェクト: pimcore/pimcore
 public function priorityJsonAction()
 {
     $priorities[] = ["key" => "-1", "value" => "-"];
     foreach (ApplicationLoggerDb::getPriorities() as $key => $p) {
         $priorities[] = ["key" => $key, "value" => $p];
     }
     $this->_helper->json(["priorities" => $priorities]);
 }