$category_guid $category_guid : string The guid of the category that this file is associated with. Type string
$display_name $display_name : string A name to use when displaying this file (usually the same as the file name). Type string
$created $created : integer The unix timestamp of the time when this record was created. Type integer
$fields $fields : array|null An associative array of field names and values. May be null. Type array|null
__construct() __construct(array $in = null) Constructor Parameters array $in An array of properties and values to construct the object with.
get() get(string $key) : mixed Get a property value. See the properties of this object for valid values for $key Parameters string $key Returns mixed
fieldVal() fieldVal(string $key) : string|null Get the value of a single field, if it exists. Parameters string $key The field name Returns string|null
withCategory() withCategory(string $guid) : \CGBetterUploads\UploadWriteInterface Adjust the category of this upload. No checks are done to ensure that the category guid is valid, and no files are moved. Parameters string $guid Returns \CGBetterUploads\UploadWriteInterface
withSummary() withSummary(string $text = null) : \CGBetterUploads\UploadWriteInterface Adjust the summary of this upload. Parameters string $text Returns \CGBetterUploads\UploadWriteInterface
withDisplayName() withDisplayName(string $text = null) : \CGBetterUploads\UploadWriteInterface Adjust the display name of this file. No checks are performed to ensure that the data is valid. Parameters string $text The new display name. Returns \CGBetterUploads\UploadWriteInterface
withDescription() withDescription(string $text = null) : \CGBetterUploads\UploadWriteInterface Adjust the formatted description for this file. Parameters string $text The new display name. Returns \CGBetterUploads\UploadWriteInterface
withField() withField(string $field, string $val) : \CGBetterUploads\UploadWriteInterface set a field value for the upload. Parameters string $field The field name. string $val Returns \CGBetterUploads\UploadWriteInterface