Esempio n. 1
0
 public function countVAcaCostElses($criteria = null, $distinct = false, $con = null)
 {
     include_once 'lib/model/om/BaseVAcaCostElsePeer.php';
     if ($criteria === null) {
         $criteria = new Criteria();
     } elseif ($criteria instanceof Criteria) {
         $criteria = clone $criteria;
     }
     $criteria->add(VAcaCostElsePeer::PAYER_TYPE_ID, $this->getId());
     return VAcaCostElsePeer::doCount($criteria, $distinct, $con);
 }