Пример #1
0
 function findPhoto()
 {
     $t = new Photos();
     $s = $t->select()->setIntegrityCheck(false)->from('photo')->where('photo.commentaires = ?', $this->parent);
     return $t->fetchOne($s);
 }