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
ORDER_MANUAL
public
mixed
ORDER_MANUAL
= 2
ORDER_NAME
public
mixed
ORDER_NAME
= 1
ORDER_NEWEST
public
mixed
ORDER_NEWEST
= 4
ORDER_NONE
public
mixed
ORDER_NONE
= 0
ORDER_OLDEST
public
mixed
ORDER_OLDEST
= 3
TYPE_DOCUMENT
public
mixed
TYPE_DOCUMENT
= 1
TYPE_IMAGE
public
mixed
TYPE_IMAGE
= 2
TYPE_NONE
Revisions
public
mixed
TYPE_NONE
= 0
TYPE_OTHER
public
mixed
TYPE_OTHER
= 5
TYPE_SOUND
public
mixed
TYPE_SOUND
= 3
TYPE_VIDEO
public
mixed
TYPE_VIDEO
= 4
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')