MEDIA NUM - Media count (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$MEDIA_NUM{media_id, I/E, I/V/P/D/S/R/A, category}

Description

The number of published/non published media items.

Parameters

media_id
A text parameter that can not be omitted.
The input media ID (10 character ID, see below) whose details you require.
I/E
A text parameter that can be omitted (it defaults to "E").
I
Include non-published media.
E
Exclude non-published media.
I/V/P/D/S/R/A
A text parameter that can be omitted (it defaults to "I").
I
Image Files.
V
Video Links.
P
PDF/XPS Files.
D
Document Files.
S
Spreadsheet Files.
R
Presentation Files.
A
Audio Files.
category
A text parameter that can be omitted.
The media category to include. This can be left blank to include all media categories.

Returns

A numeric value. The number of media published/non published media items.

See also

$MEDIA, $MEDIA_NUM.