\Hazaar\View\Widgets
FileBrowser

Basic button widget.

Tags

Since

1.1

Summary
Methods Properties Constants
set
No constants
Properties
$div
$div
$jquery
$jquery
$name
$name
$settings
$settings
Methods
__construct()
__construct($name, $connect, $params = Array ( ) )

Initialise a file browser widget

Parameters

$namestring

The ID of the file browser element to create.

$connectstring

The URL to connect to

$params

No description

__toString()
__toString()
allowmultiple()
allowmultiple($value = true)

Parameters

$value

No description

autoexpand()
autoexpand($value)

Parameters

$value

No description

connect()
connect($url = true) : FileBrowser

Set the URL to connect to for directory data

Parameters

$urlstring

The URL to connect to.

Returns

\Hazaar\View\Widgets\FileBrowser
height()
height($pixels)

Parameters

$pixels

No description

listfolders()
listfolders($value = true) : FileBrowser

Set whether folders should be listed in the detail panel

Parameters

$valueboolean

True/false value. Default is true.

Returns

\Hazaar\View\Widgets\FileBrowser
previewsize()
previewsize($width = null, $height = null)

Parameters

$width

No description

$height

No description

set()
set($key, $value)

Parameters

$key

No description

$value

No description

showinfo()
showinfo($value = true)

Parameters

$value

No description

title()
title($title)

Parameters

$title

No description

useMeta()
useMeta($boolean = true)

Parameters

$boolean

No description

width()
width($pixels)

Parameters

$pixels

No description