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; } }
/** * 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); }