Exemple #1
0
 /**
  *
  * Blob requests are ones that only want the content of a blob field in the database.
  * These requests are special in that they will not generally return a content-type of
  * text/html.  These are often images.
  *
  * @param $request  A reference to the global $_REQUEST variable generally.
  *
  */
 function _handleGetBlob($request)
 {
     import('Dataface/Application/blob.php');
     return Dataface_Application_blob::_handleGetBlob($request);
 }
Exemple #2
0
 /**
  * @brief Parses a request to obtain a related blob object.
  * @private 
  * Requests can ask for a related record's blob field.  When this happens
  * it has to be converted to a normal blob request.
  *
  * @param array $request The _REQUEST array.
  * @return array
  */
 function _parseRelatedBlobRequest($request)
 {
     import('Dataface/Application/blob.php');
     return Dataface_Application_blob::_parseRelatedBlobRequest($request);
 }