setModelAlias($modelAlias); } if ($criteria instanceof Criteria) { $query->mergeWith($criteria); } return $query; } /** * Filters the query to target only LaNormal objects. */ public function preSelect(PropelPDO $con) { $this->addUsingAlias(LohnabrechnungPeer::CLASS_KEY, LohnabrechnungPeer::CLASSKEY_4); } /** * Filters the query to target only LaNormal objects. */ public function preUpdate(&$values, PropelPDO $con, $forceIndividualSaves = false) { $this->addUsingAlias(LohnabrechnungPeer::CLASS_KEY, LohnabrechnungPeer::CLASSKEY_4); } /** * Filters the query to target only LaNormal objects. */ public function preDelete(PropelPDO $con) { $this->addUsingAlias(LohnabrechnungPeer::CLASS_KEY, LohnabrechnungPeer::CLASSKEY_4); } /** * Issue a DELETE query based on the current ModelCriteria deleting all rows in the table * Having the LaNormal class. * This method is called by ModelCriteria::deleteAll() inside a transaction * * @param PropelPDO $con a connection object * * @return integer the number of deleted rows */ public function doDeleteAll($con) { // condition on class key is already added in preDelete() return parent::doDelete($con); } } // BaseLaNormalQuery