Lines Matching refs:list

137                     $list = $this->getList(false,'department,surname,firstname,cfunction');
138 $renderer->doc .= $this->buildIndex($list,'department',$ID);
204 $list = $this->searchDB($_REQUEST['searchtext']);
205 if ($list != false){
206 if (count($list)<5) {
207 foreach ($list as $l) $renderer->doc .= $this->showcontact($l['id'],$ID);
208 } else $renderer->doc .= $this->buildIndex($list,false,$ID);
701 function names($list,$symbol=', '){ argument
703 foreach ($list as $l) if ($l != '') $res[]=$l;
736 function buildIndex($list=false,$separator=false,$target=false){ argument
739 if ($list===false){
740 $list =$this->getList();
741 if ($list === false) return;
745 if (!$separator) usort($list,'contact_custom_double_sort');
747 $out .= $this->getLang('elements').': '.count($list);
752 foreach ($list as $r){
799 function buildPrintList($list=false,$separator = false,$entriesperpage = 80){ argument
809 if ($list===false){
810 …$list =$this->getList(false,($separator == false? '': "$separator,").'surname,firstname,cfunction'…
811 if ($list === false) return;
815 if (!$separator) usort($list,'contact_custom_double_sort');
817 $amount = count($list);
823 $dep = $list[$c+1]['department'];
827 if ($list[$c+1]['department'] != $dep) {
838 …sert[] = array('position' => $c+$i_count, 'title' =>true, 'cfunction' => $list[$c+1]['department']…
841 $dep = $list[$c+1]['department'];
850 for ($c=0;$c<count($list);$c++){
856 $temp[] = $list[$c];
859 $list = $temp;
863 $amount = count($list);
885 if ($separator != false && $list[$d]['title'] == true) {
886 …n:underline;font-size:12px;text-align:left;background:white" colspan=4>'.$list[$d]['cfunction'].'<…
892 if ($d < $amount && !isset($list[$d]['title'])) {
894 …$out .= '<td style="text-align:left">'.$this->names(array($list[$d]['cfunction'],$list[$d]['surnam…
895 $out .= '<td>'.$list[$d]['tel1'].'</td>';
896 $out .= '<td>'.$list[$d]['tel2'].'</td>';
897 $out .= '<td>'.$list[$d]['fax'].'</td>';