/** static */ function findBlob($id, $name) { $obj = new sotf_Blob(); $obj->set('object_id', $id); $obj->set('name', $name); $obj->find(); if ($obj->exists()) { return $obj->getBlob('data'); } else { return NULL; } }
/** static */ function findBlob($id, $name) { $obj = new sotf_Blob(); $obj->set('object_id', $id); $obj->set('name', $name); $obj->find(); if ($obj->exists()) { return $obj->getBlob('data'); } else { return NULL; } }