コード例 #1
0
 private function getPostData()
 {
     $this->serchData['fio'] = UOAManagerPanelSerchArray::getSerchData('fio');
     $this->serchData['phone'] = UOAManagerPanelSerchArray::getSerchData('phone');
     $this->serchData['message'] = UOAManagerPanelSerchArray::getSerchData('message');
     $this->serchData['totalStatus'] = UOAManagerPanelSerchArray::getSerchData('totalStatus');
 }
コード例 #2
0
 private function FilterType_groupSelect($FilterKey)
 {
     $value = UOAManagerPanelSerchArray::getSerchData($FilterKey);
     $filterId = 'UOAFilter_' . $FilterKey;
     $filterData = $this->getDataForFilter($FilterKey);
     if (empty($filterData)) {
         return '';
     }
     $out = '<div class="UOAFilterBlockValues" id="UOAFilterBlockValue_' . $FilterKey . '">';
     foreach ($filterData as $key => $val) {
         $out .= '<div class="UOAFilterFilter_GroupSelectElement">';
         $out .= InputHelper::checkbox($filterId . '[' . $key . ']', $filterId . '_' . $key, 'UOAFilter FilterTypeGroupSelect', FALSE, $val['value'], $value !== NULL && in_array($val['value'], $value), NULL);
         $out .= ' <label for="' . $filterId . '_' . $key . '">' . $val['text'] . '</label>';
         $out .= '<div></div>';
         $out .= '</div>';
     }
     $out .= '<div class="clear"></div>';
     $out .= '</div>';
     return $out;
 }