Esempio n. 1
0
 public static function retrieveByDropFolderIdAndFileName($dropFolderId, $fileName)
 {
     $c = new Criteria();
     $c->addAnd(DropFolderFilePeer::DROP_FOLDER_ID, $dropFolderId, Criteria::EQUAL);
     $c->addAnd(DropFolderFilePeer::FILE_NAME, $fileName, Criteria::EQUAL);
     $dropFolderFile = DropFolderFilePeer::doSelectOne($c);
     return $dropFolderFile;
 }