Page MenuHomePhorge

FileUploadHashConduitAPIMethod.php
No OneTemporary

Size
804 B
Referenced Files
None
Subscribers
None

FileUploadHashConduitAPIMethod.php

<?php
final class FileUploadHashConduitAPIMethod extends FileConduitAPIMethod {
public function getAPIMethodName() {
return 'file.uploadhash';
}
public function getMethodStatus() {
return self::METHOD_STATUS_DEPRECATED;
}
public function getMethodStatusDescription() {
return pht(
'This method is deprecated. Callers should use "file.allocate" '.
'instead.');
}
public function getMethodDescription() {
return pht('Obsolete. Has no effect.');
}
protected function defineParamTypes() {
return array(
'hash' => 'required nonempty string',
'name' => 'required nonempty string',
);
}
protected function defineReturnType() {
return 'null';
}
protected function execute(ConduitAPIRequest $request) {
return null;
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, May 12, 9:19 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120306
Default Alt Text
FileUploadHashConduitAPIMethod.php (804 B)

Event Timeline