Ejemplo n.º 1
0
 /**
  * Returns the number of related BpmnLanes.
  *
  * @param      Criteria $criteria
  * @param      boolean $distinct
  * @param      Connection $con
  * @throws     PropelException
  */
 public function countBpmnLanes($criteria = null, $distinct = false, $con = null)
 {
     // include the Peer class
     include_once 'classes/model/om/BaseBpmnLanePeer.php';
     if ($criteria === null) {
         $criteria = new Criteria();
     } elseif ($criteria instanceof Criteria) {
         $criteria = clone $criteria;
     }
     $criteria->add(BpmnLanePeer::PRJ_UID, $this->getPrjUid());
     return BpmnLanePeer::doCount($criteria, $distinct, $con);
 }