◆ Attachments()
static Attachments |
( |
ArrayObject |
$attr, |
|
|
string |
$content |
|
) |
| |
|
static |
tpl:Attachments [attributes] : Post Attachments loop (tpl block)
- Parameters
-
ArrayObject | $attr | The attributes |
string | $content | The content |
- Returns
- string
◆ AttachmentsHeader()
static AttachmentsHeader |
( |
ArrayObject |
$attr, |
|
|
string |
$content |
|
) |
| |
|
static |
tpl:AttachmentsHeader : First attachments result container (tpl block)
- Parameters
-
ArrayObject | $attr | The attributes |
string | $content | The content |
- Returns
- string
◆ AttachmentsFooter()
static AttachmentsFooter |
( |
ArrayObject |
$attr, |
|
|
string |
$content |
|
) |
| |
|
static |
tpl:AttachmentsFooter : Last attachments result container (tpl block)
- Parameters
-
ArrayObject | $attr | The attributes |
string | $content | The content |
- Returns
- string
◆ AttachmentIf()
static AttachmentIf |
( |
ArrayObject |
$attr, |
|
|
string |
$content |
|
) |
| |
|
static |
tpl:AttachmentIf [attributes] : Include content if attachment tests is true (tpl block)
attributes:
- is_image (0|1) Attachment is an image (if 1), or not (if 0)
- has_thumb (0|1) Attachment has a square thumbnail (if 1), or not (if 0)
- is_mp3 (0|1) Attachment is a mp3 audio file (if 1), or not (if 0)
- is_flv (0|1) Attachment is a flv file (if 1), or not (if 0)
- is_audio (0|1) Attachment is an audio file (if 1), or not (if 0)
- is_video (0|1) Attachment is a video file (if 1), or not (if 0)
- Parameters
-
ArrayObject | $attr | The attributes |
string | $content | The content |
- Returns
- string
◆ AttachmentMimeType()
static AttachmentMimeType |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:AttachmentMimeType [attributes] : Attachment MIME type (tpl value)
attributes:
- any filters See dcTemplate::getFilters()
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
◆ AttachmentType()
static AttachmentType |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:AttachmentType [attributes] : Attachment type (tpl value)
attributes:
- any filters See dcTemplate::getFilters()
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
◆ AttachmentFileName()
static AttachmentFileName |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:AttachmentFileName [attributes] : Attachment file name (tpl value)
attributes:
- any filters See dcTemplate::getFilters()
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
◆ AttachmentSize()
static AttachmentSize |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:AttachmentSize [attributes] : Attachment size (tpl value)
attributes:
- full (0|1) Display size rounded to a human-readable value (in KB, MB, GB, TB)
- any filters See dcTemplate::getFilters()
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
◆ AttachmentTitle()
static AttachmentTitle |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:AttachmentTitle [attributes] : Attachment title (tpl value)
attributes:
- any filters See dcTemplate::getFilters()
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
◆ AttachmentThumbnailURL()
static AttachmentThumbnailURL |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:AttachmentThumbnailURL [attributes] : Attachment square thumbnail URL (tpl value)
attributes:
- any filters See dcTemplate::getFilters()
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
◆ AttachmentURL()
static AttachmentURL |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:AttachmentURL [attributes] : Attachment URL (tpl value)
attributes:
- any filters See dcTemplate::getFilters()
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
◆ MediaURL()
static MediaURL |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:MediaURL [attributes] : Context file URL (tpl value)
attributes:
- any filters See dcTemplate::getFilters()
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
◆ EntryAttachmentCount()
static EntryAttachmentCount |
( |
ArrayObject |
$attr | ) |
|
|
static |
tpl:EntryAttachmentCount [attributes] : Number of attachments for entry (tpl value)
attributes:
- none string Text to display for "no attachments" (default: no attachments)
- one string Text to display for "one attachment" (default: one attachment)
- more string Text to display for "more attachments" (default: %s attachments, see note 1)
Notes:
1) %s will be replaced by the number of attachments
- Parameters
-
ArrayObject | $attr | The attributes |
- Returns
- string
References dcCore\app().
The documentation for this class was generated from the following file: