Recent Posts
XML | 23 sec ago
Bash | 30 sec ago
XML | 37 sec ago
None | 51 sec ago
C | 1 min ago
None | 1 min ago
Lua | 1 min ago
PAWN | 1 min ago
None | 1 min ago
VB.NET | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By keystr0k on the 28th of Mar 2009 03:08:51 PM
Download |
Raw |
Embed |
Report
/**
* Invokes the Drupal file.save service method for saving a photo to Drupal.
*
* @param fileObj File object that must contain the Base64 data of the file
* @param callback Callback function on success.
* @param data [Optional] Data passed as argument to callback function.
* @param reload [Optional] If set to true, then any cached data for the node is ignored,
* and the node is reloaded from the Drupal site.
*
* @return Success (true) or failure (false) of blocking initiation.
*/
public function savePhotoToDrupal(fileObj:Object, callback:Function, data:Object = null, reload:Boolean = false):Boolean {
return startBlocking(callback, data, 'file save', 'file.save', fileObj);
}
Submit a correction or amendment below.
Make A New Post