Documentation

FileConstants
in package

A bunch of different constants

Table of Contents

Constants

ORDER_MANUAL  : mixed = 2
ORDER_NAME  : mixed = 1
ORDER_NEWEST  : mixed = 4
ORDER_NONE  : mixed = 0
ORDER_OLDEST  : mixed = 3
TYPE_DOCUMENT  : mixed = 1
TYPE_IMAGE  : mixed = 2
TYPE_NONE  : mixed = 0
Revisions
TYPE_OTHER  : mixed = 5
TYPE_SOUND  : mixed = 3
TYPE_VIDEO  : mixed = 4

Properties

$image_ratios  : mixed
$order_names  : mixed
$type_exts  : mixed
$type_names  : mixed

Constants

Properties

$image_ratios

public static mixed $image_ratios = ['portrait' => 0.91, 'square' => 1.1, 'landscape' => 2.0]

$order_names

public static mixed $order_names = array(self::ORDER_NAME => 'Alphabetically', self::ORDER_MANUAL => 'Manually', self::ORDER_OLDEST => 'Oldest first', self::ORDER_NEWEST => 'Newest first')

$type_exts

public static mixed $type_exts = array(self::TYPE_DOCUMENT => array('doc', 'docx', 'odt', 'txt', 'xls', 'xlsx', 'ods', 'csv', 'pdf', 'odp', 'ppt', 'pptx', 'pps', 'ppsx', 'rtf'), self::TYPE_IMAGE => array('jpg', 'jpeg', 'gif', 'png', 'webp'), self::TYPE_SOUND => array('mp3', 'aac', 'oga'), self::TYPE_VIDEO => array('flv', 'mp4', 'mpeg', 'mpg', 'webm', 'ogv', 'avi', 'mov', 'wmv'))

$type_names

public static mixed $type_names = array(self::TYPE_DOCUMENT => 'Document', self::TYPE_IMAGE => 'Image', self::TYPE_SOUND => 'Sound', self::TYPE_VIDEO => 'Video', self::TYPE_OTHER => 'Other')
On this page

Search results