示例#1
0
 /**
  * Load an array of PackageType objects,
  * by CourierId Index(es)
  * @param integer $intCourierId
  * @param QQClause[] $objOptionalClauses additional optional QQClause objects for this query
  * @return PackageType[]
  */
 public static function LoadArrayByCourierId($intCourierId, $objOptionalClauses = null)
 {
     // Call PackageType::QueryArray to perform the LoadArrayByCourierId query
     try {
         return PackageType::QueryArray(QQ::Equal(QQN::PackageType()->CourierId, $intCourierId), $objOptionalClauses);
     } catch (QCallerException $objExc) {
         $objExc->IncrementOffset();
         throw $objExc;
     }
 }