コード例 #1
0
 function get_all($order_by = "", $where = "")
 {
     $list = parent::get_list($order_by, $where, 0, 1000, 1000, 0);
     $list = $list["list"];
     if (!empty($list)) {
         $list = SimpleTeams::filterBeanList($list);
     }
     return $list;
 }
コード例 #2
0
ファイル: QuickSearch.php プロジェクト: delkyd/sugarcrm_dev
 /**
  * Merges current module search results to given list and returns it
  *
  * @param array $data
  * @param SugarBean $focus
  * @param string $orderBy
  * @param string $where
  * @param string $limit
  * @param boolean $singleSelect
  * @return array
  */
 protected function updateData($data, $focus, $orderBy, $where, $limit, $singleSelect = false)
 {
     $result = $focus->get_list($orderBy, $where, 0, $limit, -1, 0, $singleSelect);
     return array_merge($data, $result['list']);
 }