Changeset 2600


Ignore:
Timestamp:
Jan 11, 2012, 1:17:42 AM (8 years ago)
Author:
goya
Message:

debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/lib/model/doctrine/SeanceTable.class.php

    r2591 r2600  
    1010      return $commission->getSeanceByDateAndMoment($date, $heure, $session);
    1111    }
    12     return Doctrine::getTable('Seance')->findOneByTypeDateHeureSession('hemicycle', $date, $heure, $session);
     12    return $this->findOneByTypeDateHeureSession('hemicycle', $date, $heure, $session);
    1313  }
    1414
     
    1818      return $commission->getSeanceByDateAndMomentOrCreateIt($date, $heure, $session);
    1919    }
    20     return Doctrine::getTable('Seance')->findOneOrCreateIt('hemicycle', $date, $heure, $session);
     20    return $this->findOneOrCreateIt('hemicycle', $date, $heure, $session);
    2121  }
    2222
     
    2626
    2727  public function findOneOrCreateIt($type, $date, $heure, $session) {
    28     $s = findOneByTypeDateHeureSession($type, $date, $heure, $session);
     28    $s = $this->findOneByTypeDateHeureSession($type, $date, $heure, $session);
    2929    if (!$s) {
    3030      if ($type != 'hemicycle')
Note: See TracChangeset for help on using the changeset viewer.