Beispiel #1
0
 private static function setSelectCustomField($ArField = array(), $BoUser = TRUE)
 {
     if (empty($ArField) || !is_array($ArField)) {
         self::$StSelectCustomField = '';
         return NULL;
     }
     if ($BoUser) {
         $StAlias = 'U2';
     } else {
         $StAlias = 'U1';
     }
     //	  (print_r($ArField,1));
     foreach ($ArField as $key => $StField) {
         $ArField[$key] = "{$StAlias}.{$StField}";
     }
     $StSelectCustomField = implode(',', $ArField) . ',';
     self::$StSelectCustomField = addslashes($StSelectCustomField);
 }