예제 #1
0
 public function LoadByCustomFieldShortDescription($intCustomFieldId, $strShortDescription)
 {
     // Call CustomFieldValue::QueryArray to perform the LoadByCustFieldShortDescription query
     try {
         return CustomFieldValue::QuerySingle(QQ::AndCondition(QQ::Equal(QQN::CustomFieldValue()->CustomFieldId, $intCustomFieldId), QQ::Equal(QQN::CustomFieldValue()->ShortDescription, $strShortDescription)));
     } catch (QCallerException $objExc) {
         $objExc->IncrementOffset();
         throw $objExc;
     }
 }
예제 #2
0
 /**
  * Load a single CustomFieldValue object,
  * by CustomFieldValueId Index(es)
  * @param integer $intCustomFieldValueId
  * @return CustomFieldValue
  */
 public static function LoadByCustomFieldValueId($intCustomFieldValueId)
 {
     return CustomFieldValue::QuerySingle(QQ::Equal(QQN::CustomFieldValue()->CustomFieldValueId, $intCustomFieldValueId));
 }
 /**
  * Load a single CustomFieldValue object,
  * by CustomFieldValueId Index(es)
  * @param integer $intCustomFieldValueId
  * @return CustomFieldValue
  */
 public static function LoadByCustomFieldValueId($intCustomFieldValueId, $objOptionalClauses = null)
 {
     return CustomFieldValue::QuerySingle(QQ::Equal(QQN::CustomFieldValue()->CustomFieldValueId, $intCustomFieldValueId), $objOptionalClauses);
 }