/** * Load a single StewardshipStack object, * by StewardshipBatchId, StackNumber Index(es) * @param integer $intStewardshipBatchId * @param integer $intStackNumber * @return StewardshipStack */ public static function LoadByStewardshipBatchIdStackNumber($intStewardshipBatchId, $intStackNumber, $objOptionalClauses = null) { return StewardshipStack::QuerySingle(QQ::AndCondition(QQ::Equal(QQN::StewardshipStack()->StewardshipBatchId, $intStewardshipBatchId), QQ::Equal(QQN::StewardshipStack()->StackNumber, $intStackNumber)), $objOptionalClauses); }