getPriorities() 공개 정적인 메소드

public static getPriorities ( ) : string[]
리턴 string[]
예제 #1
0
 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
 public function priorityJsonAction()
 {
     $priorities[] = ["key" => "-1", "value" => "-"];
     foreach (ApplicationLoggerDb::getPriorities() as $key => $p) {
         $priorities[] = ["key" => $key, "value" => $p];
     }
     $this->_helper->json(["priorities" => $priorities]);
 }