\pm_FileManager_Action

Content action for FileManager

Summary

Methods
Properties
Constants
lmsg()
getName()
getTitle()
getHref()
isActive()
isDefault()
No public properties found
No constants found
No protected methods found
$_item
N/A

Properties

$_item

$_item : array

File or directory item

[
    'name' => 'hello.txt',
    'modificationTimestamp' => '1380276799',
    'modificationDate' => 'Sep 27, 2013 05:13 PM',
    'size' => '8192',
    'formatedSize' => '8.0 KB',
    'user' => 'user_ifvbjsgcdk',
    'group' => 'psacln',
    'filePerms' => 'rw- r-- r-- ',
    'isDirectory' => false,
    'icon' => '/theme/icons/16/plesk/file-txt.png',
    'isReadonly' => false,
    'currentDir' => '/httpdocs',
]

Type

array

Methods

lmsg()

lmsg(string  $key,   $params = array()) : string

Retrieve translated message from locale file

Parameters

string $key
$params

Returns

string

getName()

getName() : string

Retrieve name for action

Returns

string

getTitle()

getTitle() : string

Retrieve title for action

Returns

string

getHref()

getHref() : string

Retrieve URL for action

Returns

string

isActive()

isActive() : boolean

Checks if action is available for a file

Returns

boolean

isDefault()

isDefault() : boolean

Checks if action is default for a file

Returns

boolean