Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $blobTable = new Foo_Model_DbTable_barFileBlobs();
- $blobData = array(
- 'hash' => sha1_file($filePath),
- 'blob' => file_get_contents($filePath),
- );
- $row = $blobTable->createRow($blobData);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement