コード例 #1
0
ファイル: Documents.php プロジェクト: bersace/strass
 function findUnite()
 {
     $t = new Unites();
     $s = $t->select()->setIntegrityCheck(false)->from('unite')->join('unite_document', 'unite_document.unite = unite.id', array())->where('unite_document.document = ?', $this->id);
     return $t->fetchOne($s);
 }
コード例 #2
0
ファイル: Journaux.php プロジェクト: bersace/strass
 function findUnite()
 {
     $t = new Unites();
     $s = $t->select()->setIntegrityCheck(false)->from('unite')->join('journal', 'journal.unite = unite.id', array())->where('journal.id = ?', $this->journal);
     return $t->fetchOne($s);
 }