media.untrashFile

Syntax

void media.untrashFile ( mixed id, boolean recursive = false )

Argument Info

NameTypeRequiredDefault valueDescription
idmixedRequirednoneThis can be a single media ID or an array of valid media IDs.
recursivebooleanOptionalfalseThis optional argument allows you to untrash all recursive children of the specified media ID(s). For example this method will only untrash the specified media ID by default. To untrash all recursive children of the media specify this value as 1. Possible values are 0 => false and 1 => true.

Response

The response returned upon success of the request.

NameTypeDescriptionDefault Values
resultINT1 will be returned upon a successful request and response.1

Return Values

FieldDescriptionPossible Values