About 23,096 results: "php array_unique"
Page 9 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On












  1. 	    $boards = $this->Complex->Board->find('all', array('fields' => array('complex_id'),'conditions' => array('Board.method' => $data['Filter'][$key])));
  2. 	    $conditions['Complex.id'] = array_unique(Set::extract('/Board/complex_id', $boards));
  3.     $regions = $this->Complex->find('list', array('recursive' => 0, 'fields' => array('region_name'), 'conditions'=> $conditions));
  4.     $this->set('regions', array_unique($regions));
  5.     $first_addrs = $this->Complex->find('list', array('recursive' => 0, 'fields' => array('first_addr'), 'conditions'=> $conditions));
  6.     $this->set('first_addrs', array_unique($first_addrs));
  7.     $mid_addrs = $this->Complex->find('list', array('recursive' => 0, 'fields' => array('mid_addr'), 'conditions'=> $conditions));
  8.     $this->set('mid_addrs', array_unique($mid_addrs));
  9.     $last_addrs = $this->Complex->find('list', array('recursive' => 0, 'fields' => array('last_addr'), 'conditions'=> $conditions));
  10.     $this->set('last_addrs', array_unique($last_addrs));
  11.     $methods = array_merge($board_methods, $life_methods);
  12.     $methods = array_unique($methods);
  13.     //$methods = $this->Complex->find('all', array('conditions'=> $conditions));
  14.     $this->set('methods', $methods); //array_unique(Set::extract('/Board/method', 'hahaha')));
  15. 	      $boards = $this->Complex->Board->find('all', array('fields' => array('complex_id'),'conditions' => array('Board.method' => $data['Filter'][$key])));
  16. 	      $conditions['Complex.id'] = array_unique(Set::extract('/Board/complex_id', $boards));








Back to Top