Exemplo n.º 1
0
 public static function GetFieldsInfo($typeID)
 {
     $typeID = intval($typeID);
     switch ($typeID) {
         case self::Lead:
             return CCrmLead::GetFieldsInfo();
         case self::Contact:
             return CCrmContact::GetFieldsInfo();
         case self::Company:
             return CCrmCompany::GetFieldsInfo();
         case self::Deal:
             return CCrmDeal::GetFieldsInfo();
         case self::Quote:
             return CCrmQuote::GetFieldsInfo();
     }
     return null;
 }