Exemplo n.º 1
0
 public function listPriorities()
 {
     return array('' => ' ') + Priority::lists('priority', 'id')->toArray();
 }
Exemplo n.º 2
0
 /**
  * get the list of priorities
  * @return mixed
  */
 protected function priorities()
 {
     return Priority::groupBy('priority')->lists('priority');
 }