String
— name of the object (used when creating the links)
$contents
$contents : array
Type
array
— The contents of the accordion
$opened
$opened : integer
Type
integer
— Which panel (if any) should be opened
Methods
__toString()
__toString() : string
Calls the render method on the object. If an exception is thrown,
it catches it and displays an error message
Returns
string
render()
render() : string
Renders the accordion
Returns
string
withAttributes()
withAttributes(array $attributes) : $this
Set the attributes of the object
Parameters
array
$attributes
The attributes to use
Returns
$this
named()
named( $name) : $this
Name the accordion
Parameters
$name
The name of the accordion
Returns
$this
withContents()
withContents(array $contents) : $this
Add the contents for the accordion. Should be an array of arrays
<strong>Expected Keys</strong>:
<ul>
<li>title</li>
<li>contents</li>
<li>attributes (optional)</li>
</ul>
Parameters
array
$contents
Returns
$this
open()
open( $integer) : $this
Sets which panel should be opened. Numbering begins from 0.
Parameters
$integer
int
Returns
$this
Accordion.php
================================================
FILE: docs/classes/Bootstrapper.Alert.html
================================================
API Documentation
Calls the render method on the object. If an exception is thrown,
it catches it and displays an error message
Returns
string
render()
render() : string
Renders the breadcrumb
Returns
string
withAttributes()
withAttributes(array $attributes) : $this
Set the attributes of the object
Parameters
array
$attributes
The attributes to use
Returns
$this
withLinks()
withLinks( $links) : $this
Set the links for the breadcrumbs. Expects an array of the following:
<ul>
<li>An array, with keys <code>link</code> and <code>text</code></li>
<li>A string for the active link
</ul>
Parameters
$links
array
Returns
$this
renderLink()
renderLink( $text, $link) : string
Renders the link
Parameters
$text
$link
Returns
string
Breadcrumb.php
================================================
FILE: docs/classes/Bootstrapper.Button.html
================================================
API Documentation
array
— The contents of the carousel. Should be an array of arrays,
with the inner arrays having the following keys:
<dl><dt>image</dt><dd>A path to the image</dd> <dt>alt</dt><dd>The alt
text for the image</dd> <dt>caption (optional)</dt><dd>The caption for
that slide</dd></dl>
$active
$active : integer
Type
integer
— Which slide should be active at the beginning
Methods
__toString()
__toString() : string
Calls the render method on the object. If an exception is thrown,
it catches it and displays an error message
Returns
string
render()
render() : string
Renders the carousel
Returns
string
withAttributes()
withAttributes(array $attributes) : $this
Set the attributes of the object
Parameters
array
$attributes
The attributes to use
Returns
$this
named()
named(string $name) : $this
Names the carousel
Parameters
string
$name
The name of the carousel
Returns
$this
withContents()
withContents(array $contents) : $this
Sets the contents of the carousel
Parameters
array
$contents
The new contents. Should be an array of arrays,
with the inner keys being "image", "alt" and
(optionally) "caption"
Returns
$this
renderIndicators()
renderIndicators() : string
Renders the indicators
Returns
string
renderItems()
renderItems() : string
Renders the items of the carousel
Returns
string
renderControls()
renderControls() : string
Renders the controls of the carousel
Returns
string
Carousel.php
================================================
FILE: docs/classes/Bootstrapper.ControlGroup.html
================================================
API Documentation
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
array
— The links. It should be an array of arrays with the inner
array having the following keys:
<ul>
<li>title - The text to show</li>
<li>link - The link</li>
<li>active - (optional) Forces the link to be active</li>
<li>disabled - (optional) Forces the link to be disabled. Note that
active has priority over this</li>
<li>linkAttributes - The attributes for the link</li>
<li>callback - A callback. If it return a result that is EXACTLY
equal to false then the link won't be shown</li>
</ul>
To create a dropdown, the inner array should instead be [$title, $links],
where $links is an array of arrays for links
$url
$url : \Illuminate\Routing\UrlGenerator
Type
\Illuminate\Routing\UrlGenerator
— A laravel URL generator
$autoroute
$autoroute : boolean
Type
boolean
— Whether we should automatically activate links
$justified
$justified : boolean
Type
boolean
— Whether the links are justified or not
$stacked
$stacked : boolean
Type
boolean
— Whether the navigation links are stacked or not
$right
$right : boolean
Type
boolean
— Whether the navigation links float right or not
Methods
__toString()
__toString() : string
Calls the render method on the object. If an exception is thrown,
it catches it and displays an error message
array
— The contents of the navigation. Should be an array of
arrays, with the following inner keys:
<ul>
<li>title - the title of the content</li>
<li>content - the actual content</li>
<li>attributes (optional) - any attributes</li>
</ul>
$active
$active : integer
Type
integer
— Which tab should be open first
$type
$type : string
Type
string
— The type
$fade
$fade : boolean
Type
boolean
— Whether we should fade in or not
Methods
__toString()
__toString() : string
Calls the render method on the object. If an exception is thrown,
it catches it and displays an error message
Accordion Class
Creates Bootstrap 3 compliant accordions
================================================
FILE: docs/files/Accordion.php.txt
================================================
name = $name;
return $this;
}
/**
* Add the contents for the accordion. Should be an array of arrays
* Expected Keys:
*
*
title
*
contents
*
attributes (optional)
*
*
* @param array $contents
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Set the attributes of the accordion
*
* @param $attributes array The attributes to use
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Sets which panel should be opened. Numbering begins from 0.
*
* @param $integer int
* @return $this
*/
public function open($integer)
{
$this->opened = $integer;
return $this;
}
/**
* Renders the accordion
*
* @return string
*/
public function render()
{
if (!$this->name) {
$this->name = Helpers::generateId($this);
}
$attributes = new Attributes(
$this->attributes,
['class' => 'panel-group', 'id' => $this->name]
);
$string = "
* @return boolean true on success or false on failure.
*
*
* The return value will be casted to boolean if
* non-boolean was returned.
*/
public function offsetExists($offset)
{
return array_key_exists($offset, $this->attributes);
}
/**
* (PHP 5 >= 5.0.0)
* Offset to retrieve
*
* @link http://php.net/manual/en/arrayaccess.offsetget.php
* @param mixed $offset
* The offset to retrieve.
*
* @return mixed Can return all value types.
*/
public function offsetGet($offset)
{
return $this->attributes[$offset];
}
/**
* (PHP 5 >= 5.0.0)
* Offset to set
*
* @link http://php.net/manual/en/arrayaccess.offsetset.php
* @param mixed $offset
* @return void
*/
public function offsetUnset($offset)
{
unset($this->attributes[$offset]);
}
/**
* Adds to to the class attributes
*
* @param $class string The class to add
* @return $this
*/
public function addClass($class)
{
$this->attributes['class'] = isset($this->attributes['class']) ? $this->attributes['class'] . " {$class}" : $class;
return $this;
}
}
================================================
FILE: docs/files/Badge.html
================================================
API Documentation
";
return $string;
}
}
================================================
FILE: docs/files/Bootstrapper%2FAlert.php.txt
================================================
type = $type;
return $this;
}
/**
* Renders the alert
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
['class' => "alert {$this->type}"]
);
if ($this->closer) {
$attributes->addClass('alert-dismissable');
$this->contents = "{$this->contents}";
}
return "
{$this->contents}
";
}
/**
* Creates an info alert box
*
* @param string $contents
* @return $this
*/
public function info($contents = '')
{
return $this->setType(self::INFO)->withContents($contents);
}
/**
* Creates a success alert box
*
* @param string $contents
* @return $this
*/
public function success($contents = '')
{
return $this->setType(self::SUCCESS)->withContents($contents);
}
/**
* Creates a warning alert box
*
* @param string $contents
* @return $this
*/
public function warning($contents = '')
{
return $this->setType(self::WARNING)->withContents($contents);
}
/**
* Creates a danger alert box
*
* @param string $contents
* @return $this
*/
public function danger($contents = '')
{
return $this->setType(self::DANGER)->withContents($contents);
}
/**
* Sets the contents of the alert box
*
* @param $contents
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Adds a close button with the given text
*
* @param string $closer
* @return $this
*/
public function close($closer = '×')
{
$this->closer = $closer;
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FAttributes.php.txt
================================================
attributes = array_merge($defaults, $attributes);
if (isset($attributes['class']) && isset($defaults['class'])) {
$this->attributes['class'] = trim(
"{$defaults['class']} {$attributes['class']}"
);
}
}
/**
* Renders the HTML attributes
*
* @return string
*/
public function __toString()
{
$string = "";
foreach ($this->attributes as $param => $value) {
if ($value == '') {
continue;
}
if (is_string($param)) {
$value = str_replace("'", "\'", $value);
$value = htmlentities(trim($value));
$string .= "{$param}='{$value}' ";
} else {
$value = htmlentities(trim($value));
$string .= "{$value} ";
}
}
return trim($string);
}
/**
* (PHP 5 >= 5.0.0)
* Whether a offset exists
*
* @link http://php.net/manual/en/arrayaccess.offsetexists.php
* @param mixed $offset
* An offset to check for.
*
* @return boolean true on success or false on failure.
*
*
* The return value will be casted to boolean if
* non-boolean was returned.
*/
public function offsetExists($offset)
{
return array_key_exists($offset, $this->attributes);
}
/**
* (PHP 5 >= 5.0.0)
* Offset to retrieve
*
* @link http://php.net/manual/en/arrayaccess.offsetget.php
* @param mixed $offset
* The offset to retrieve.
*
* @return mixed Can return all value types.
*/
public function offsetGet($offset)
{
return $this->attributes[$offset];
}
/**
* (PHP 5 >= 5.0.0)
* Offset to set
*
* @link http://php.net/manual/en/arrayaccess.offsetset.php
* @param mixed $offset
* @return void
*/
public function offsetUnset($offset)
{
unset($this->attributes[$offset]);
}
/**
* Adds to to the class attributes
*
* @param $class string The class to add
* @return $this
*/
public function addClass($class)
{
$this->attributes['class'] = isset($this->attributes['class']) ?
trim($this->attributes['class']) . " {$class}" :
$class;
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FBadge.php.txt
================================================
attributes, ['class' => 'badge']);
$string = "{$this->contents}";
return $string;
}
/**
* Adds contents to the badge
*
* @param $contents
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FBootstrapperServiceProvider.php.txt
================================================
registerAccordion();
$this->registerAlert();
$this->registerBadge();
$this->registerBreadcrumb();
$this->registerButtonGroup();
$this->registerButton();
$this->registerCarousel();
$this->registerControlGroup();
$this->registerDropdownButton();
$this->registerFormBuilder();
$this->registerIcon();
$this->registerImage();
$this->registerInputGroup();
$this->registerHelpers();
$this->registerLabel();
$this->registerMediaObject();
$this->registerModal();
$this->registerNavbar();
$this->registerNavigation();
$this->registerPanel();
$this->registerProgressBar();
$this->registerTabbable();
$this->registerTable();
$this->registerThumbnail();
$this->package('patricktalmadge/bootstrapper');
$this->app['config']->package(
'patricktalmadge/bootstrapper',
__DIR__ . '/../config'
);
}
/**
* Registers the Accordion class in the IoC
*/
private function registerAccordion()
{
$this->app->bind(
'bootstrapper::accordion',
function () {
return new Accordion();
}
);
}
/**
* Registers the Alert class in the IoC
*/
private function registerAlert()
{
$this->app->bind(
'bootstrapper::alert',
function () {
return new Alert();
}
);
}
/**
* Registers the Badge class into the IoC
*/
private function registerBadge()
{
$this->app->bind(
'bootstrapper::badge',
function () {
return new Badge;
}
);
}
/**
* Registers the Breadcrumb class into the IoC
*/
private function registerBreadcrumb()
{
$this->app->bind(
'bootstrapper::breadcrumb',
function () {
return new Breadcrumb;
}
);
}
/**
* Registers the ButtonGroup class into the IoC
*/
private function registerButtonGroup()
{
$this->app->bind(
'bootstrapper::buttongroup',
function () {
return new ButtonGroup;
}
);
}
/**
* Registers the Button class into the IoC
*/
private function registerButton()
{
$this->app->bind(
'bootstrapper::button',
function () {
return new Button;
}
);
}
/**
* Registers the Carousel class into the IoC
*/
private function registerCarousel()
{
$this->app->bind(
'bootstrapper::carousel',
function () {
return new Carousel;
}
);
}
/**
* Registers the ControlGroup class into the IoC
*/
private function registerControlGroup()
{
$this->app->bind(
'bootstrapper::controlgroup',
function ($app) {
return new ControlGroup($app['bootstrapper::form']);
}
);
}
/**
* Registers the DropdownButton class into the IoC
*/
private function registerDropdownButton()
{
$this->app->bind(
'bootstrapper::dropdownbutton',
function () {
return new DropdownButton;
}
);
}
/**
* Registers the FormBuilder class into the IoC
*/
private function registerFormBuilder()
{
$this->app->bindShared(
'bootstrapper::form',
function ($app) {
$form = new Form(
$app['html'],
$app['url'],
$app['session.store']->token()
);
return $form->setSessionStore($app['session.store']);
}
);
}
/**
* Registers the Icon class into the IoC
*/
private function registerIcon()
{
$this->app->bind(
'bootstrapper::icon',
function ($app) {
return new Icon($app['config']);
}
);
}
/**
* Registers the Image class into the IoC
*/
private function registerImage()
{
$this->app->bind(
'bootstrapper::image',
function () {
return new Image;
}
);
}
/**
* Registers the InputGroup class into the IoC
*/
private function registerInputGroup()
{
$this->app->bind(
'bootstrapper::inputgroup',
function () {
return new InputGroup;
}
);
}
/**
* Registers the Label class into the IoC
*/
private function registerLabel()
{
$this->app->bind(
'bootstrapper::label',
function () {
return new Label;
}
);
}
/**
* Registers the Helpers class into the IoC
*/
private function registerHelpers()
{
$this->app->bind(
'bootstrapper::helpers',
function ($app) {
return new Helpers($app['config']);
}
);
}
/**
* Registers the MediaObject class into the IoC
*/
private function registerMediaObject()
{
$this->app->bind(
'bootstrapper::mediaobject',
function () {
return new MediaObject;
}
);
}
/**
* Registers the Modal class into the IoC
*/
private function registerModal()
{
$this->app->bind(
'bootstrapper::modal',
function () {
return new Modal;
}
);
}
/**
* Registers the Navbar class into the IoC
*/
private function registerNavbar()
{
$this->app->bind(
'bootstrapper::navbar',
function ($app) {
return new Navbar($app['url']);
}
);
}
/**
* Registers the Navigation class into the IoC
*/
private function registerNavigation()
{
$this->app->bind(
'bootstrapper::navigation',
function ($app) {
return new Navigation($app['url']);
}
);
}
/**
* Registers the Panel class into the IoC
*/
private function registerPanel()
{
$this->app->bind(
'bootstrapper::panel',
function () {
return new Panel;
}
);
}
/**
* Registers the ProgressBar class into the IoC
*/
private function registerProgressBar()
{
$this->app->bind(
'bootstrapper::progressbar',
function () {
return new ProgressBar;
}
);
}
/**
* Registers the Tabbable class into the IoC
*/
private function registerTabbable()
{
$this->app->bind(
'bootstrapper::tabbable',
function ($app) {
return new Tabbable($app['navigation']);
}
);
}
/**
* Registers the Table class into the IoC
*/
private function registerTable()
{
$this->app->bind(
'bootstrapper::table',
function () {
return new Table;
}
);
}
/**
* Registers the Thumbnail class into the IoC
*/
private function registerThumbnail()
{
$this->app->bind(
'bootstrapper::thumbnail',
function () {
return new Thumbnail;
}
);
}
}
================================================
FILE: docs/files/Bootstrapper%2FBreadcrumb.php.txt
================================================
attributes,
['class' => 'breadcrumb']
);
$string = "";
foreach ($this->links as $text => $link) {
$string .= $this->renderLink($text, $link);
}
$string .= "";
return $string;
}
/**
* Set the links for the breadcrumbs. Expects an array of the following:
*
*
An array, with keys link and text
*
A string for the active link
*
*
* @param $links array
* @return $this
*/
public function withLinks(array $links)
{
$this->links = $links;
return $this;
}
/**
* Renders the link
*
* @param $text
* @param $link
* @return string
*/
protected function renderLink($text, $link)
{
$string = "";
if (is_string($text)) {
$string .= "
";
if ($this->label) {
$string .= $this->renderLabel();
}
if ($this->controlSize) {
$string .= $this->createControlDiv();
}
if (is_array($this->contents)) {
$string .= $this->renderArrayContents();
} else {
$string .= $this->contents;
}
$string .= $this->help;
if ($this->controlSize) {
$string .= "
";
}
$string .= "
";
return $string;
}
/**
* Set the attributes of the control group
*
* @param array $attributes The attributes array
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Adds the contents to the control group
*
* @param string $contents The contents of the control group
* @param null $controlSize |int The size of the form control
* @return $this
* @throws ControlGroupException If is $controlSize set and not between 1
* and 12
*/
public function withContents($contents, $controlSize = null)
{
if (isset($controlSize) && $this->sizeIsInvalid($controlSize)) {
throw new ControlGroupException(
'That content size is incorrect - it must be between 1 and 12'
);
}
$this->contents = $contents;
$this->controlSize = $controlSize;
return $this;
}
/**
* Sets the label of the control group
*
* @param string $label The label
* @param null $labelSize |int The size of the label
* @return $this
* @throws ControlGroupException If is $labelSize set and not between 1
* and 12
*/
public function withLabel($label, $labelSize = null)
{
if (isset($labelSize) && $this->sizeIsInvalid($labelSize)) {
throw new ControlGroupException(
'That label size is incorrect - it must be between 1 and 12'
);
}
$this->label = $label;
$this->labelSize = $labelSize;
return $this;
}
/**
* Adds a help block
*
* @param string $help The help information
* @return $this
*/
public function withHelp($help)
{
$this->help = $help;
return $this;
}
/**
* Generates a full control group with a label, control and help block
*
* @param string $label The label
* @param string $control The form control
* @param string $help The help text
* @param int $labelSize The size of the label
* @param int $controlSize The size of the form control
* @return $this
* @throws ControlGroupException if the sizes are invalid
*/
public function generate(
$label,
$control,
$help = null,
$labelSize = null,
$controlSize = null
) {
if ($this->sizesAreInvalid($labelSize, $controlSize)) {
throw new ControlGroupException(
'The label size + control size must be between 1 and 12'
);
}
return $this->withLabel($label, $labelSize)
->withContents($control, $controlSize)
->withHelp($help);
}
/**
* Renders the contents if given as an array
*
* @return string
*/
protected function renderArrayContents()
{
$string = '';
foreach ($this->contents as $item) {
if (isset($item['label'])) {
$string .= call_user_func_array(
[$this->formBuilder, 'label'],
$item['label']
) . ' ';
}
$input_args = $item['input'];
$type = $input_args['type'];
unset($input_args['type']);
$string .= call_user_func_array(
[$this->formBuilder, $type],
$input_args
);
$string .= ' ';
}
return $string;
}
/**
* Renders the label
*
* @return string
*/
public function renderLabel()
{
$string = '';
if ($this->labelSize) {
$this->controlSize = $this->controlSize ?: 12 - $this->labelSize;
$this->label = preg_replace(
"/class=('|\")(.*)('|\")/i",
sprintf('class=${1}${2} col-sm-%s${3}', $this->labelSize),
$this->label
);
}
$string .= $this->label;
return $string;
}
/**
* Creates the div to surround the form control
*
* @return string
*/
public function createControlDiv()
{
return sprintf("
", $this->controlSize);
}
/**
* Checks if both the label size and control size are invalid
*
* @param int $labelSize The size of the label
* @param int $controlSize The size of the control group
* @return bool
*/
protected function sizesAreInvalid($labelSize = null, $controlSize = null)
{
// If both are null then we have a valid size
if (!isset($labelSize) && !isset($controlSize)) {
return false;
}
// So at least one of these is null
if (isset($labelSize)) {
if ($this->sizeIsInvalid($labelSize)) {
return true;
}
} else {
$labelSize = 0;
}
if (isset($controlSize)) {
if ($this->sizeIsInvalid($controlSize)) {
return true;
}
} else {
$controlSize = 0;
}
return $this->sizeIsInvalid($labelSize + $controlSize);
}
/**
* Checks if the size is invalid
*
* @param int $size The size
* @return bool True if the size is below 1 or greater than 11,
* false otherwise
*/
protected function sizeIsInvalid($size)
{
return $size < 1 || $size > 11;
}
}
================================================
FILE: docs/files/Bootstrapper%2FDropdownButton.php.txt
================================================
";
/**
* Constant for primary buttons
*/
const PRIMARY = 'btn-primary';
/**
* Constant for danger buttons
*/
const DANGER = 'btn-danger';
/**
* Constant for warning buttons
*/
const WARNING = 'btn-warning';
/**
* Constant for success buttons
*/
const SUCCESS = 'btn-success';
/**
* Constant for default buttons
*/
const NORMAL = 'btn-default';
/**
* Constant for info buttons
*/
const INFO = 'btn-info';
/**
* Constant for large buttons
*/
const LARGE = 'btn-lg';
/**
* Constant for small buttons
*/
const SMALL = 'btn-sm';
/**
* Constant for extra small buttons
*/
const EXTRA_SMALL = 'btn-xs';
/**
* @var string The label for this button
*/
protected $label;
/**
* @var array The contents of the dropdown button
*/
protected $contents = [];
/**
* @var string The type of the button
*/
protected $type = 'btn-default';
/**
* @var string The size of the button
*/
protected $size;
/**
* @var bool Whether the drop icon should be a seperate button
*/
protected $split = false;
/**
* @var bool Whether the button should drop up
*/
protected $dropup = false;
/**
* Set the label of the button
*
* @param $label
* @return $this
*/
public function labelled($label)
{
$this->label = $label;
return $this;
}
/**
* Set the contents of the button
*
* @param array $contents The contents of the dropdown button
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the type of the button
*
* @param string $type The type of the button
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the size of the button
*
* @param string $size The size of the button
* @return $this
*/
public function setSize($size)
{
$this->size = $size;
return $this;
}
/**
* Splits the button
*
* @return $this
*/
public function split()
{
$this->split = true;
return $this;
}
/**
* Sets the button to drop up
*
* @return $this
*/
public function dropup()
{
$this->dropup = true;
return $this;
}
/**
* Creates a normal dropdown button
*
* @param string $label The label
* @return $this
*/
public function normal($label = '')
{
$this->setType(self::NORMAL);
return $this->labelled($label);
}
/**
* Creates a primary dropdown button
*
* @param string $label The label
* @return $this
*/
public function primary($label = '')
{
$this->setType(self::PRIMARY);
return $this->labelled($label);
}
/**
* Creates a danger dropdown button
*
* @param string $label The label
* @return $this
*/
public function danger($label = '')
{
$this->setType(self::DANGER);
return $this->labelled($label);
}
/**
* Creates a warning dropdown button
*
* @param string $label The label
* @return $this
*/
public function warning($label = '')
{
$this->setType(self::WARNING);
return $this->labelled($label);
}
/**
* Creates a success dropdown button
*
* @param string $label The label
* @return $this
*/
public function success($label = '')
{
$this->setType(self::SUCCESS);
return $this->labelled($label);
}
/**
* Creates a info dropdown button
*
* @param string $label The label
* @return $this
*/
public function info($label = '')
{
$this->setType(self::INFO);
return $this->labelled($label);
}
/**
* Sets the size to large
*
* @return $this
*/
public function large()
{
$this->setSize(self::LARGE);
return $this;
}
/**
* Sets the size to small
*
* @return $this
*/
public function small()
{
$this->setSize(self::SMALL);
return $this;
}
/**
* Sets the size to extra small
*
* @return $this
*/
public function extraSmall()
{
$this->setSize(self::EXTRA_SMALL);
return $this;
}
/**
* Renders the dropdown button
*
* @return string
*/
public function render()
{
if ($this->dropup) {
$string = "
";
} else {
$string .= $item;
}
}
return $string;
}
}
================================================
FILE: docs/files/Bootstrapper%2FExceptions%2FAccordionException.php.txt
================================================
$method();
case 1:
return $instance->$method($args[0]);
case 2:
return $instance->$method($args[0], $args[1]);
case 3:
return $instance->$method($args[0], $args[1], $args[2]);
case 4:
return $instance->$method(
$args[0],
$args[1],
$args[2],
$args[3]
);
default:
return call_user_func_array(array($instance, $method), $args);
}
}
/**
* Get an instance out of the IoC, or the cached instance
*
* @param string $facade The facade accessor
* @return mixed The Bootstrapper object
*/
private static function getInstance($facade)
{
if (!isset(static::$instances[$facade])) {
static::$instances[$facade] = static::getFacadeRoot();
}
return static::$instances[$facade];
}
}
================================================
FILE: docs/files/Bootstrapper%2FFacades%2FBreadcrumb.php.txt
================================================
";
const PRIMARY = 'btn-primary';
const DANGER = 'btn-danger';
const WARNING = 'btn-warning';
const SUCCESS = 'btn-success';
const INFO = 'btn-info';
const LARGE = 'btn-lg';
const SMALL = 'btn-sm';
const EXTRA_SMALL = 'btn-xs';
/**
* {@inheritdoc}
* @return string
*/
protected static function getFacadeAccessor()
{
return 'dropdownbutton';
}
}
================================================
FILE: docs/files/Bootstrapper%2FFacades%2FForm.php.txt
================================================
open($attributes);
}
/**
* Opens a horizontal form
*
* @param array $attributes
* @return string
*/
function horizontal($attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_HORIZONTAL . ' ' . $attributes['class'] :
self::FORM_HORIZONTAL;
return $this->open($attributes);
}
/**
* Creates a validation block
*
* @param string $type The type of validation
* @param string $label The label
* @param string $input The input
* @param array $attributes The attributes of the validation block
* @return string
*/
public function validation($type, $label, $input, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
"form-group {$type} " . $attributes['class'] :
"form-group {$type} ";
$attributes = new Attributes($attributes);
return "
{$label}{$input}
";
}
/**
* Creates a success validation block
*
* @param string $label The label
* @param string $input The input
* @param array $attributes The attributes of the validation block
* @return string
* @see Bootstrapper\\Form::validation()
*/
public function success($label, $input, $attributes = [])
{
return ($this->validation(
self::FORM_SUCCESS,
$label,
$input,
$attributes
));
}
/**
* Creates a warning validation block
*
* @param string $label The label
* @param string $input The input
* @param array $attributes The attributes of the validation block
* @return string
* @see Bootstrapper\\Form::validation()
*/
public function warning($label, $input, $attributes = [])
{
return ($this->validation(
Form::FORM_WARNING,
$label,
$input,
$attributes
));
}
/**
* Creates an error validation block
*
* @param string $label The label
* @param string $input The input
* @param array $attributes The attributes of the validation block
* @return string
* @see Bootstrapper\\Form::validation()
*/
public function error($label, $input, $attributes = [])
{
return ($this->validation(
Form::FORM_ERROR,
$label,
$input,
$attributes
));
}
/**
* Creates a feedback block with an icon
*
* @param string $label The label
* @param string $input The input
* @param string $icon The icon
* @param array $attributes The attributes of the block
* @return string
*/
public function feedback($label, $input, $icon, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
'form-group has-feedback ' . $attributes['class'] :
'form-group has-feedback';
$attributes = new Attributes($attributes);
return "
{$label}{$input}
";
}
/**
* Creates a help block
*
* @param string $helpText The help text
* @param array $attributes
* @return string
*/
public function help($helpText, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
'help-block ' . $attributes['class'] :
'help-block';
$attributes = new Attributes($attributes);
return "{$helpText}";
}
/**
* Opens a horizontal form with a given model
*
* @param mixed $model
* @param array $attributes
* @return string
* @see Bootstrapper\Form::horizontal()
* @see Illuminate\Html::model()
*/
public function horizontalModel($model, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_HORIZONTAL . ' ' . $attributes['class'] :
self::FORM_HORIZONTAL;
return $this->model($model, $attributes);
}
/**
* Opens a inline form with a given model
*
* @param mixed $model
* @param array $attributes
* @return string
* @see Bootstrapper\Form::inline()
* @see Illuminate\Html::model()
*/
public function inlineModel($model, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_INLINE . ' ' . $attributes['class'] :
self::FORM_INLINE;
return $this->model($model, $attributes);
}
/**
* {@inheritdoc}
* @param string $name
* @param array $list
* @param null $selected
* @param array $attributes
* @return string
*/
public function select(
$name,
$list = array(),
$selected = null,
$attributes = array()
) {
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::select($name, $list, $selected, $attributes);
}
/**
* {@inheritdoc}
* @param string $name The name of the text area
* @param string|null $value The default value
* @param array $attributes The attributes of the text area
* @return string
*/
public function textarea($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::textarea($name, $value, $attributes);
}
/**
* {@inheritdoc}
* @param string $name The name of the password input
* @param array $attributes The attributes of the input
* @return string
*/
public function password($name, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::password($name, $attributes);
}
/**
* {@inheritdoc}
* @param string $name The name of the text input
* @param string|null $value The default value
* @param array $attributes The attributes of the input
* @return string
*/
public function text($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::text($name, $value, $attributes);
}
/**
* {@inheritdoc}
* @param string $name The name of the email input
* @param string|null $value The default value of the input
* @param array $attributes The attributes of the email input
* @return string
*/
public function email($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::email($name, $value, $attributes);
}
/**
* Creates a datetime form element
*
* @param string $name The name of the element
* @param null $value The value
* @param array $attributes The attributes
* @return string
* @see Illuminate\FormBuilder\input()
*/
public function datetime($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('datetime', $name, $value, $attributes);
}
/**
* Creates a datetime local element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
* @see Illuminate\FormBuilder\input()
*/
public function datetimelocal($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('datetime-local', $name, $value, $attributes);
}
/**
* Creates a date input
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function date($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('date', $name, $value, $attributes);
}
/**
* Creates a month input
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function month($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('month', $name, $value, $attributes);
}
/**
* Creates a week form element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function week($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('week', $name, $value, $attributes);
}
/**
* Creates a time form element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function time($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('time', $name, $value, $attributes);
}
/**
* Creates a number form element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function number($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('number', $name, $value, $attributes);
}
/**
* Creates a url form element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function url($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('url', $name, $value, $attributes);
}
/**
* Creates a search element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function search($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('search', $name, $value, $attributes);
}
/**
* Creates a tel element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function tel($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('tel', $name, $value, $attributes);
}
/**
* Creates a color element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function color($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ? self::FORM_CONTROL . ' ' . $attributes['class'] : self::FORM_CONTROL;
return parent::input('color', $name, $value, $attributes);
}
}
================================================
FILE: docs/files/Bootstrapper%2FHelpers.php.txt
================================================
config = $config;
}
/**
* Slugifies a string
*
* @param string $string
* @return mixed
*/
public static function slug($string)
{
return preg_replace('/[^A-Za-z0-9-]+/', '-', strtolower($string));
}
/**
* Outputs a link to the Bootstrap CDN
*
* @param bool $withTheme Gets the bootstrap theme as well
* @return string
*/
public function css($withTheme = true)
{
$version = $this->config->get('bootstrapper::bootstrapVersion');
$string = "";
if ($withTheme) {
$string .= "";
}
return $string;
}
/**
* Outputs a link to the Jquery and Bootstrap CDN
*
* @return string
*/
public function js()
{
$jquery = $this->config->get('bootstrapper::jqueryVersion');
$bootstrap = $this->config->get('bootstrapper::bootstrapVersion');
return "";
}
/**
* Generate an id of the form "x-class-name-x". These should always be
* unique.
*
* @param RenderedObject $caller The object that called this
* @return string A unique id
*/
public static function generateId(RenderedObject $caller)
{
$class = get_class($caller);
if (isset(self::$counts[$class])) {
$count = self::$counts[$class];
self::$counts[$class] += 1;
} else {
$count = 1;
self::$counts[$class] = 2;
}
return static::slug(implode(' ', [$count, $class, $count]));
}
}
================================================
FILE: docs/files/Bootstrapper%2FIcon.php.txt
================================================
config = $config;
}
/**
* Creates a span link with the correct icon link
*
* @param string $icon The icon name
* @return string
*/
public function create($icon)
{
$baseClass = $this->config->get('bootstrapper::icon_prefix');
$icon = $this->normaliseIconString($icon);
return "";
}
/**
* Magic method to create icons. Meaning the $icon->test is the same as
* $icon->create('test')
*
* @param $method The icon name
* @param $parameters The parameters. Not used
* @return string
*/
public function __call($method, $parameters)
{
return $this->create($method);
}
/**
* Replaces underscores with a minus sign, and convert camelCase to dash
* separated
*
* @param string $icon
* @return string
*/
private function normaliseIconString($icon)
{
// replace underscores with minus sign
// and transform from camelCaseString to camel-case-string
$icon = strtolower(
preg_replace(
'/(?<=\\w)(?=[A-Z])/',
"-$1",
str_replace('_', '-', $icon)
)
);
return $icon;
}
}
================================================
FILE: docs/files/Bootstrapper%2FImage.php.txt
================================================
src) {
throw new ImageException("You must specify the source");
}
$attributes = new Attributes(
$this->attributes,
['src' => $this->src, 'alt' => $this->alt]
);
return "";
}
/**
* Sets the source of the image
*
* @param string $source The source of the image
* @return $this
*/
public function withSource($source)
{
$this->src = $source;
return $this;
}
/**
* Sets the alt text of the image
*
* @param string $alt The alt text of the image
* @return $this
*/
public function withAlt($alt)
{
$this->alt = $alt;
return $this;
}
/**
* Sets the image to be responsive
*
* @return $this
*/
public function responsive()
{
$this->addClass(self::IMAGE_RESPONSIVE);
return $this;
}
/**
* Creates a rounded image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function rounded($src = null, $alt = null)
{
$this->addClass(self::IMAGE_ROUNDED);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* Creates a circle image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function circle($src = null, $alt = null)
{
$this->addClass(self::IMAGE_CIRCLE);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* Creates a thumbnail image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function thumbnail($src = null, $alt = null)
{
$this->addClass(self::IMAGE_THUMBNAIL);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* Adds a class to the attributes
*
* @param string $class The class we need to add to the image
* @internal Normally we'd use the Attributes object but we don't have
* access to it at this point :-(
*/
public function addClass($class)
{
$this->attributes['class'] = isset($this->attributes['class']) ?
$this->attributes['class'] . " {$class}" :
$class;
}
}
================================================
FILE: docs/files/Bootstrapper%2FInputGroup.php.txt
================================================
"input-group {$this->size}"];
$attributes = new Attributes($this->attributes, $attributes);
$string = "
";
return $string;
}
/**
* Renders an addon
*
* @param array $addon The addon to render
* @return string
*/
protected function renderAddon(array $addon)
{
$string = "";
if ($addon['isButton']) {
$string .= "";
} else {
$string .= "";
}
$string .= $addon['value'];
$string .= "";
return $string;
}
/**
* Sets the contents of the input group
*
* @param string $contents The new contents
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the size of the input group
*
* @param string $size The new size
* @return $this
*/
public function setSize($size)
{
$this->size = $size;
return $this;
}
/**
* Prepends something to the input
*
* @param string $prepend The value to prepend
* @param bool $isButton Whether the value is a button
* @return $this
*/
public function prepend($prepend, $isButton = false)
{
$this->prepend = ['value' => $prepend, 'isButton' => $isButton];
return $this;
}
/**
* Prepend a button
*
* @param string $button The button to prepend
* @return $this
*/
public function prependButton($button)
{
return $this->prepend($button, true);
}
/**
* Appends something to the input
*
* @param string $append The value to append
* @param bool $isButton Whether the value is a button
* @return $this
*/
public function append($append, $isButton = false)
{
$this->append = ['value' => $append, 'isButton' => $isButton];
return $this;
}
/**
* Append a button
*
* @param string $button The button to append
* @return $this
*/
public function appendButton($button)
{
return $this->append($button, true);
}
/**
* Makes the input group large
*
* @return $this
*/
public function large()
{
$this->setSize(self::LARGE);
return $this;
}
/**
* Makes the input group small
*
* @return $this
*/
public function small()
{
$this->setSize(self::SMALL);
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FLabel.php.txt
================================================
attributes,
[
'class' => "label {$this->type}"
]
);
return "{$this->contents}";
}
/**
* Sets the contents of the label
*
* @param string $contents The new contents of the label
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the type of the label. Assumes that the label- prefix is already set
*
* @param string $type The new type
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Creates a primary label
*
* @param string $contents The contents of the label
* @return $this
*/
public function primary($contents = '')
{
$this->setType(self::LABEL_PRIMARY);
return $this->withContents($contents);
}
/**
* Creates a success label
*
* @param string $contents The contents of the label
* @return $this
*/
public function success($contents = '')
{
$this->setType(self::LABEL_SUCCESS);
return $this->withContents($contents);
}
/**
* Creates an info label
*
* @param string $contents The contents of the label
* @return $this
*/
public function info($contents = '')
{
$this->setType(self::LABEL_INFO);
return $this->withContents($contents);
}
/**
* Creates a warning label
*
* @param string $contents The contents of the label
* @return $this
*/
public function warning($contents = '')
{
$this->setType(self::LABEL_WARNING);
return $this->withContents($contents);
}
/**
* Creates a danger label
*
* @param string $contents The contents of the label
* @return $this
*/
public function danger($contents = '')
{
$this->setType(self::LABEL_DANGER);
return $this->withContents($contents);
}
/**
* Creates a label
*
* @param string $contents The contents of the label
* @param string $type The type to use
* @return $this
*/
public function create($contents, $type = self::LABEL_DEFAULT)
{
$this->setType($type);
return $this->withContents($contents);
}
/**
* Creates a normal label
*
* @param string $contents The contents of the label
* @return $this
*/
public function normal($contents = '')
{
$this->setType(self::LABEL_DEFAULT);
return $this->withContents($contents);
}
}
================================================
FILE: docs/files/Bootstrapper%2FMediaObject.php.txt
================================================
list) {
return $this->renderList();
}
if (!$this->contents) {
throw new MediaObjectException(
"You need to give the object some contents"
);
}
return $this->renderItem($this->contents, 'div');
}
/**
* Sets the contents of the media object
*
* @param array $contents The contents of the media object
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
// Check if it's an array of arrays
$this->list = isset($contents[0]);
return $this;
}
/**
* Force the media object to become a list
*
* @return $this
*/
public function asList()
{
$this->list = true;
return $this;
}
/**
* Renders a list
*
* @return string
*/
protected function renderList()
{
$attributes = new Attributes(
$this->attributes,
['class' => 'media-list']
);
$this->attributes = [];
$string = "
";
return $string;
}
/**
* Renders an item in the string
*
* @param array $contents
* @param string $tag The tag to wrap the item in
* @return string
* @throws MediaObjectException
*/
protected function renderItem(array $contents, $tag)
{
$position = $this->getPosition($contents);
$heading = $this->getHeading($contents);
$image = $this->getImage($contents, $heading);
$link = $this->getLink($contents, $image, $position);
$body = $this->getBody($contents);
$attributes = new Attributes($this->attributes, ['class' => 'media']);
$string = "<{$tag} {$attributes}>";
$string .= $link;
$string .= "
";
if ($heading) {
$string .= "
{$heading}
";
}
$string .= $body;
$string .= "
{$tag}>";
return $string;
}
/**
* Get the position
*
* @param array $contents
* @return string pull-right if the position key equals right. pull-left
* otherwise
*/
protected function getPosition(array $contents)
{
if (isset($contents['position']) && $contents['position'] == 'right') {
return 'pull-right';
}
return 'pull-left';
}
/**
* Get the image of the media object
*
* @param array $contents
* @param string $alt The alt text of the image
* @return string
* @throws MediaObjectException if there is no image set
*/
protected function getImage(array $contents, $alt)
{
if (!isset($contents['image'])) {
throw new MediaObjectException(
"You must pass in an image to each object"
);
}
$image = $contents['image'];
$attributes = new Attributes(
['class' => 'media-object', 'src' => $image, 'alt' => $alt]
);
return "";
}
/**
* Get the heading of the media object
*
* @param array $contents
* @return string
*/
protected function getHeading(array $contents)
{
return isset($contents['heading']) ? $contents['heading'] : '';
}
/**
* Turn the image into a link/div
*
* @param array $contents The contents array
* @param string $image The image
* @param string $position The position
* @return string
*/
protected function getLink(array $contents, $image, $position)
{
if (isset($contents['link'])) {
return "{$image}";
}
return "
{$image}
";
}
/**
* Get the body of the contents array
*
* @param array $contents
* @return string
* @throws MediaObjectException if the body key has not been set
*/
protected function getBody(array $contents)
{
if (!isset($contents['body'])) {
throw new MediaObjectException(
'You must pass in the body to each object'
);
}
$string = $contents['body'];
if (isset($contents['nest'])) {
$object = new MediaObject();
$string .= $object->withContents($contents['nest']);
}
return $string;
}
}
================================================
FILE: docs/files/Bootstrapper%2FModal.php.txt
================================================
attributes, ['class' => 'modal']);
$string = $this->renderButton($attributes);
$string .= "
";
return $string;
}
/**
* Sets the title of the modal
*
* @param string $title
* @return $this
*/
public function withTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Renders the header of the modal
*
* @return string
*/
protected function renderHeader()
{
$title = '';
if ($this->title) {
$title .= "
{$this->title}
";
}
return "
{$title}
";
}
/**
* Sets the body of the modal
*
* @param string $body The new body of the modal
* @return $this
*/
public function withBody($body)
{
$this->body = $body;
return $this;
}
/**
* Renders the body
*
* @return string
*/
protected function renderBody()
{
return $this->body ? "
{$this->body}
" : '';
}
/**
* Renders the footer
*
* @return string
*/
protected function renderFooter()
{
return $this->footer ? "" : '';
}
/**
* Set the footer of the modal
*
* @param string $footer The footer
* @return $this
*/
public function withFooter($footer)
{
$this->footer = $footer;
return $this;
}
/**
* Sets the name of the modal
*
* @param string $name The name of the modal
* @return $this
*/
public function named($name)
{
$this->name = $name;
$this->attributes['id'] = $name;
return $this;
}
/**
* Sets the button
*
* @param Button $button The button to open the modal with
* @return $this
*/
public function withButton(Button $button = null)
{
if ($button) {
$this->button = $button;
} else {
$button = new Button();
$this->button = $button->withValue('Open Modal');
}
return $this;
}
/**
* Renders the button
*
* @param Attributes $attributes The attributes of the modal
* @return string
*/
protected function renderButton(Attributes $attributes)
{
if (!$this->button) {
return '';
}
if (!isset($attributes['id'])) {
$attributes['id'] = Helpers::generateId($this);
}
$this->button->addAttributes(
['data-toggle' => 'modal', 'data-target' => "#{$attributes['id']}"]
)->render();
return $this->button->render();
}
}
================================================
FILE: docs/files/Bootstrapper%2FNavbar.php.txt
================================================
url = $url;
}
/**
* Renders the navbar
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
[
'class' => "navbar {$this->type} {$this->position}",
'role' => 'navigation'
]
);
$string = "
";
// Add the collapse button
$string .= "";
if ($this->brand) {
$string .= "{$this->brand['brand']}";
}
$string .= "
";
return $string;
}
/**
* Sets the brand of the navbar
*
* @param string $brand The brand
* @param null|string $link The link. If not set we default to linking to
* '/' using the UrlGenerator
* @return $this
*/
public function withBrand($brand, $link = null)
{
if (!isset($link)) {
$link = $this->url->to('/');
}
$this->brand = compact('brand', 'link');
return $this;
}
/**
* Adds some content to the navbar
*
* @param mixed $content Anything that can become a string! If you pass in a
* Bootstrapper\Navigation object we'll make sure
* it's a navbar on render.
* @return $this
*/
public function withContent($content)
{
$this->content[] = $content;
return $this;
}
/**
* Sets the navbar to be inverse
*
* @return $this
*/
public function inverse()
{
$this->setType(self::NAVBAR_INVERSE);
return $this;
}
/**
* Sets the position to top
*
* @return $this
*/
public function staticTop()
{
$this->setPosition(self::NAVBAR_STATIC);
return $this;
}
/**
* Sets the type of the navbar
*
* @param string $type The type of the navbar. Assumes that the navbar-
* prefix is there
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the position of the navbar
*
* @param string $position The position of the navbar. Assumes that the
* navbar- prefix is there
* @return $this
*/
public function setPosition($position)
{
$this->position = $position;
return $this;
}
/**
* Sets the position of the navbar to the top
*
* @return $this
*/
public function top()
{
$this->setPosition(self::NAVBAR_TOP);
return $this;
}
/**
* Sets the position of the navbar to the bottom
*
* @return $this
*/
public function bottom()
{
$this->setPosition(self::NAVBAR_BOTTOM);
return $this;
}
/**
* Creates a navbar with a position and attributes
*
* @param string $position The position of the navbar
* @param array $attributes The attributes of the navbar
* @return $this
*/
public function create($position, $attributes = [])
{
$this->setPosition($position);
return $this->withAttributes($attributes);
}
/**
* Sets the navbar to be fluid
*
* @return $this
*/
public function fluid()
{
$this->fluid = true;
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FNavigation.php.txt
================================================
*
title - The text to show
*
link - The link
*
active - (optional) Forces the link to be active
*
disabled - (optional) Forces the link to be disabled. Note that
* active has priority over this
*
linkAttributes - The attributes for the link
*
callback - A callback. If it return a result that is EXACTLY
* equal to false then the link won't be shown
*
* To create a dropdown, the inner array should instead be [$title, $links],
* where $links is an array of arrays for links
*/
protected $links = [];
/**
* @var UrlGenerator A laravel URL generator
*/
protected $url;
/**
* @var bool Whether we should automatically activate links
*/
protected $autoroute = true;
/**
* @var bool Whether the links are justified or not
*/
protected $justified = false;
/**
* @var bool Whether the navigation links are stacked or not
*/
protected $stacked = false;
/**
* @var bool Whether the navigation links float right or not
*/
protected $right = false;
/**
* Creates a new instance of Navigation
*
* @param UrlGenerator $urlGenerator
*/
public function __construct(UrlGenerator $urlGenerator)
{
$this->url = $urlGenerator;
}
/**
* Renders the navigation object
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
['class' => "nav {$this->type}"]
);
if ($this->justified) {
$attributes->addClass('nav-justified');
}
if ($this->stacked) {
$attributes->addClass('nav-stacked');
}
if ($this->right) {
$attributes->addClass('navbar-right');
}
$string = "
";
return $string;
}
/**
* Sets the autorouting. Pass false to turn it off, true to turn it on
*
* @param bool $autoroute Whether the autorouting should be on
* @return $this
*/
public function autoroute($autoroute)
{
$this->autoroute = $autoroute;
return $this;
}
/**
* Renders the dropdown
*
* @param array $link The link to render
* @return string
*/
protected function renderDropdown(array $link)
{
if ($this->dropdownShouldBeActive($link)) {
$string = '
';
return $string;
}
/**
* Checks to see if the dropdown should be active
*
* @param array $dropdown The dropdown array
* @return bool
*/
protected function dropdownShouldBeActive(array $dropdown)
{
if ($this->autoroute) {
foreach ($dropdown[1] as $item) {
if ($this->itemShouldBeActive($item)) {
return true;
}
}
}
return false;
}
/**
* Checks to see if the given item should be active
*
* @param mixed $link A link to check whether it should be active
* @return bool
*/
protected function itemShouldBeActive($link)
{
if (is_string($link)) {
return false;
}
$auto = $this->autoroute && $this->url->current() == $link['link'];
$manual = isset($link['active']) && $link['active'];
return $auto || $manual;
}
/**
* Turns the navigation object into one for navbars
*
* @return $this
*/
public function navbar()
{
$this->type = self::NAVIGATION_NAVBAR;
return $this;
}
/**
* Makes the navigation links justified
*
* @return $this
*/
public function justified()
{
$this->justified = true;
return $this;
}
/**
* Makes the navigation stacked
*
* @return $this
*/
public function stacked()
{
$this->stacked = true;
return $this;
}
/**
* Makes the navigation links float right
*
* @return $this
*/
public function right()
{
$this->right = true;
return $this;
}
/**
* Renders a separator
*
* @param string $separator
* @return string
*/
protected function renderSeparator($separator)
{
return "";
}
/**
* Renders an item
*
* @param string|array $link The item to render
* @return string
*/
private function renderItem($link)
{
if (!is_array($link)) {
$string = $this->renderSeparator($link);
} elseif (isset($link['link'])) {
$string = $this->renderLink($link);
} else {
$string = $this->renderDropdown($link);
}
return $string;
}
}
================================================
FILE: docs/files/Bootstrapper%2FPanel.php.txt
================================================
attributes,
['class' => "panel {$this->type}"]
);
$string = "
";
if ($this->header) {
$string .= $this->renderHeader();
}
if ($this->body) {
$string .= $this->renderBody();
}
if ($this->footer) {
$string .= $this->renderFooter();
}
$string .= "
";
return $string;
}
/**
* Creates a primary panel
*
* @return $this
*/
public function primary()
{
$this->setType(self::PRIMARY);
return $this;
}
/**
* Creates a success panel
*
* @return $this
*/
public function success()
{
$this->setType(self::SUCCESS);
return $this;
}
/**
* Creates an info panel
*
* @return $this
*/
public function info()
{
$this->setType(self::INFO);
return $this;
}
/**
* Creates an warning panel
*
* @return $this
*/
public function warning()
{
$this->setType(self::WARNING);
return $this;
}
/**
* Creates an danger panel
*
* @return $this
*/
public function danger()
{
$this->setType(self::DANGER);
return $this;
}
/**
* Sets the type of the panel
*
* @param string $type The new type. Assume the panel- prefix
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the header of the panel
*
* @param string $header The header
* @return $this
*/
public function withHeader($header)
{
$this->header = $header;
return $this;
}
/**
* Renders the header
*
* @return string
*/
protected function renderHeader()
{
$string = "
";
$string .= "
{$this->header}
";
$string .= '
';
return $string;
}
/**
* Sets the body of the panel
*
* @param string $body The body
* @return $this
*/
public function withBody($body)
{
$this->body = $body;
return $this;
}
/**
* Renders the body
*
* @return string
*/
protected function renderBody()
{
return "
{$this->body}
";
}
/**
* Sets the footer
*
* @param string $footer The new footer
* @return $this
*/
public function withFooter($footer)
{
$this->footer = $footer;
return $this;
}
/**
* Renders the footer
*
* @return string
*/
protected function renderFooter()
{
return "";
}
/**
* Creates a normal panel
*
* @return $this
*/
public function normal()
{
$this->setType(self::NORMAL);
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FProgressBar.php.txt
================================================
";
$attributes = new Attributes(
$this->attributes,
[
'class' => "progress-bar {$this->type}",
'role' => 'progressbar',
'aria-valuenow' => "{$this->value}",
'aria-valuemin' => '0',
'aria-valuemax' => '100',
'style' => $this->value ? "width: {$this->value}%" : ''
]
);
if ($this->striped) {
$attributes->addClass('progress-bar-striped');
}
if ($this->animated) {
$attributes->addClass('active');
}
$string .= "
";
return $string;
}
/**
* Sets the type of the progress bar
*
* @param string $type The type
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the value of the progress bar
*
* @param int $value The value of the progress bar The value of the
* progress bar
* @return $this
*/
public function value($value)
{
$this->value = $value;
return $this;
}
/**
* Whether the amount should be visible
*
* @param string $string The string to show to the user. We internally
* will use sprintf to show this, so you must
* include a %s somewhere so we can add this in
* @return $this
*/
public function visible($string = '%s%%')
{
$this->visible = true;
$this->visibleString = $string;
return $this;
}
/**
* Creates a success progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function success($value = 0)
{
$this->setType(self::PROGRESS_BAR_SUCCESS);
return $this->value($value);
}
/**
* Creates an info progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function info($value = 0)
{
$this->setType(self::PROGRESS_BAR_INFO);
return $this->value($value);
}
/**
* Creates a warning progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function warning($value = 0)
{
$this->setType(self::PROGRESS_BAR_WARNING);
return $this->value($value);
}
/**
* Creates a danger progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function danger($value = 0)
{
$this->setType(self::PROGRESS_BAR_DANGER);
return $this->value($value);
}
/**
* Creates a normal progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function normal($value = 0)
{
$this->setType(self::PROGRESS_BAR_NORMAL);
return $this->value($value);
}
/**
* Sets the progress bar to be striped
*
* @return $this
*/
public function striped()
{
$this->striped = true;
return $this;
}
/**
* Sets the progress bar to be animated
*
* @return $this
*/
public function animated()
{
$this->animated = true;
return $this->striped();
}
/**
* Stacks several progress bars together
*
* @param array $items The progress bars. Should be an array of arrays,
* which are a list of methods and parameters.
* @return string
*/
public function stack(array $items)
{
$string = '
An exception of"
. " type {$class} was thrown with the message:"
. " {$e->getMessage()}
";
}
}
/**
* Renders the object
*
* @return string
*/
public abstract function render();
/**
* Set the attributes of the object
*
* @param array $attributes The attributes to use
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = array_merge($attributes, $this->attributes);
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FTabbable.php.txt
================================================
*
title - the title of the content
*
content - the actual content
*
attributes (optional) - any attributes
*
*/
protected $contents = [];
/**
* @var int Which tab should be open first
*/
protected $active = 0;
/**
* @var string The type
*/
protected $type = self::TAB;
/**
* @var bool Whether we should fade in or not
*/
protected $fade = false;
/**
* Creates a new Tabbable object
*
* @param Navigation $links A navigation object
*/
public function __construct(Navigation $links)
{
$this->links = $links->autoroute(false)->withAttributes(
['role' => 'tablist']
);
}
/**
* Renders the tabbable object
*
* @return string
*/
public function render()
{
$string = $this->renderNavigation();
$string .= $this->renderContents();
return $string;
}
/**
* Creates content with a tabbed navigation
*
* @param array $contents The content
* @return $this
* @see Bootstrapper\Navigation::$contents
*/
public function tabs($contents = [])
{
$this->links->tabs();
$this->type = self::TAB;
return $this->withContents($contents);
}
/**
* Creates content with a pill navigation
*
* @param array $contents
* @return $this
* @see Bootstrapper\Navigation::$contents
*/
public function pills($contents = [])
{
$this->links->pills();
$this->type = self::PILL;
return $this->withContents($contents);
}
/**
* Sets the contents
*
* @param array $contents An array of arrays
* @return $this
* @see Bootstrapper\Navigation::$contents
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Render the navigation links
*
* @return string
*/
protected function renderNavigation()
{
$this->links->links($this->createNavigationLinks());
return $this->links->render();
}
/**
* Creates the navigation links
*
* @return array
*/
protected function createNavigationLinks()
{
$links = [];
$count = 0;
foreach ($this->contents as $link) {
$links[] = [
'link' => '#' . Helpers::slug($link['title']),
'title' => $link['title'],
'linkAttributes' => [
'role' => 'tab',
'data-toggle' => $this->type
],
'active' => $count == $this->active
];
$count += 1;
}
return $links;
}
/**
* Renders the contents
*
* @return string
*/
protected function renderContents()
{
$tabs = $this->createContentTabs();
$string = '
';
foreach ($tabs as $tab) {
$string .= "
{$tab['content']}
";
}
$string .= '
';
return $string;
}
/**
* Creates the content tabs
*
* @return array
*/
protected function createContentTabs()
{
$tabs = [];
$count = 0;
foreach ($this->contents as $item) {
$itemAttributes = isset($item['attributes']) ?
$item['attributes'] :
[];
$attributes = new Attributes(
$itemAttributes,
['class' => 'tab-pane', 'id' => Helpers::slug($item['title'])]
);
if ($this->fade) {
$attributes->addClass('fade');
}
if ($this->active == $count) {
$attributes->addClass($this->fade ? 'in active' : 'active');
}
$tabs[] = [
'content' => $item['content'],
'attributes' => $attributes
];
$count += 1;
}
return $tabs;
}
/**
* Sets which tab should be active
*
* @param int $active
* @return $this
*/
public function active($active)
{
$this->active = $active;
return $this;
}
/**
* Sets the tabbable objects to fade in
*
* @return $this
*/
public function fade()
{
$this->fade = true;
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FTable.php.txt
================================================
function()
*/
protected $callbacks = [];
/**
* @var bool|array An array of columns to get. False if none.
*/
protected $only = false;
/**
* Renders the table
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
[
'class' => "table {$this->type}"
]
);
$string = "
';
return $string;
}
/**
* Sets the table type
*
* @param string $type The type of the table
*/
public function setType($type)
{
$this->type = $type;
}
/**
* Sets the table to be striped
*
* @return $this
*/
public function striped()
{
$this->setType(self::TABLE_STRIPED);
return $this;
}
/**
* Sets the table to be bordered
*
* @return $this
*/
public function bordered()
{
$this->setType(self::TABLE_BORDERED);
return $this;
}
/**
* Sets the table to have an active hover state
*
* @return $this
*/
public function hover()
{
$this->setType(self::TABLE_HOVER);
return $this;
}
/**
* Sets the table to be condensed
*
* @return $this
*/
public function condensed()
{
$this->setType(self::TABLE_CONDENSED);
return $this;
}
/**
* Sets the contents of the table
*
* @param array|Traversable $contents The contents of the table. We expect
* either an array of arrays or an
* array of eloquent models
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Renders the contents of the table
*
* @return string
*/
private function renderContents()
{
$headers = $this->getHeaders();
$string = '
';
foreach ($headers as $heading) {
$string .= "
{$heading}
";
}
$string .= '
';
$string .= '';
foreach ($this->contents as $item) {
if (!is_array($item)) {
$item = $item->getAttributes();
}
$string .= $this->renderItem($item, $headers);
}
$string .= '';
return $string;
}
/**
* Gets the headers of the contents
*
* @return array
*/
private function getHeaders()
{
$headers = [];
foreach ($this->contents as $item) {
if (!is_array($item)) {
$item = $item->getAttributes();
}
foreach (array_keys($item) as $key) {
if (in_array($key, $this->ignores)) {
continue;
}
if ($this->only && !in_array($key, $this->only)) {
continue;
}
if (!in_array($key, $headers)) {
$headers[] = $key;
}
}
}
foreach (array_keys($this->callbacks) as $key) {
if (in_array($key, $this->ignores)) {
continue;
}
if (!in_array($key, $headers)) {
$headers[] = $key;
}
}
return $headers;
}
/**
* Renders an item
*
* @param mixed $item The item to render
* @param array $headers The headers to use
* @return string
*/
private function renderItem($item, array $headers)
{
$string = '
';
return $string;
}
/**
* Creates a list of columns to ignore
*
* @param array $ignores The ignored columns
* @return $this
*/
public function ignore(array $ignores)
{
$this->ignores = $ignores;
return $this;
}
/**
* Adds a callback
*
* @param string $index The column name for the callback
* @param callable $function The callback function,
* which should be of the form
* function($column, $row).
* @return $this
*/
public function callback($index, \Closure $function)
{
$this->callbacks[$index] = $function;
return $this;
}
/**
* Sets which columns we can return
*
* @param array $only
* @return $this
*/
public function only(array $only)
{
$this->only = $only;
return $this;
}
}
================================================
FILE: docs/files/Bootstrapper%2FThumbnail.php.txt
================================================
image['image'])) {
throw ThumbnailException::imageNotSpecified();
}
$attributes = new Attributes(
$this->attributes,
['class' => 'thumbnail']
);
$string = "
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
================================================
FILE: docs/files/Bootstrapper.Facades.Breadcrumb.html
================================================
API Documentation
================================================
FILE: docs/files/BootstrapperServiceProvider.php.txt
================================================
registerAccordion();
$this->registerAlert();
$this->registerBadge();
$this->registerBreadcrumb();
$this->registerButtonGroup();
$this->registerButton();
$this->registerCarousel();
$this->registerControlGroup();
$this->registerDropdownButton();
$this->registerFormBuilder();
$this->registerIcon();
$this->registerImage();
$this->registerInputGroup();
$this->registerHelpers();
$this->registerLabel();
$this->registerMediaObject();
$this->registerModal();
$this->registerNavbar();
$this->registerNavigation();
$this->registerPanel();
$this->registerProgressBar();
$this->registerTabbable();
$this->registerTable();
$this->registerThumbnail();
$this->package('patricktalmadge/bootstrapper');
$this->app['config']->package(
'patricktalmadge/bootstrapper',
__DIR__ . '/../config'
);
}
private function registerAccordion()
{
$this->app->bind(
'accordion',
function () {
return new Accordion();
}
);
}
private function registerAlert()
{
$this->app->bind(
'alert',
function () {
return new Alert();
}
);
}
public function registerBadge()
{
$this->app->bind(
'badge',
function () {
return new Badge;
}
);
}
public function registerBreadcrumb()
{
$this->app->bind(
'breadcrumb',
function () {
return new Breadcrumb;
}
);
}
public function registerButtonGroup()
{
$this->app->bind(
'buttongroup',
function () {
return new ButtonGroup;
}
);
}
public function registerButton()
{
$this->app->bind(
'button',
function () {
return new Button;
}
);
}
public function registerCarousel()
{
$this->app->bind(
'carousel',
function () {
return new Carousel;
}
);
}
public function registerControlGroup()
{
$this->app->bind(
'controlgroup',
function ($app) {
return new ControlGroup($app['bootstrapper::form']);
}
);
}
public function registerDropdownButton()
{
$this->app->bind(
'dropdownbutton',
function () {
return new DropdownButton;
}
);
}
public function registerFormBuilder()
{
$this->app->bindShared(
'bootstrapper::form',
function ($app) {
$form = new Form(
$app['html'],
$app['url'],
$app['session.store']->token()
);
return $form->setSessionStore($app['session.store']);
}
);
}
public function registerIcon()
{
$this->app->bind(
'icon',
function ($app) {
return new Icon($app['config']);
}
);
}
public function registerImage()
{
$this->app->bind(
'image',
function () {
return new Image;
}
);
}
public function registerInputGroup()
{
$this->app->bind(
'inputgroup',
function () {
return new InputGroup;
}
);
}
public function registerLabel()
{
$this->app->bind(
'label',
function () {
return new Label;
}
);
}
public function registerHelpers()
{
$this->app->bind(
'bootstrapper::helpers',
function ($app) {
return new Helpers($app['config']);
}
);
}
public function registerMediaObject()
{
$this->app->bind(
'mediaobject',
function () {
return new MediaObject;
}
);
}
public function registerModal()
{
$this->app->bind(
'modal',
function () {
return new Modal;
}
);
}
public function registerNavbar()
{
$this->app->bind(
'navbar',
function ($app) {
return new Navbar($app['url']);
}
);
}
public function registerNavigation()
{
$this->app->bind(
'navigation',
function ($app) {
return new Navigation($app['url']);
}
);
}
public function registerPanel()
{
$this->app->bind(
'panel',
function () {
return new Panel;
}
);
}
public function registerProgressBar()
{
$this->app->bind(
'progressbar',
function () {
return new ProgressBar;
}
);
}
public function registerTabbable()
{
$this->app->bind(
'tabbable',
function ($app) {
return new Tabbable($app['navigation']);
}
);
}
public function registerTable()
{
$this->app->bind(
'table',
function () {
return new Table;
}
);
}
public function registerThumbnail()
{
$this->app->bind(
'thumbnail',
function () {
return new Thumbnail;
}
);
}
}
================================================
FILE: docs/files/Breadcrumb.html
================================================
API Documentation
================================================
FILE: docs/files/Breadcrumb.php.txt
================================================
";
foreach ($this->links as $text => $link) {
$string .= $this->renderLink($text, $link);
}
$string .= "";
return $string;
}
/**
* Set the links for the breadcrumbs. Expects an array of the following:
*
*
An array, with keys link and text
*
A string for the active link
*
*
* @param $links array
* @return $this
*/
public function withLinks(array $links)
{
$this->links = $links;
return $this;
}
/**
* Renders the link
*
* @param $text
* @param $link
* @return string
*/
protected function renderLink($text, $link)
{
$string = "";
if (is_string($text)) {
$string .= "
";
}
/**
* Sets the size of the button group
*
* @param $size
*/
public function setSize($size)
{
$this->size = $size;
}
/**
* Sets the button group to be large
*
* @return $this
*/
public function large()
{
$this->setSize(self::LARGE);
return $this;
}
/**
* Sets the button group to be small
*
* @return $this
*/
public function small()
{
$this->setSize(self::SMALL);
return $this;
}
/**
* Sets the button group to be extra small
*
* @return $this
*/
public function extraSmall()
{
$this->setSize(self::EXTRA_SMALL);
return $this;
}
/**
* Sets the button group to be radio
*
* @param array $contents
* @return $this
*/
public function radio(array $contents)
{
return $this->asType(self::RADIO)->withContents($contents);
}
/**
* Sets the button group to be a checkbox
*
* @param array $contents
* @return $this
*/
public function checkbox(array $contents)
{
return $this->asType(self::CHECKBOX)->withContents($contents);
}
/**
* Sets the contents of the button group
*
* @param array $contents
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the button group to be vertical
*
* @return $this
*/
public function vertical()
{
$this->vertical = true;
return $this;
}
/**
* Sets the type of the button group
*
* @param $type
* @return $this
*/
public function asType($type)
{
$this->type = $type;
return $this;
}
/**
* Renders the contents of the button group
*
* @return string
*/
public function renderContents()
{
$contents = '';
if ($this->type == 'button') {
foreach ($this->contents as $item) {
$contents .= $item;
}
} else {
foreach ($this->contents as $item) {
if ($item instanceof Button) {
$class = $item->getType();
$value = $item->getValue();
$attributes = new Attributes(
$item->getAttributes(),
['type' => $this->type]
);
$contents .= "";
} else {
$contents .= $item;
}
}
}
return $contents;
}
}
================================================
FILE: docs/files/Carousel.html
================================================
API Documentation
*/
protected $contents = [];
/**
* @var array The attributes of the carousel
*/
protected $attributes = [];
/**
* @var int Which slide should be active at the beginning
*/
protected $active = 0;
/**
* Names the carousel
*
* @param string $name The name of the carousel
* @return $this
*/
public function named($name)
{
$this->name = $name;
return $this;
}
/**
* Sets the attributes of the carousel
*
* @param array $attributes The new attributes
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Sets the contents of the carousel
*
* @param array $contents The new contents. Should be an array of arrays,
* with the inner keys being "image", "alt" and
* (optionally) "caption"
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Renders the carousel
*
* @return string
*/
public function render()
{
if (!$this->name) {
$this->name = Helpers::generateId($this);
}
$attributes = new Attributes(
$this->attributes,
[
'id' => $this->name,
'class' => 'carousel slide',
'data-ride' => 'carousel'
]
);
$string = "
Creates Bootstrap 3 compliant control groups (for forms)
================================================
FILE: docs/files/ControlGroup.php.txt
================================================
formBuilder = $formBuilder;
}
/**
* Renders the control group
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
['class' => 'form-group']
);
$string = "
";
if ($this->label) {
$string .= $this->renderLabel();
}
if ($this->controlSize) {
$string .= $this->createControlDiv();
}
if (is_array($this->contents)) {
$string .= $this->renderArrayContents();
} else {
$string .= $this->contents;
}
$string .= $this->help;
if ($this->controlSize) {
$string .= "
";
}
$string .= "
";
return $string;
}
/**
* Set the attributes of the control group
*
* @param array $attributes The attributes array
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Adds the contents to the control group
*
* @param string $contents The contents of the control group
* @param null $controlSize |int The size of the form control
* @return $this
* @throws ControlGroupException If is $controlSize set and not between 1
* and 12
*/
public function withContents($contents, $controlSize = null)
{
if (isset($controlSize) && $this->sizeIsInvalid($controlSize)) {
throw new ControlGroupException(
'That content size is incorrect - it must be between 1 and 12'
);
}
$this->contents = $contents;
$this->controlSize = $controlSize;
return $this;
}
/**
* Sets the label of the control group
*
* @param string $label The label
* @param null $labelSize |int The size of the label
* @return $this
* @throws ControlGroupException If is $labelSize set and not between 1
* and 12
*/
public function withLabel($label, $labelSize = null)
{
if (isset($labelSize) && $this->sizeIsInvalid($labelSize)) {
throw new ControlGroupException(
'That label size is incorrect - it must be between 1 and 12'
);
}
$this->label = $label;
$this->labelSize = $labelSize;
return $this;
}
/**
* Adds a help block
*
* @param string $help The help information
* @return $this
*/
public function withHelp($help)
{
$this->help = $help;
return $this;
}
/**
* Generates a full control group with a label, control and help block
*
* @param string $label The label
* @param string $control The form control
* @param string $help The help text
* @param int $labelSize The size of the label
* @param int $controlSize The size of the form control
* @return $this
* @throws ControlGroupException if the sizes are invalid
*/
public function generate(
$label,
$control,
$help = null,
$labelSize = null,
$controlSize = null
) {
if ($this->sizesAreInvalid($labelSize, $controlSize)) {
throw new ControlGroupException(
'The label size + control size must be between 1 and 12'
);
}
return $this->withLabel($label, $labelSize)
->withContents($control, $controlSize)
->withHelp($help);
}
/**
* Renders the contents if given as an array
*
* @return string
*/
protected function renderArrayContents()
{
$string = '';
foreach ($this->contents as $item) {
if (isset($item['label'])) {
$string .= call_user_func_array(
[$this->formBuilder, 'label'],
$item['label']
) . ' ';
}
$input_args = $item['input'];
$type = $input_args['type'];
unset($input_args['type']);
$string .= call_user_func_array(
[$this->formBuilder, $type],
$input_args
);
$string .= ' ';
}
return $string;
}
/**
* Renders the label
*
* @return string
*/
public function renderLabel()
{
$string = '';
if ($this->labelSize) {
$this->controlSize = $this->controlSize ?: 12 - $this->labelSize;
$this->label = preg_replace(
"/class=('|\")(.*)('|\")/i",
sprintf('class=${1}${2} col-sm-%s${3}', $this->labelSize),
$this->label
);
}
$string .= $this->label;
return $string;
}
/**
* Creates the div to surround the form control
*
* @return string
*/
public function createControlDiv()
{
return sprintf("
", $this->controlSize);
}
/**
* Checks if both the label size and control size are invalid
*
* @param int $labelSize The size of the label
* @param int $controlSize The size of the control group
* @return bool
*/
protected function sizesAreInvalid($labelSize = null, $controlSize = null)
{
// If both are null then we have a valid size
if (!isset($labelSize) && !isset($controlSize)) {
return false;
}
// So at least one of these is null
if (isset($labelSize)) {
if ($this->sizeIsInvalid($labelSize)) {
return true;
}
} else {
$labelSize = 0;
}
if (isset($controlSize)) {
if ($this->sizeIsInvalid($controlSize)) {
return true;
}
} else {
$controlSize = 0;
}
return $this->sizeIsInvalid($labelSize + $controlSize);
}
/**
* Checks if the size is invalid
*
* @param int The $size size
* @return bool True if the size is below 1 or greater than 11,
* false otherwise
*/
protected function sizeIsInvalid($size)
{
return $size < 1 || $size > 11;
}
}
================================================
FILE: docs/files/DropdownButton.html
================================================
API Documentation
================================================
FILE: docs/files/DropdownButton.php.txt
================================================
";
/**
* Constant for primary buttons
*/
const PRIMARY = 'btn-primary';
/**
* Constant for danger buttons
*/
const DANGER = 'btn-danger';
/**
* Constant for warning buttons
*/
const WARNING = 'btn-warning';
/**
* Constant for success buttons
*/
const SUCCESS = 'btn-success';
/**
* Constant for default buttons
*/
const NORMAL = 'btn-default';
/**
* Constant for info buttons
*/
const INFO = 'btn-info';
/**
* Constant for large buttons
*/
const LARGE = 'btn-lg';
/**
* Constant for small buttons
*/
const SMALL = 'btn-sm';
/**
* Constant for extra small buttons
*/
const EXTRA_SMALL = 'btn-xs';
/**
* @var string The label for this button
*/
protected $label;
/**
* @var array The contents of the dropdown button
*/
protected $contents = [];
/**
* @var string The type of the button
*/
protected $type = 'btn-default';
/**
* @var string The size of the button
*/
protected $size;
/**
* @var bool Whether the drop icon should be a seperate button
*/
protected $split = false;
/**
* @var bool Whether the button should drop up
*/
protected $dropup = false;
/**
* Set the label of the button
*
* @param $label
* @return $this
*/
public function labelled($label)
{
$this->label = $label;
return $this;
}
/**
* Set the contents of the button
*
* @param array $contents The contents of the dropdown button
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the type of the button
*
* @param string $type The type of the button
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the size of the button
*
* @param string $size The size of the button
* @return $this
*/
public function setSize($size)
{
$this->size = $size;
return $this;
}
/**
* Splits the button
*
* @return $this
*/
public function split()
{
$this->split = true;
return $this;
}
/**
* Sets the button to drop up
*
* @return $this
*/
public function dropup()
{
$this->dropup = true;
return $this;
}
/**
* Creates a normal dropdown button
*
* @param string $label The label
* @return $this
*/
public function normal($label = '')
{
$this->setType(self::NORMAL);
return $this->labelled($label);
}
/**
* Creates a primary dropdown button
*
* @param string $label The label
* @return $this
*/
public function primary($label = '')
{
$this->setType(self::PRIMARY);
return $this->labelled($label);
}
/**
* Creates a danger dropdown button
*
* @param string $label The label
* @return $this
*/
public function danger($label = '')
{
$this->setType(self::DANGER);
return $this->labelled($label);
}
/**
* Creates a warning dropdown button
*
* @param string $label The label
* @return $this
*/
public function warning($label = '')
{
$this->setType(self::WARNING);
return $this->labelled($label);
}
/**
* Creates a success dropdown button
*
* @param string $label The label
* @return $this
*/
public function success($label = '')
{
$this->setType(self::SUCCESS);
return $this->labelled($label);
}
/**
* Creates a info dropdown button
*
* @param string $label The label
* @return $this
*/
public function info($label = '')
{
$this->setType(self::INFO);
return $this->labelled($label);
}
/**
* Sets the size to large
*
* @return $this
*/
public function large()
{
$this->setSize(self::LARGE);
return $this;
}
/**
* Sets the size to small
*
* @return $this
*/
public function small()
{
$this->setSize(self::SMALL);
return $this;
}
/**
* Sets the size to extra small
*
* @return $this
*/
public function extraSmall()
{
$this->setSize(self::EXTRA_SMALL);
return $this;
}
/**
* Renders the dropdown button
*
* @return string
*/
public function render()
{
if ($this->dropup) {
$string = "
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
================================================
FILE: docs/files/Facades.Breadcrumb.html
================================================
API Documentation
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
================================================
FILE: docs/files/Facades.Label.html
================================================
API Documentation
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
================================================
FILE: docs/files/Facades.Navbar.html
================================================
API Documentation
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
================================================
FILE: docs/files/Facades.ProgressBar.html
================================================
API Documentation
================================================
FILE: docs/files/Helpers.php.txt
================================================
config = $config;
}
/**
* Slugifies a string
*
* @param string $string
* @return mixed
*/
public static function slug($string)
{
return preg_replace('/[^A-Za-z0-9-]+/', '-', strtolower($string));
}
/**
* Outputs a link to the Bootstrap CDN
*
* @param bool $withTheme Gets the bootstrap theme as well
* @return string
*/
public function css($withTheme = true)
{
$version = $this->config->get('bootstrapper::bootstrapVersion');
$string = "";
if ($withTheme) {
$string .= "";
}
return $string;
}
/**
* Outputs a link to the Jquery and Bootstrap CDN
*
* @return string
*/
public function js()
{
$jquery = $this->config->get('bootstrapper::jqueryVersion');
$bootstrap = $this->config->get('bootstrapper::bootstrapVersion');
return "";
}
/**
* Generate an id of the form "x-class-name-x". These should always be
* unique.
*
* @param RenderedObject $caller The object that called this
* @return string A unique id
*/
public static function generateId(RenderedObject $caller)
{
$class = get_class($caller);
if (isset(self::$counts[$class])) {
$count = self::$counts[$class];
self::$counts[$class] += 1;
} else {
$count = 1;
self::$counts[$class] = 2;
}
return static::slug(implode(' ', [$count, $class, $count]));
}
}
================================================
FILE: docs/files/Icon.html
================================================
API Documentation
================================================
FILE: docs/files/Icon.php.txt
================================================
config = $config;
}
/**
* Creates a span link with the correct icon link
*
* @param string $icon The icon name
* @return string
*/
public function create($icon)
{
$baseClass = $this->config->get('bootstrapper::icon_prefix');
$icon = $this->normaliseIconString($icon);
return "";
}
/**
* Magic method to create icons. Meaning the $icon->test is the same as
* $icon->create('test')
*
* @param $method The icon name
* @param $parameters The parameters. Not used
* @return string
*/
public function __call($method, $parameters)
{
return $this->create($method);
}
/**
* Replaces underscores with a minus sign, and convert camelCase to dash
* separated
*
* @param string $icon
* @return string
*/
private function normaliseIconString($icon)
{
// replace underscores with minus sign
// and transform from camelCaseString to camel-case-string
$icon = strtolower(
preg_replace(
'/(?<=\\w)(?=[A-Z])/',
"-$1",
str_replace('_', '-', $icon)
)
);
return $icon;
}
}
================================================
FILE: docs/files/Image.html
================================================
API Documentation
================================================
FILE: docs/files/Image.php.txt
================================================
src) {
throw new ImageException("You must specify the source");
}
$attributes = new Attributes(
$this->attributes,
['src' => $this->src, 'alt' => $this->alt]
);
return "";
}
/**
* Sets the source of the image
*
* @param string $source The source of the image
* @return $this
*/
public function withSource($source)
{
$this->src = $source;
return $this;
}
/**
* Sets the alt text of the image
*
* @param string $alt The alt text of the image
* @return $this
*/
public function withAlt($alt)
{
$this->alt = $alt;
return $this;
}
/**
* Sets the attributes of the image
*
* @param array $attributes
* @return $this
*/
public function withAttributes($attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Sets the image to be responsive
*
* @return $this
*/
public function responsive()
{
$this->addClass(self::IMAGE_RESPONSIVE);
return $this;
}
/**
* Creates a rounded image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function rounded($src = null, $alt = null)
{
$this->addClass(self::IMAGE_ROUNDED);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* Creates a circle image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function circle($src = null, $alt = null)
{
$this->addClass(self::IMAGE_CIRCLE);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* Creates a thumbnail image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function thumbnail($src = null, $alt = null)
{
$this->addClass(self::IMAGE_THUMBNAIL);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* Adds a class to the attributes
*
* @param string $class The class we need to add to the image
* @internal Normally we'd use the Attributes object but we don't have
* access to it at this point :-(
*/
public function addClass($class)
{
$this->attributes['class'] = isset($this->attributes['class']) ?
$this->attributes['class'] . " {$class}" :
$class;
}
}
================================================
FILE: docs/files/InputGroup.html
================================================
API Documentation
";
return $string;
}
/**
* Renders an addon
*
* @param array $addon The addon to render
* @return string
*/
protected function renderAddon(array $addon)
{
$string = "";
if ($addon['isButton']) {
$string .= "";
} else {
$string .= "";
}
$string .= $addon['value'];
$string .= "";
return $string;
}
/**
* Sets the contents of the input group
*
* @param string $contents The new contents
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the attributes
*
* @param array $attributes The new attributes of the input group
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Sets the size of the input group
*
* @param string $size The new size
* @return $this
*/
public function setSize($size)
{
$this->size = $size;
return $this;
}
/**
* Prepends something to the input
*
* @param string $prepend The value to prepend
* @param bool $isButton Whether the value is a button
* @return $this
*/
public function prepend($prepend, $isButton = false)
{
$this->prepend = ['value' => $prepend, 'isButton' => $isButton];
return $this;
}
/**
* Prepend a button
*
* @param string $button The button to prepend
* @return $this
*/
public function prependButton($button)
{
return $this->prepend($button, true);
}
/**
* Appends something to the input
*
* @param string $append The value to append
* @param bool $isButton Whether the value is a button
* @return $this
*/
public function append($append, $isButton = false)
{
$this->append = ['value' => $append, 'isButton' => $isButton];
return $this;
}
/**
* Append a button
*
* @param string $button The button to append
* @return $this
*/
public function appendButton($button)
{
return $this->append($button, true);
}
/**
* Makes the input group large
*
* @return $this
*/
public function large()
{
$this->setSize(self::LARGE);
return $this;
}
/**
* Makes the input group small
*
* @return $this
*/
public function small()
{
$this->setSize(self::SMALL);
return $this;
}
}
================================================
FILE: docs/files/Label.html
================================================
API Documentation
================================================
FILE: docs/files/Label.php.txt
================================================
type}'>{$this->contents}";
}
/**
* Sets the contents of the label
*
* @param string $contents The new contents of the label
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the type of the label. Assumes that the label- prefix is already set
*
* @param string $type The new type
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Creates a primary label
*
* @param string $contents The contents of the label
* @return $this
*/
public function primary($contents = '')
{
$this->setType(self::LABEL_PRIMARY);
return $this->withContents($contents);
}
/**
* Creates a success label
*
* @param string $contents The contents of the label
* @return $this
*/
public function success($contents = '')
{
$this->setType(self::LABEL_SUCCESS);
return $this->withContents($contents);
}
/**
* Creates an info label
*
* @param string $contents The contents of the label
* @return $this
*/
public function info($contents = '')
{
$this->setType(self::LABEL_INFO);
return $this->withContents($contents);
}
/**
* Creates a warning label
*
* @param string $contents The contents of the label
* @return $this
*/
public function warning($contents = '')
{
$this->setType(self::LABEL_WARNING);
return $this->withContents($contents);
}
/**
* Creates a danger label
*
* @param string $contents The contents of the label
* @return $this
*/
public function danger($contents = '')
{
$this->setType(self::LABEL_DANGER);
return $this->withContents($contents);
}
/**
* Creates a label
*
* @param string $contents The contents of the label
* @param string $type The type to use
* @return $this
*/
public function create($contents, $type = self::LABEL_DEFAULT)
{
$this->setType($type);
return $this->withContents($contents);
}
/**
* Creates a normal label
*
* @param string $contents The contents of the label
* @return $this
*/
public function normal($contents = '')
{
$this->setType(self::LABEL_DEFAULT);
return $this->withContents($contents);
}
}
================================================
FILE: docs/files/MediaObject.html
================================================
API Documentation
================================================
FILE: docs/files/MediaObject.php.txt
================================================
list) {
return $this->renderList();
}
if (!$this->contents) {
throw new MediaObjectException(
"You need to give the object some contents"
);
}
return $this->renderItem($this->contents, 'div');
}
/**
* Sets the contents of the media object
*
* @param array $contents The contents of the media object
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
// Check if it's an array of arrays
$this->list = isset($contents[0]);
return $this;
}
/**
* Force the media object to become a list
*
* @return $this
*/
public function asList()
{
$this->list = true;
return $this;
}
/**
* Renders a list
*
* @return string
*/
protected function renderList()
{
$string = "
";
return $string;
}
/**
* Renders an item in the string
*
* @param array $contents
* @param string $tag The tag to wrap the item in
* @return string
* @throws MediaObjectException
*/
protected function renderItem(array $contents, $tag)
{
$position = $this->getPosition($contents);
$heading = $this->getHeading($contents);
$image = $this->getImage($contents, $heading);
$link = $this->getLink($contents, $image, $position);
$body = $this->getBody($contents);
$string = "<{$tag} class='media'>";
$string .= $link;
$string .= "
";
if ($heading) {
$string .= "
{$heading}
";
}
$string .= $body;
$string .= "
{$tag}>";
return $string;
}
/**
* Get the position
*
* @param array $contents
* @return string pull-right if the position key equals right. pull-left
* otherwise
*/
protected function getPosition(array $contents)
{
if (isset($contents['position']) && $contents['position'] == 'right') {
return 'pull-right';
}
return 'pull-left';
}
/**
* Get the image of the media object
*
* @param array $contents
* @param string $alt The alt text of the image
* @return string
* @throws MediaObjectException if there is no image set
*/
protected function getImage(array $contents, $alt)
{
if (!isset($contents['image'])) {
throw new MediaObjectException(
"You must pass in an image to each object"
);
}
$image = $contents['image'];
$attributes = new Attributes(
['class' => 'media-object', 'src' => $image, 'alt' => $alt]
);
return "";
}
/**
* Get the heading of the media object
*
* @param array $contents
* @return string
*/
protected function getHeading(array $contents)
{
return isset($contents['heading']) ? $contents['heading'] : '';
}
/**
* Turn the image into a link/div
*
* @param array $contents The contents array
* @param string $image The image
* @param string $position The position
* @return string
*/
protected function getLink(array $contents, $image, $position)
{
if (isset($contents['link'])) {
return "{$image}";
}
return "
{$image}
";
}
/**
* Get the body of the contents array
*
* @param array $contents
* @return string
* @throws MediaObjectException if the body key has not been set
*/
protected function getBody(array $contents)
{
if (!isset($contents['body'])) {
throw new MediaObjectException(
'You must pass in the body to each object'
);
}
$string = $contents['body'];
if (isset($contents['nest'])) {
$object = new MediaObject();
$string .= $object->withContents($contents['nest']);
}
return $string;
}
}
================================================
FILE: docs/files/Modal.html
================================================
API Documentation
";
return $string;
}
/**
* Sets the attributes
*
* @param array $attributes The new attributes of the modal
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Sets the title of the modal
*
* @param string $title
* @return $this
*/
public function withTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Renders the header of the modal
*
* @return string
*/
protected function renderHeader()
{
$title = '';
if ($this->title) {
$title .= "
{$this->title}
";
}
return "
{$title}
";
}
/**
* Sets the body of the modal
*
* @param string $body The new body of the modal
* @return $this
*/
public function withBody($body)
{
$this->body = $body;
return $this;
}
/**
* Renders the body
*
* @return string
*/
protected function renderBody()
{
return $this->body ? "
{$this->body}
" : '';
}
/**
* Renders the footer
*
* @return string
*/
protected function renderFooter()
{
return $this->footer ? "" : '';
}
/**
* Set the footer of the modal
*
* @param string $footer The footer
* @return $this
*/
public function withFooter($footer)
{
$this->footer = $footer;
return $this;
}
/**
* Sets the name of the modal
*
* @param string $name The name of the modal
* @return $this
*/
public function named($name)
{
$this->name = $name;
$this->attributes['id'] = $name;
return $this;
}
/**
* Sets the button
*
* @param Button $button The button to open the modal with
* @return $this
*/
public function withButton(Button $button = null)
{
if ($button) {
$this->button = $button;
} else {
$button = new Button();
$this->button = $button->withValue('Open Modal');
}
return $this;
}
/**
* Renders the button
*
* @param Attributes $attributes The attributes of the modal
* @return string
*/
protected function renderButton(Attributes $attributes)
{
if (!$this->button) {
return '';
}
if (!isset($attributes['id'])) {
$attributes['id'] = Helpers::generateId($this);
}
$this->button->addAttributes(
['data-toggle' => 'modal', 'data-target' => "#{$attributes['id']}"]
)->render();
return $this->button->render();
}
}
================================================
FILE: docs/files/Navbar.html
================================================
API Documentation
";
// Add the collapse button
$string .= "";
if ($this->brand) {
$string .= "{$this->brand['brand']}";
}
$string .= "
";
return $string;
}
/**
* Sets the brand of the navbar
*
* @param string $brand The brand
* @param null|string $link The link. If not set we default to linking to
* '/' using the UrlGenerator
* @return $this
*/
public function withBrand($brand, $link = null)
{
if (!isset($link)) {
$link = $this->url->to('/');
}
$this->brand = compact('brand', 'link');
return $this;
}
/**
* Adds attributes to the navbar
*
* @param $attributes array The attributes of the array
* @return $this
*/
public function withAttributes($attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Adds some content to the navbar
*
* @param mixed $content Anything that can become a string! If you pass in a
* Bootstrapper\Navigation object we'll make sure
* it's a navbar on render.
* @return $this
*/
public function withContent($content)
{
$this->content[] = $content;
return $this;
}
/**
* Sets the navbar to be inverse
*
* @return $this
*/
public function inverse()
{
$this->setType(self::NAVBAR_INVERSE);
return $this;
}
/**
* Sets the position to top
*
* @return $this
*/
public function staticTop()
{
$this->setPosition(self::NAVBAR_STATIC);
return $this;
}
/**
* Sets the type of the navbar
*
* @param string $type The type of the navbar. Assumes that the navbar-
* prefix is there
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the position of the navbar
*
* @param string $position The position of the navbar. Assumes that the
* navbar- prefix is there
* @return $this
*/
public function setPosition($position)
{
$this->position = $position;
return $this;
}
/**
* Sets the position of the navbar to the top
*
* @return $this
*/
public function top()
{
$this->setPosition(self::NAVBAR_TOP);
return $this;
}
/**
* Sets the position of the navbar to the bottom
*
* @return $this
*/
public function bottom()
{
$this->setPosition(self::NAVBAR_BOTTOM);
return $this;
}
/**
* Creates a navbar with a position and attributes
*
* @param string $position The position of the navbar
* @param array $attributes The attributes of the navbar
* @return $this
*/
public function create($position, $attributes = [])
{
$this->setPosition($position);
return $this->withAttributes($attributes);
}
/**
* Sets the navbar to be fluid
*
* @return $this
*/
public function fluid()
{
$this->fluid = true;
return $this;
}
}
================================================
FILE: docs/files/Navigation.html
================================================
API Documentation
disabled - (optional) Forces the link to be disabled. Note that
* active has priority over this
*
linkAttributes - The attributes for the link
*
callback - A callback. If it return a result that is EXACTLY
* equal to false then the link won't be shown
*
* To create a dropdown, the inner array should instead be [$title, $links],
* where $links is an array of arrays for links
*/
protected $links = [];
/**
* @var UrlGenerator A laravel URL generator
*/
protected $url;
/**
* @var bool Whether we should automatically activate links
*/
protected $autoroute = true;
/**
* @var bool Whether the links are justified or not
*/
protected $justified = false;
/**
* @var bool Whether the navigation links are stacked or not
*/
protected $stacked = false;
/**
* Creates a new instance of Navigation
*
* @param UrlGenerator $urlGenerator
*/
public function __construct(UrlGenerator $urlGenerator)
{
$this->url = $urlGenerator;
}
/**
* Renders the navigation object
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
['class' => "nav {$this->type}"]
);
if ($this->justified) {
$attributes->addClass('nav-justified');
}
if ($this->stacked) {
$attributes->addClass('nav-stacked');
}
$string = "
";
return $string;
}
/**
* Set the attributes of the navigation object
*
* @param array $attributes The attributes
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Creates a pills navigation block
*
* @param array $links The links
* @param array $attributes The attributes. Does not overwrite the
* previous values if not set
* @see Bootstrapper\Navigatation::$links
* @return $this
*/
public function pills(array $links = [], array $attributes = null)
{
$this->type = self::NAVIGATION_PILLS;
if (!isset($attributes)) {
$attributes = $this->attributes;
}
return $this->links($links)->withAttributes($attributes);
}
/**
* Sets the links of the navigation object
*
* @param array $links The links
* @return $this
* @see Bootstrapper\Navigation::$links
*/
public function links(array $links)
{
$this->links = $links;
return $this;
}
/**
* Creates a navigation tab object.
*
* @param array $links The links to be passed in
* @param array $attributes The attributes of the navigation object. Will
* overwrite unless not set.
* @return $this
*/
public function tabs(array $links = [], array $attributes = null)
{
$this->type = self::NAVIGATION_TABS;
if (!isset($attributes)) {
$attributes = $this->attributes;
}
return $this->links($links)->withAttributes($attributes);
}
/**
* Renders a link
*
* @param array $link A link to be rendered
* @return string
*/
protected function renderLink(array $link)
{
$string = '';
if (isset($link['callback'])) {
$callback = $link['callback'];
if ($callback() === false) {
return $string;
}
}
if ($this->itemShouldBeActive($link)) {
$string .= '
";
return $string;
}
/**
* Sets the autorouting. Pass false to turn it off, true to turn it on
*
* @param bool $autoroute Whether the autorouting should be on
* @return $this
*/
public function autoroute($autoroute)
{
$this->autoroute = $autoroute;
return $this;
}
/**
* Renders the dropdown
*
* @param array $link The link to render
* @return string
*/
protected function renderDropdown(array $link)
{
if ($this->dropdownShouldBeActive($link)) {
$string = '
';
foreach ($link[1] as $item) {
// @todo Eerily similar to the check in the render method
$string .= is_array($item) ?
$this->renderLink($item) :
$this->renderSeparator($item);
}
$string .= '
';
$string .= '
';
return $string;
}
/**
* Checks to see if the dropdown should be active
*
* @param array $dropdown The dropdown array
* @return bool
*/
protected function dropdownShouldBeActive(array $dropdown)
{
if ($this->autoroute) {
foreach ($dropdown[1] as $item) {
if ($this->itemShouldBeActive($item)) {
return true;
}
}
}
return false;
}
/**
* checks whether an item should be activated or not.
* If the item is not to be activated via URL::current(), it checks
* if the item is a dropdown and returns true if any of the children
* of items have target === URL::current()
*
* @param array $item item array
* @return boolean
*/
protected static function shouldActivate($item)
{
// @todo Rewrite. We can't assume we have access to the URL facade
if (\URL::current() == $item['url']) {
return true;
}
if (isset($item['items']) and is_array($item['items'])) {
foreach ($item['items'] as $i) {
if (static::shouldActivate($i) === true) {
return true;
}
}
}
return false;
}
/**
* Checks to see if the given item should be active
*
* @param mixed $link A link to check whether it should be active
* @return bool
*/
protected function itemShouldBeActive($link)
{
if (is_string($link)) {
return false;
}
$auto = $this->autoroute && $this->url->current() == $link['link'];
$manual = isset($link['active']) && $link['active'];
return $auto || $manual;
}
/**
* Turns the navigation object into one for navbars
*
* @return $this
*/
public function navbar()
{
$this->type = self::NAVIGATION_NAVBAR;
return $this;
}
/**
* Makes the navigation links justified
*
* @return $this
*/
public function justified()
{
$this->justified = true;
return $this;
}
/**
* Makes the navigation stacked
*
* @return $this
*/
public function stacked()
{
$this->stacked = true;
return $this;
}
/**
* Renders a separator
*
* @param string $separator
* @return string
*/
protected function renderSeparator($separator)
{
return "";
}
}
================================================
FILE: docs/files/Panel.html
================================================
API Documentation
";
if ($this->header) {
$string .= $this->renderHeader();
}
if ($this->body) {
$string .= $this->renderBody();
}
if ($this->footer) {
$string .= $this->renderFooter();
}
$string .= "
";
return $string;
}
/**
* Sets the attributes of the panel
*
* @param array $attributes The attributes
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Creates a primary panel
*
* @return $this
*/
public function primary()
{
$this->setType(self::PRIMARY);
return $this;
}
/**
* Creates a success panel
*
* @return $this
*/
public function success()
{
$this->setType(self::SUCCESS);
return $this;
}
/**
* Creates an info panel
*
* @return $this
*/
public function info()
{
$this->setType(self::INFO);
return $this;
}
/**
* Creates an warning panel
*
* @return $this
*/
public function warning()
{
$this->setType(self::WARNING);
return $this;
}
/**
* Creates an danger panel
*
* @return $this
*/
public function danger()
{
$this->setType(self::DANGER);
return $this;
}
/**
* Sets the type of the panel
*
* @param string $type The new type. Assume the panel- prefix
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the header of the panel
*
* @param string $header The header
* @return $this
*/
public function withHeader($header)
{
$this->header = $header;
return $this;
}
/**
* Renders the header
*
* @return string
*/
protected function renderHeader()
{
$string = "
";
$string .= "
{$this->header}
";
$string .= '
';
return $string;
}
/**
* Sets the body of the panel
*
* @param string $body The body
* @return $this
*/
public function withBody($body)
{
$this->body = $body;
return $this;
}
/**
* Renders the body
*
* @return string
*/
protected function renderBody()
{
return "
{$this->body}
";
}
/**
* Sets the footer
*
* @param string $footer The new footer
* @return $this
*/
public function withFooter($footer)
{
$this->footer = $footer;
return $this;
}
/**
* Renders the footer
*
* @return string
*/
protected function renderFooter()
{
return "";
}
/**
* Creates a normal panel
*
* @return $this
*/
public function normal()
{
$this->setType(self::NORMAL);
return $this;
}
}
================================================
FILE: docs/files/ProgressBar.html
================================================
API Documentation
";
return $string;
}
/**
* Sets the type of the progress bar
*
* @param string $type The type
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the value of the progress bar
*
* @param int $value The value of the progress bar The value of the
* progress bar
* @return $this
*/
public function value($value)
{
$this->value = $value;
return $this;
}
/**
* Whether the amount should be visible
*
* @param string $string The string to show to the user. We internally
* will use sprintf to show this, so you must
* include a %s somewhere so we can add this in
* @return $this
*/
public function visible($string = '%s%%')
{
$this->visible = true;
$this->visibleString = $string;
return $this;
}
/**
* Creates a success progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function success($value = 0)
{
$this->setType(self::PROGRESS_BAR_SUCCESS);
return $this->value($value);
}
/**
* Creates an info progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function info($value = 0)
{
$this->setType(self::PROGRESS_BAR_INFO);
return $this->value($value);
}
/**
* Creates a warning progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function warning($value = 0)
{
$this->setType(self::PROGRESS_BAR_WARNING);
return $this->value($value);
}
/**
* Creates a danger progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function danger($value = 0)
{
$this->setType(self::PROGRESS_BAR_DANGER);
return $this->value($value);
}
/**
* Creates a normal progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function normal($value = 0)
{
$this->setType(self::PROGRESS_BAR_NORMAL);
return $this->value($value);
}
/**
* Sets the progress bar to be striped
*
* @return $this
*/
public function striped()
{
$this->striped = true;
return $this;
}
/**
* Sets the progress bar to be animated
*
* @return $this
*/
public function animated()
{
$this->animated = true;
return $this->striped();
}
/**
* Stacks several progress bars together
*
* @param array $items The progress bars. Should be an array of arrays,
* which are a list of methods and parameters.
* @return string
*/
public function stack(array $items)
{
$string = '
';
return $string;
}
/**
* Sets the table type
*
* @param string $type The type of the table
*/
public function setType($type)
{
$this->type = $type;
}
/**
* Sets the table to be striped
*
* @return $this
*/
public function striped()
{
$this->setType(self::TABLE_STRIPED);
return $this;
}
/**
* Sets the table to be bordered
*
* @return $this
*/
public function bordered()
{
$this->setType(self::TABLE_BORDERED);
return $this;
}
/**
* Sets the table to have an active hover state
*
* @return $this
*/
public function hover()
{
$this->setType(self::TABLE_HOVER);
return $this;
}
/**
* Sets the table to be condensed
*
* @return $this
*/
public function condensed()
{
$this->setType(self::TABLE_CONDENSED);
return $this;
}
/**
* Sets the contents of the table
*
* @param array|Traversable $contents The contents of the table. We expect
* either an array of arrays or an
* array of eloquent models
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Renders the contents of the table
*
* @return string
*/
private function renderContents()
{
$headers = $this->getHeaders();
$string = '
';
foreach ($headers as $heading) {
$string .= "
{$heading}
";
}
$string .= '
';
$string .= '';
foreach ($this->contents as $item) {
if (!is_array($item)) {
$item = $item->getAttributes();
}
$string .= $this->renderItem($item, $headers);
}
$string .= '';
return $string;
}
/**
* Gets the headers of the contents
*
* @return array
*/
private function getHeaders()
{
$headers = [];
foreach ($this->contents as $item) {
if (!is_array($item)) {
$item = $item->getAttributes();
}
foreach (array_keys($item) as $key) {
if (in_array($key, $this->ignores)) {
continue;
}
if ($this->only && !in_array($key, $this->only)) {
continue;
}
if (!in_array($key, $headers)) {
$headers[] = $key;
}
}
}
foreach (array_keys($this->callbacks) as $key) {
if (in_array($key, $this->ignores)) {
continue;
}
if (!in_array($key, $headers)) {
$headers[] = $key;
}
}
return $headers;
}
/**
* Renders an item
*
* @param mixed $item The item to render
* @param array $headers The headers to use
* @return string
*/
private function renderItem($item, array $headers)
{
$string = '
';
return $string;
}
/**
* Creates a list of columns to ignore
*
* @param array $ignores The ignored columns
* @return $this
*/
public function ignore(array $ignores)
{
$this->ignores = $ignores;
return $this;
}
/**
* Adds a callback
*
* @param string $index The column name for the callback
* @param callable $function The callback function,
* which should be of the form
* function($column, $row).
* @return $this
*/
public function callback($index, \Closure $function)
{
$this->callbacks[$index] = $function;
return $this;
}
/**
* Sets which columns we can return
*
* @param array $only
* @return $this
*/
public function only(array $only)
{
$this->only = $only;
return $this;
}
}
================================================
FILE: docs/files/Thumbnail.html
================================================
API Documentation
================================================
FILE: docs/js/SVGPan.js
================================================
/**
* SVGPan library 1.2 - phpDocumentor1
* ====================
*
* Given an unique existing element with id "viewport", including the
* the library into any SVG adds the following capabilities:
*
* - Mouse panning
* - Mouse zooming (using the wheel)
* - Object dargging
*
* Known issues:
*
* - Zooming (while panning) on Safari has still some issues
*
* Releases:
*
* 1.2 - phpDocumentor1, Fri Apr 08 19:19:00 CET 2011, Mike van Riel
* Increased zoom speed with 20%
* Disabled element moving functionality
*
* 1.2, Sat Mar 20 08:42:50 GMT 2010, Zeng Xiaohui
* Fixed a bug with browser mouse handler interaction
*
* 1.1, Wed Feb 3 17:39:33 GMT 2010, Zeng Xiaohui
* Updated the zoom code to support the mouse wheel on Safari/Chrome
*
* 1.0, Andrea Leofreddi
* First release
*
* This code is licensed under the following BSD license:
*
* Copyright 2009-2010 Andrea Leofreddi . All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
* of conditions and the following disclaimer in the documentation and/or other materials
* provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY Andrea Leofreddi ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Andrea Leofreddi OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* The views and conclusions contained in the software and documentation are those of the
* authors and should not be interpreted as representing official policies, either expressed
* or implied, of Andrea Leofreddi.
*/
var root = document.documentElement;
var state = 'none', stateTarget, stateOrigin, stateTf;
setupHandlers(root);
/**
* Register handlers
*/
function setupHandlers(root){
setAttributes(root, {
"onmouseup" : "add(evt)",
"onmousedown" : "handleMouseDown(evt)",
"onmousemove" : "handleMouseMove(evt)",
"onmouseup" : "handleMouseUp(evt)",
// "onmouseout" : "handleMouseUp(evt)" // Decomment this to stop the pan functionality when dragging out of the SVG element
});
if(navigator.userAgent.toLowerCase().indexOf('webkit') >= 0)
window.addEventListener('mousewheel', handleMouseWheel, false); // Chrome/Safari
else
window.addEventListener('DOMMouseScroll', handleMouseWheel, false); // Others
}
/**
* Instance an SVGPoint object with given event coordinates.
*/
function getEventPoint(evt) {
var p = root.createSVGPoint();
p.x = evt.clientX;
p.y = evt.clientY;
return p;
}
/**
* Sets the current transform matrix of an element.
*/
function setCTM(element, matrix) {
var s = "matrix(" + matrix.a + "," + matrix.b + "," + matrix.c + "," + matrix.d + "," + matrix.e + "," + matrix.f + ")";
element.setAttribute("transform", s);
}
/**
* Dumps a matrix to a string (useful for debug).
*/
function dumpMatrix(matrix) {
var s = "[ " + matrix.a + ", " + matrix.c + ", " + matrix.e + "\n " + matrix.b + ", " + matrix.d + ", " + matrix.f + "\n 0, 0, 1 ]";
return s;
}
/**
* Sets attributes of an element.
*/
function setAttributes(element, attributes){
for (i in attributes)
element.setAttributeNS(null, i, attributes[i]);
}
/**
* Handle mouse move event.
*/
function handleMouseWheel(evt) {
if(evt.preventDefault)
evt.preventDefault();
evt.returnValue = false;
var svgDoc = evt.target.ownerDocument;
var delta;
if(evt.wheelDelta)
delta = evt.wheelDelta / 3600; // Chrome/Safari
else
delta = evt.detail / -90; // Mozilla
var z = 1 + (delta * 1.2); // Zoom factor: 0.9/1.1
var g = svgDoc.getElementById("viewport");
var p = getEventPoint(evt);
p = p.matrixTransform(g.getCTM().inverse());
// Compute new scale matrix in current mouse position
var k = root.createSVGMatrix().translate(p.x, p.y).scale(z).translate(-p.x, -p.y);
setCTM(g, g.getCTM().multiply(k));
stateTf = stateTf.multiply(k.inverse());
}
/**
* Handle mouse move event.
*/
function handleMouseMove(evt) {
if(evt.preventDefault)
evt.preventDefault();
evt.returnValue = false;
var svgDoc = evt.target.ownerDocument;
var g = svgDoc.getElementById("viewport");
if(state == 'pan') {
// Pan mode
var p = getEventPoint(evt).matrixTransform(stateTf);
setCTM(g, stateTf.inverse().translate(p.x - stateOrigin.x, p.y - stateOrigin.y));
} else if(state == 'move') {
// Move mode
var p = getEventPoint(evt).matrixTransform(g.getCTM().inverse());
setCTM(stateTarget, root.createSVGMatrix().translate(p.x - stateOrigin.x, p.y - stateOrigin.y).multiply(g.getCTM().inverse()).multiply(stateTarget.getCTM()));
stateOrigin = p;
}
}
/**
* Handle click event.
*/
function handleMouseDown(evt) {
if(evt.preventDefault)
evt.preventDefault();
evt.returnValue = false;
var svgDoc = evt.target.ownerDocument;
var g = svgDoc.getElementById("viewport");
// if(evt.target.tagName == "svg") {
// Pan mode
state = 'pan';
stateTf = g.getCTM().inverse();
stateOrigin = getEventPoint(evt).matrixTransform(stateTf);
// } else {
// Move mode
// state = 'move';
//
// stateTarget = evt.target;
//
// stateTf = g.getCTM().inverse();
//
// stateOrigin = getEventPoint(evt).matrixTransform(stateTf);
// }
}
/**
* Handle mouse button release event.
*/
function handleMouseUp(evt) {
if(evt.preventDefault)
evt.preventDefault();
evt.returnValue = false;
var svgDoc = evt.target.ownerDocument;
if(state == 'pan' || state == 'move') {
// Quit pan mode
state = '';
}
}
================================================
FILE: docs/js/bootstrap.js
================================================
/* ===================================================
* bootstrap-transition.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#transitions
* ===================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================== */
!function( $ ) {
$(function () {
"use strict"
/* CSS TRANSITION SUPPORT (https://gist.github.com/373874)
* ======================================================= */
$.support.transition = (function () {
var thisBody = document.body || document.documentElement
, thisStyle = thisBody.style
, support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined
return support && {
end: (function () {
var transitionEnd = "TransitionEnd"
if ( $.browser.webkit ) {
transitionEnd = "webkitTransitionEnd"
} else if ( $.browser.mozilla ) {
transitionEnd = "transitionend"
} else if ( $.browser.opera ) {
transitionEnd = "oTransitionEnd"
}
return transitionEnd
}())
}
})()
})
}( window.jQuery )
/* ==========================================================
* bootstrap-alert.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#alerts
* ==========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================== */
!function( $ ){
"use strict"
/* ALERT CLASS DEFINITION
* ====================== */
var dismiss = '[data-dismiss="alert"]'
, Alert = function ( el ) {
$(el).on('click', dismiss, this.close)
}
Alert.prototype = {
constructor: Alert
, close: function ( e ) {
var $this = $(this)
, selector = $this.attr('data-target')
, $parent
if (!selector) {
selector = $this.attr('href')
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
}
$parent = $(selector)
$parent.trigger('close')
e && e.preventDefault()
$parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent())
$parent.removeClass('in')
function removeElement() {
$parent.remove()
$parent.trigger('closed')
}
$.support.transition && $parent.hasClass('fade') ?
$parent.on($.support.transition.end, removeElement) :
removeElement()
}
}
/* ALERT PLUGIN DEFINITION
* ======================= */
$.fn.alert = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('alert')
if (!data) $this.data('alert', (data = new Alert(this)))
if (typeof option == 'string') data[option].call($this)
})
}
$.fn.alert.Constructor = Alert
/* ALERT DATA-API
* ============== */
$(function () {
$('body').on('click.alert.data-api', dismiss, Alert.prototype.close)
})
}( window.jQuery )
/* ============================================================
* bootstrap-button.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#buttons
* ============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============================================================ */
!function( $ ){
"use strict"
/* BUTTON PUBLIC CLASS DEFINITION
* ============================== */
var Button = function ( element, options ) {
this.$element = $(element)
this.options = $.extend({}, $.fn.button.defaults, options)
}
Button.prototype = {
constructor: Button
, setState: function ( state ) {
var d = 'disabled'
, $el = this.$element
, data = $el.data()
, val = $el.is('input') ? 'val' : 'html'
state = state + 'Text'
data.resetText || $el.data('resetText', $el[val]())
$el[val](data[state] || this.options[state])
// push to event loop to allow forms to submit
setTimeout(function () {
state == 'loadingText' ?
$el.addClass(d).attr(d, d) :
$el.removeClass(d).removeAttr(d)
}, 0)
}
, toggle: function () {
var $parent = this.$element.parent('[data-toggle="buttons-radio"]')
$parent && $parent
.find('.active')
.removeClass('active')
this.$element.toggleClass('active')
}
}
/* BUTTON PLUGIN DEFINITION
* ======================== */
$.fn.button = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('button')
, options = typeof option == 'object' && option
if (!data) $this.data('button', (data = new Button(this, options)))
if (option == 'toggle') data.toggle()
else if (option) data.setState(option)
})
}
$.fn.button.defaults = {
loadingText: 'loading...'
}
$.fn.button.Constructor = Button
/* BUTTON DATA-API
* =============== */
$(function () {
$('body').on('click.button.data-api', '[data-toggle^=button]', function ( e ) {
$(e.target).button('toggle')
})
})
}( window.jQuery )
/* ==========================================================
* bootstrap-carousel.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#carousel
* ==========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================== */
!function( $ ){
"use strict"
/* CAROUSEL CLASS DEFINITION
* ========================= */
var Carousel = function (element, options) {
this.$element = $(element)
this.options = $.extend({}, $.fn.carousel.defaults, options)
this.options.slide && this.slide(this.options.slide)
}
Carousel.prototype = {
cycle: function () {
this.interval = setInterval($.proxy(this.next, this), this.options.interval)
return this
}
, to: function (pos) {
var $active = this.$element.find('.active')
, children = $active.parent().children()
, activePos = children.index($active)
, that = this
if (pos > (children.length - 1) || pos < 0) return
if (this.sliding) {
return this.$element.one('slid', function () {
that.to(pos)
})
}
if (activePos == pos) {
return this.pause().cycle()
}
return this.slide(pos > activePos ? 'next' : 'prev', $(children[pos]))
}
, pause: function () {
clearInterval(this.interval)
return this
}
, next: function () {
if (this.sliding) return
return this.slide('next')
}
, prev: function () {
if (this.sliding) return
return this.slide('prev')
}
, slide: function (type, next) {
var $active = this.$element.find('.active')
, $next = next || $active[type]()
, isCycling = this.interval
, direction = type == 'next' ? 'left' : 'right'
, fallback = type == 'next' ? 'first' : 'last'
, that = this
this.sliding = true
isCycling && this.pause()
$next = $next.length ? $next : this.$element.find('.item')[fallback]()
if (!$.support.transition && this.$element.hasClass('slide')) {
this.$element.trigger('slide')
$active.removeClass('active')
$next.addClass('active')
this.sliding = false
this.$element.trigger('slid')
} else {
$next.addClass(type)
$next[0].offsetWidth // force reflow
$active.addClass(direction)
$next.addClass(direction)
this.$element.trigger('slide')
this.$element.one($.support.transition.end, function () {
$next.removeClass([type, direction].join(' ')).addClass('active')
$active.removeClass(['active', direction].join(' '))
that.sliding = false
setTimeout(function () { that.$element.trigger('slid') }, 0)
})
}
isCycling && this.cycle()
return this
}
}
/* CAROUSEL PLUGIN DEFINITION
* ========================== */
$.fn.carousel = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('carousel')
, options = typeof option == 'object' && option
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
if (typeof option == 'number') data.to(option)
else if (typeof option == 'string' || (option = options.slide)) data[option]()
else data.cycle()
})
}
$.fn.carousel.defaults = {
interval: 5000
}
$.fn.carousel.Constructor = Carousel
/* CAROUSEL DATA-API
* ================= */
$(function () {
$('body').on('click.carousel.data-api', '[data-slide]', function ( e ) {
var $this = $(this), href
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
, options = !$target.data('modal') && $.extend({}, $target.data(), $this.data())
$target.carousel(options)
e.preventDefault()
})
})
}( window.jQuery )
/* =============================================================
* bootstrap-collapse.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#collapse
* =============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============================================================ */
!function( $ ){
"use strict"
var Collapse = function ( element, options ) {
this.$element = $(element)
this.options = $.extend({}, $.fn.collapse.defaults, options)
if (this.options["parent"]) {
this.$parent = $(this.options["parent"])
}
this.options.toggle && this.toggle()
}
Collapse.prototype = {
constructor: Collapse
, dimension: function () {
var hasWidth = this.$element.hasClass('width')
return hasWidth ? 'width' : 'height'
}
, show: function () {
var dimension = this.dimension()
, scroll = $.camelCase(['scroll', dimension].join('-'))
, actives = this.$parent && this.$parent.find('.in')
, hasData
if (actives && actives.length) {
hasData = actives.data('collapse')
actives.collapse('hide')
hasData || actives.data('collapse', null)
}
this.$element[dimension](0)
this.transition('addClass', 'show', 'shown')
this.$element[dimension](this.$element[0][scroll])
}
, hide: function () {
var dimension = this.dimension()
this.reset(this.$element[dimension]())
this.transition('removeClass', 'hide', 'hidden')
this.$element[dimension](0)
}
, reset: function ( size ) {
var dimension = this.dimension()
this.$element
.removeClass('collapse')
[dimension](size || 'auto')
[0].offsetWidth
this.$element.addClass('collapse')
}
, transition: function ( method, startEvent, completeEvent ) {
var that = this
, complete = function () {
if (startEvent == 'show') that.reset()
that.$element.trigger(completeEvent)
}
this.$element
.trigger(startEvent)
[method]('in')
$.support.transition && this.$element.hasClass('collapse') ?
this.$element.one($.support.transition.end, complete) :
complete()
}
, toggle: function () {
this[this.$element.hasClass('in') ? 'hide' : 'show']()
}
}
/* COLLAPSIBLE PLUGIN DEFINITION
* ============================== */
$.fn.collapse = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('collapse')
, options = typeof option == 'object' && option
if (!data) $this.data('collapse', (data = new Collapse(this, options)))
if (typeof option == 'string') data[option]()
})
}
$.fn.collapse.defaults = {
toggle: true
}
$.fn.collapse.Constructor = Collapse
/* COLLAPSIBLE DATA-API
* ==================== */
$(function () {
$('body').on('click.collapse.data-api', '[data-toggle=collapse]', function ( e ) {
var $this = $(this), href
, target = $this.attr('data-target')
|| e.preventDefault()
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
, option = $(target).data('collapse') ? 'toggle' : $this.data()
$(target).collapse(option)
})
})
}( window.jQuery )
/* ============================================================
* bootstrap-dropdown.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
* ============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============================================================ */
!function( $ ){
"use strict"
/* DROPDOWN CLASS DEFINITION
* ========================= */
var toggle = '[data-toggle="dropdown"]'
, Dropdown = function ( element ) {
var $el = $(element).on('click.dropdown.data-api', this.toggle)
$('html').on('click.dropdown.data-api', function () {
$el.parent().removeClass('open')
})
}
Dropdown.prototype = {
constructor: Dropdown
, toggle: function ( e ) {
var $this = $(this)
, selector = $this.attr('data-target')
, $parent
, isActive
if (!selector) {
selector = $this.attr('href')
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
}
$parent = $(selector)
$parent.length || ($parent = $this.parent())
isActive = $parent.hasClass('open')
clearMenus()
!isActive && $parent.toggleClass('open')
return false
}
}
function clearMenus() {
$(toggle).parent().removeClass('open')
}
/* DROPDOWN PLUGIN DEFINITION
* ========================== */
$.fn.dropdown = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('dropdown')
if (!data) $this.data('dropdown', (data = new Dropdown(this)))
if (typeof option == 'string') data[option].call($this)
})
}
$.fn.dropdown.Constructor = Dropdown
/* APPLY TO STANDARD DROPDOWN ELEMENTS
* =================================== */
$(function () {
$('html').on('click.dropdown.data-api', clearMenus)
$('body').on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle)
})
}( window.jQuery )
/* =========================================================
* bootstrap-modal.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#modals
* =========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================= */
!function( $ ){
"use strict"
/* MODAL CLASS DEFINITION
* ====================== */
var Modal = function ( content, options ) {
this.options = $.extend({}, $.fn.modal.defaults, options)
this.$element = $(content)
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
}
Modal.prototype = {
constructor: Modal
, toggle: function () {
return this[!this.isShown ? 'show' : 'hide']()
}
, show: function () {
var that = this
if (this.isShown) return
$('body').addClass('modal-open')
this.isShown = true
this.$element.trigger('show')
escape.call(this)
backdrop.call(this, function () {
var transition = $.support.transition && that.$element.hasClass('fade')
!that.$element.parent().length && that.$element.appendTo(document.body) //don't move modals dom position
that.$element
.show()
if (transition) {
that.$element[0].offsetWidth // force reflow
}
that.$element.addClass('in')
transition ?
that.$element.one($.support.transition.end, function () { that.$element.trigger('shown') }) :
that.$element.trigger('shown')
})
}
, hide: function ( e ) {
e && e.preventDefault()
if (!this.isShown) return
var that = this
this.isShown = false
$('body').removeClass('modal-open')
escape.call(this)
this.$element
.trigger('hide')
.removeClass('in')
$.support.transition && this.$element.hasClass('fade') ?
hideWithTransition.call(this) :
hideModal.call(this)
}
}
/* MODAL PRIVATE METHODS
* ===================== */
function hideWithTransition() {
var that = this
, timeout = setTimeout(function () {
that.$element.off($.support.transition.end)
hideModal.call(that)
}, 500)
this.$element.one($.support.transition.end, function () {
clearTimeout(timeout)
hideModal.call(that)
})
}
function hideModal( that ) {
this.$element
.hide()
.trigger('hidden')
backdrop.call(this)
}
function backdrop( callback ) {
var that = this
, animate = this.$element.hasClass('fade') ? 'fade' : ''
if (this.isShown && this.options.backdrop) {
var doAnimate = $.support.transition && animate
this.$backdrop = $('')
.appendTo(document.body)
if (this.options.backdrop != 'static') {
this.$backdrop.click($.proxy(this.hide, this))
}
if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
this.$backdrop.addClass('in')
doAnimate ?
this.$backdrop.one($.support.transition.end, callback) :
callback()
} else if (!this.isShown && this.$backdrop) {
this.$backdrop.removeClass('in')
$.support.transition && this.$element.hasClass('fade')?
this.$backdrop.one($.support.transition.end, $.proxy(removeBackdrop, this)) :
removeBackdrop.call(this)
} else if (callback) {
callback()
}
}
function removeBackdrop() {
this.$backdrop.remove()
this.$backdrop = null
}
function escape() {
var that = this
if (this.isShown && this.options.keyboard) {
$(document).on('keyup.dismiss.modal', function ( e ) {
e.which == 27 && that.hide()
})
} else if (!this.isShown) {
$(document).off('keyup.dismiss.modal')
}
}
/* MODAL PLUGIN DEFINITION
* ======================= */
$.fn.modal = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('modal')
, options = typeof option == 'object' && option
if (!data) $this.data('modal', (data = new Modal(this, options)))
if (typeof option == 'string') data[option]()
else data.show()
})
}
$.fn.modal.defaults = {
backdrop: true
, keyboard: true
}
$.fn.modal.Constructor = Modal
/* MODAL DATA-API
* ============== */
$(function () {
$('body').on('click.modal.data-api', '[data-toggle="modal"]', function ( e ) {
var $this = $(this), href
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
, option = $target.data('modal') ? 'toggle' : $.extend({}, $target.data(), $this.data())
e.preventDefault()
$target.modal(option)
})
})
}( window.jQuery )
/* ===========================================================
* bootstrap-tooltip.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#tooltips
* Inspired by the original jQuery.tipsy by Jason Frame
* ===========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================== */
!function( $ ) {
"use strict"
/* TOOLTIP PUBLIC CLASS DEFINITION
* =============================== */
var Tooltip = function ( element, options ) {
this.init('tooltip', element, options)
}
Tooltip.prototype = {
constructor: Tooltip
, init: function ( type, element, options ) {
var eventIn
, eventOut
this.type = type
this.$element = $(element)
this.options = this.getOptions(options)
this.enabled = true
if (this.options.trigger != 'manual') {
eventIn = this.options.trigger == 'hover' ? 'mouseenter' : 'focus'
eventOut = this.options.trigger == 'hover' ? 'mouseleave' : 'blur'
this.$element.on(eventIn, this.options.selector, $.proxy(this.enter, this))
this.$element.on(eventOut, this.options.selector, $.proxy(this.leave, this))
}
this.options.selector ?
(this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
this.fixTitle()
}
, getOptions: function ( options ) {
options = $.extend({}, $.fn[this.type].defaults, options, this.$element.data())
if (options.delay && typeof options.delay == 'number') {
options.delay = {
show: options.delay
, hide: options.delay
}
}
return options
}
, enter: function ( e ) {
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
if (!self.options.delay || !self.options.delay.show) {
self.show()
} else {
self.hoverState = 'in'
setTimeout(function() {
if (self.hoverState == 'in') {
self.show()
}
}, self.options.delay.show)
}
}
, leave: function ( e ) {
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
if (!self.options.delay || !self.options.delay.hide) {
self.hide()
} else {
self.hoverState = 'out'
setTimeout(function() {
if (self.hoverState == 'out') {
self.hide()
}
}, self.options.delay.hide)
}
}
, show: function () {
var $tip
, inside
, pos
, actualWidth
, actualHeight
, placement
, tp
if (this.hasContent() && this.enabled) {
$tip = this.tip()
this.setContent()
if (this.options.animation) {
$tip.addClass('fade')
}
placement = typeof this.options.placement == 'function' ?
this.options.placement.call(this, $tip[0], this.$element[0]) :
this.options.placement
inside = /in/.test(placement)
$tip
.remove()
.css({ top: 0, left: 0, display: 'block' })
.appendTo(inside ? this.$element : document.body)
pos = this.getPosition(inside)
actualWidth = $tip[0].offsetWidth
actualHeight = $tip[0].offsetHeight
switch (inside ? placement.split(' ')[1] : placement) {
case 'bottom':
tp = {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2}
break
case 'top':
tp = {top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2}
break
case 'left':
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth}
break
case 'right':
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width}
break
}
$tip
.css(tp)
.addClass(placement)
.addClass('in')
}
}
, setContent: function () {
var $tip = this.tip()
$tip.find('.tooltip-inner').html(this.getTitle())
$tip.removeClass('fade in top bottom left right')
}
, hide: function () {
var that = this
, $tip = this.tip()
$tip.removeClass('in')
function removeWithAnimation() {
var timeout = setTimeout(function () {
$tip.off($.support.transition.end).remove()
}, 500)
$tip.one($.support.transition.end, function () {
clearTimeout(timeout)
$tip.remove()
})
}
$.support.transition && this.$tip.hasClass('fade') ?
removeWithAnimation() :
$tip.remove()
}
, fixTitle: function () {
var $e = this.$element
if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
$e.attr('data-original-title', $e.attr('title') || '').removeAttr('title')
}
}
, hasContent: function () {
return this.getTitle()
}
, getPosition: function (inside) {
return $.extend({}, (inside ? {top: 0, left: 0} : this.$element.offset()), {
width: this.$element[0].offsetWidth
, height: this.$element[0].offsetHeight
})
}
, getTitle: function () {
var title
, $e = this.$element
, o = this.options
title = $e.attr('data-original-title')
|| (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
title = title.toString().replace(/(^\s*|\s*$)/, "")
return title
}
, tip: function () {
return this.$tip = this.$tip || $(this.options.template)
}
, validate: function () {
if (!this.$element[0].parentNode) {
this.hide()
this.$element = null
this.options = null
}
}
, enable: function () {
this.enabled = true
}
, disable: function () {
this.enabled = false
}
, toggleEnabled: function () {
this.enabled = !this.enabled
}
, toggle: function () {
this[this.tip().hasClass('in') ? 'hide' : 'show']()
}
}
/* TOOLTIP PLUGIN DEFINITION
* ========================= */
$.fn.tooltip = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('tooltip')
, options = typeof option == 'object' && option
if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
if (typeof option == 'string') data[option]()
})
}
$.fn.tooltip.Constructor = Tooltip
$.fn.tooltip.defaults = {
animation: true
, delay: 0
, selector: false
, placement: 'top'
, trigger: 'hover'
, title: ''
, template: '
'
}
}( window.jQuery )
/* ===========================================================
* bootstrap-popover.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#popovers
* ===========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================================================== */
!function( $ ) {
"use strict"
var Popover = function ( element, options ) {
this.init('popover', element, options)
}
/* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js
========================================== */
Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype, {
constructor: Popover
, setContent: function () {
var $tip = this.tip()
, title = this.getTitle()
, content = this.getContent()
$tip.find('.popover-title')[ $.type(title) == 'object' ? 'append' : 'html' ](title)
$tip.find('.popover-content > *')[ $.type(content) == 'object' ? 'append' : 'html' ](content)
$tip.removeClass('fade top bottom left right in')
}
, hasContent: function () {
return this.getTitle() || this.getContent()
}
, getContent: function () {
var content
, $e = this.$element
, o = this.options
content = $e.attr('data-content')
|| (typeof o.content == 'function' ? o.content.call($e[0]) : o.content)
content = content.toString().replace(/(^\s*|\s*$)/, "")
return content
}
, tip: function() {
if (!this.$tip) {
this.$tip = $(this.options.template)
}
return this.$tip
}
})
/* POPOVER PLUGIN DEFINITION
* ======================= */
$.fn.popover = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('popover')
, options = typeof option == 'object' && option
if (!data) $this.data('popover', (data = new Popover(this, options)))
if (typeof option == 'string') data[option]()
})
}
$.fn.popover.Constructor = Popover
$.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {
placement: 'right'
, content: ''
, template: '
'
})
}( window.jQuery )
/* =============================================================
* bootstrap-scrollspy.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
* =============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============================================================== */
!function ( $ ) {
"use strict"
/* SCROLLSPY CLASS DEFINITION
* ========================== */
function ScrollSpy( element, options) {
var process = $.proxy(this.process, this)
, $element = $(element).is('body') ? $(window) : $(element)
, href
this.options = $.extend({}, $.fn.scrollspy.defaults, options)
this.$scrollElement = $element.on('scroll.scroll.data-api', process)
this.selector = (this.options.target
|| ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|| '') + ' .nav li > a'
this.$body = $('body').on('click.scroll.data-api', this.selector, process)
this.refresh()
this.process()
}
ScrollSpy.prototype = {
constructor: ScrollSpy
, refresh: function () {
this.targets = this.$body
.find(this.selector)
.map(function () {
var href = $(this).attr('href')
return /^#\w/.test(href) && $(href).length ? href : null
})
this.offsets = $.map(this.targets, function (id) {
return $(id).position().top
})
}
, process: function () {
var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
, offsets = this.offsets
, targets = this.targets
, activeTarget = this.activeTarget
, i
for (i = offsets.length; i--;) {
activeTarget != targets[i]
&& scrollTop >= offsets[i]
&& (!offsets[i + 1] || scrollTop <= offsets[i + 1])
&& this.activate( targets[i] )
}
}
, activate: function (target) {
var active
this.activeTarget = target
this.$body
.find(this.selector).parent('.active')
.removeClass('active')
active = this.$body
.find(this.selector + '[href="' + target + '"]')
.parent('li')
.addClass('active')
if ( active.parent('.dropdown-menu') ) {
active.closest('li.dropdown').addClass('active')
}
}
}
/* SCROLLSPY PLUGIN DEFINITION
* =========================== */
$.fn.scrollspy = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('scrollspy')
, options = typeof option == 'object' && option
if (!data) $this.data('scrollspy', (data = new ScrollSpy(this, options)))
if (typeof option == 'string') data[option]()
})
}
$.fn.scrollspy.Constructor = ScrollSpy
$.fn.scrollspy.defaults = {
offset: 10
}
/* SCROLLSPY DATA-API
* ================== */
$(function () {
$('[data-spy="scroll"]').each(function () {
var $spy = $(this)
$spy.scrollspy($spy.data())
})
})
}( window.jQuery )
/* ========================================================
* bootstrap-tab.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#tabs
* ========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ======================================================== */
!function( $ ){
"use strict"
/* TAB CLASS DEFINITION
* ==================== */
var Tab = function ( element ) {
this.element = $(element)
}
Tab.prototype = {
constructor: Tab
, show: function () {
var $this = this.element
, $ul = $this.closest('ul:not(.dropdown-menu)')
, selector = $this.attr('data-target')
, previous
, $target
if (!selector) {
selector = $this.attr('href')
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
}
if ( $this.parent('li').hasClass('active') ) return
previous = $ul.find('.active a').last()[0]
$this.trigger({
type: 'show'
, relatedTarget: previous
})
$target = $(selector)
this.activate($this.parent('li'), $ul)
this.activate($target, $target.parent(), function () {
$this.trigger({
type: 'shown'
, relatedTarget: previous
})
})
}
, activate: function ( element, container, callback) {
var $active = container.find('> .active')
, transition = callback
&& $.support.transition
&& $active.hasClass('fade')
function next() {
$active
.removeClass('active')
.find('> .dropdown-menu > .active')
.removeClass('active')
element.addClass('active')
if (transition) {
element[0].offsetWidth // reflow for transition
element.addClass('in')
} else {
element.removeClass('fade')
}
if ( element.parent('.dropdown-menu') ) {
element.closest('li.dropdown').addClass('active')
}
callback && callback()
}
transition ?
$active.one($.support.transition.end, next) :
next()
$active.removeClass('in')
}
}
/* TAB PLUGIN DEFINITION
* ===================== */
$.fn.tab = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('tab')
if (!data) $this.data('tab', (data = new Tab(this)))
if (typeof option == 'string') data[option]()
})
}
$.fn.tab.Constructor = Tab
/* TAB DATA-API
* ============ */
$(function () {
$('body').on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
e.preventDefault()
$(this).tab('show')
})
})
}( window.jQuery )
/* =============================================================
* bootstrap-typeahead.js v2.0.0
* http://twitter.github.com/bootstrap/javascript.html#typeahead
* =============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ============================================================ */
!function( $ ){
"use strict"
var Typeahead = function ( element, options ) {
this.$element = $(element)
this.options = $.extend({}, $.fn.typeahead.defaults, options)
this.matcher = this.options.matcher || this.matcher
this.sorter = this.options.sorter || this.sorter
this.highlighter = this.options.highlighter || this.highlighter
this.$menu = $(this.options.menu).appendTo('body')
this.source = this.options.source
this.shown = false
this.listen()
}
Typeahead.prototype = {
constructor: Typeahead
, select: function () {
var val = this.$menu.find('.active').attr('data-value')
this.$element.val(val)
return this.hide()
}
, show: function () {
var pos = $.extend({}, this.$element.offset(), {
height: this.$element[0].offsetHeight
})
this.$menu.css({
top: pos.top + pos.height
, left: pos.left
})
this.$menu.show()
this.shown = true
return this
}
, hide: function () {
this.$menu.hide()
this.shown = false
return this
}
, lookup: function (event) {
var that = this
, items
, q
this.query = this.$element.val()
if (!this.query) {
return this.shown ? this.hide() : this
}
items = $.grep(this.source, function (item) {
if (that.matcher(item)) return item
})
items = this.sorter(items)
if (!items.length) {
return this.shown ? this.hide() : this
}
return this.render(items.slice(0, this.options.items)).show()
}
, matcher: function (item) {
return ~item.toLowerCase().indexOf(this.query.toLowerCase())
}
, sorter: function (items) {
var beginswith = []
, caseSensitive = []
, caseInsensitive = []
, item
while (item = items.shift()) {
if (!item.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(item)
else if (~item.indexOf(this.query)) caseSensitive.push(item)
else caseInsensitive.push(item)
}
return beginswith.concat(caseSensitive, caseInsensitive)
}
, highlighter: function (item) {
return item.replace(new RegExp('(' + this.query + ')', 'ig'), function ($1, match) {
return '' + match + ''
})
}
, render: function (items) {
var that = this
items = $(items).map(function (i, item) {
i = $(that.options.item).attr('data-value', item)
i.find('a').html(that.highlighter(item))
return i[0]
})
items.first().addClass('active')
this.$menu.html(items)
return this
}
, next: function (event) {
var active = this.$menu.find('.active').removeClass('active')
, next = active.next()
if (!next.length) {
next = $(this.$menu.find('li')[0])
}
next.addClass('active')
}
, prev: function (event) {
var active = this.$menu.find('.active').removeClass('active')
, prev = active.prev()
if (!prev.length) {
prev = this.$menu.find('li').last()
}
prev.addClass('active')
}
, listen: function () {
this.$element
.on('blur', $.proxy(this.blur, this))
.on('keypress', $.proxy(this.keypress, this))
.on('keyup', $.proxy(this.keyup, this))
if ($.browser.webkit || $.browser.msie) {
this.$element.on('keydown', $.proxy(this.keypress, this))
}
this.$menu
.on('click', $.proxy(this.click, this))
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
}
, keyup: function (e) {
e.stopPropagation()
e.preventDefault()
switch(e.keyCode) {
case 40: // down arrow
case 38: // up arrow
break
case 9: // tab
case 13: // enter
if (!this.shown) return
this.select()
break
case 27: // escape
this.hide()
break
default:
this.lookup()
}
}
, keypress: function (e) {
e.stopPropagation()
if (!this.shown) return
switch(e.keyCode) {
case 9: // tab
case 13: // enter
case 27: // escape
e.preventDefault()
break
case 38: // up arrow
e.preventDefault()
this.prev()
break
case 40: // down arrow
e.preventDefault()
this.next()
break
}
}
, blur: function (e) {
var that = this
e.stopPropagation()
e.preventDefault()
setTimeout(function () { that.hide() }, 150)
}
, click: function (e) {
e.stopPropagation()
e.preventDefault()
this.select()
}
, mouseenter: function (e) {
this.$menu.find('.active').removeClass('active')
$(e.currentTarget).addClass('active')
}
}
/* TYPEAHEAD PLUGIN DEFINITION
* =========================== */
$.fn.typeahead = function ( option ) {
return this.each(function () {
var $this = $(this)
, data = $this.data('typeahead')
, options = typeof option == 'object' && option
if (!data) $this.data('typeahead', (data = new Typeahead(this, options)))
if (typeof option == 'string') data[option]()
})
}
$.fn.typeahead.defaults = {
source: []
, items: 8
, menu: '
'
, item: '
'
}
$.fn.typeahead.Constructor = Typeahead
/* TYPEAHEAD DATA-API
* ================== */
$(function () {
$('body').on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
var $this = $(this)
if ($this.data('typeahead')) return
e.preventDefault()
$this.typeahead($this.data())
})
})
}( window.jQuery )
================================================
FILE: docs/js/html5.js
================================================
/*
HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
*/
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x";
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d.
Downloads can be found at .
The mailing list is at .
Examples and unit tests are at .
Documentation is at .
The project page and source code are at .
Bugs, issues, feature requests: .
Basic Usage Instructions:
jqPlot requires jQuery (1.4+ required for certain features). jQuery 1.9.1 is included in
the distribution. To use jqPlot include jQuery, the jqPlot jQuery plugin, the jqPlot css file and
optionally the excanvas script to support IE version prior to IE 9 in your web page:
>
>
>
>
For usage instructions, see in usage.txt. For available options, see
in jqPlotOptions.txt.
Building from source:
If you've cloned the repository, you can build a distribution from source.
You need to have ant installed. You can simply
type "ant" from the jqplot directory to build the default "all" target.
There are 6 pertinent targets: clean, dist, min, docs, compress and all. Use:
> ant -p
to get a description of the various build targets.
Legal Notices:
Copyright (c) 2009-2013 Chris Leonello
jqPlot is currently available for use in all personal or commercial projects
under both the MIT and GPL version 2.0 licenses. This means that you can
choose the license that best suits your project and use it accordingly.
Although not required, the author would appreciate an email letting him
know of any substantial use of jqPlot. You can reach the author at:
chris at jqplot or see http://www.jqplot.com/info.php .
If you are feeling kind and generous, consider supporting the project by
making a donation at: http://www.jqplot.com/donate.php .
jqPlot includes date instance methods and printf/sprintf functions by other authors:
Date instance methods:
author Ken Snyder (ken d snyder at gmail dot com)
date 2008-09-10
version 2.0.2 (http://kendsnyder.com/sandbox/date/)
license Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
JavaScript printf/sprintf functions.
version 2007.04.27
author Ash Searle
http://hexmen.com/blog/2007/03/printf-sprintf/
http://hexmen.com/js/sprintf.js
The author (Ash Searle) has placed this code in the public domain:
"This code is unrestricted: you are free to use it however you like."
================================================
FILE: docs/js/jqplot/changes.txt
================================================
Title: Change Log
1.0.8:
* Issue #375: sortMergedLabels does not sort string labels
* Issue #279: Groups > 3 Causes Alignment Issues
* Issue #439: IE can't display a customized legend in Quirks mode
* Issue #482: "Undefined" error message when plotting a chart with no data
* Issue #116: Don't mix spaces and tabs for indentation
* Issue #564: Metergauge renderer not resizable when replotting
* Issue #409: MeterGaugeRenderer replot/redraw offsets center
* Issue #523: Adding rectangles to Canvas Overlay plugin
* Issue #756: jqplot.min files contain non-UTF-8 characters
* Issue #223: fillToZero does not color negative values when crossover point is 0
* Pull Request #23: Adding rectangles to Canvas Overlay plugin
* Pull Request #28: Cross-over points of 0 will actually change colors
* Pull Request #35: Don't highlight hidden bars or show tooltips for them
* Pull Request #41: Add dutch(nl) and svenska(sv) translations for dates
* Add tooltip support for Pie Charts
* Update to latest YUI compressor
1.0.7:
* Issue #726: Bug in sprintf %p, sometimes it outputs exponential form rather than decimal
* Issue #717: Plot's preDrawHooks not called
* Issue #707: Browser hangs with LogAxisRenderer when value is 0
* Issue #695: Horizontal Bar Chart Negative Series Colors Not Working
* Issue #670: Examples IE7, IE8 and IE9 multipleBarColors.html failure and fix
* Issue #636: X Axis Date Renderer Single Day Not plotting
* Issue #607: Integration issue
* Issue #571: Decimal numbers not properly formatted
* Issue #552: jqPlot crashes when interval too small
* Issue #536: DateAxisRenderer invalid scaling
* Issue #534: "decimalMark" in the "jqplot.sprintf.js"
* Issue #529: Scientific notation on label values ending in 0
* Issue #521: invalid JS in meterGaugeRenderer.js
* Issue #516: Including BezierCurveRenderer plugin and initializing jqplot with no options give error
* Issue #500: DateAxisRenderer has timezone related issues
* Issue #452: Including ALL jqPlot plugins causes an Error
* Issue #494: No point when use LogAxisRenderer and a point has a zero value
* Issue #430: getIsoWeek: invalid method call
* Issue #280: jqplot Options
* Issue #179: Spelling/grammar
* Pull Request #18: Implement getTop in CanvasAxisTickRenderer
* Pull Request #21: Performance issue when drawing pointlabels with zeros/null values
* Pull Request #24: Added suggested fix in comment #8 for issue #536
* Pull Request #29: Removed unbalanced addition of UTC offset
* Pull Request #33: Documentation fixes (issue #179, other changes)
* Pull Request #34: Start of updating jqPlotOptions.txt
* Pull Request #37: Example and suggested fix for issues #552 and issue #536
* Pull Request #39: Fixed trailing comma which caused issues with IE7
1.0.6:
* Add left sidebar navigation to examples
* Update examples for jquery 1.9.1 and jquery ui 1.10.0
* Add colorpicker.js to distribution
* Fix some problems with examples when viewing with local file system
* Add "minified" copyright notice for minified files, similar to jquery's notice.
* Pull Request #25: jqplot.sprintf.js is no longer the last file in the concatenated jquery.jqplot.js
* Pull Request #17: Fixed bug causing custom pointLabels passed with plot data to be ignored for horizontal bar graphs.
* Pull Request #10: Build error by invalid encoding.
* Issue #714: handle tickColor in meterGaugeRenderer
* Issue #519: jsDate Polish Localization
1.0.5:
* Updated to jQuery 1.9
1.0.0b2:
* Major improvements in memory usage:
** Merged in changes from Timo Besenruether to reuse canvas elements and improve
memory performance.
** Fixed all identifiable DOM leaks.
** Mergged in changes from cguillot for memory improvements in IE < 9.
* Added vertical and dashed vertical line support for canvas overlay.
* Fixed bug where initially hidden plots would not display.
* Fixed bug with point labels and null data points.
* Updated to jQuery 1.6.1.
* Improved pie slice margin calculation and fixed slice margin and pie positioning
with small slices.
* Improved bar renderer so bars always start at 0 if:
** The axis is a linear axis (not log/date).
** There are no other line types besides bars attached to the axis.
** The data on the axis is all >= 0.
** The user has not specified a pad, padMin or forceTickAt0 = true option.
* Modified tick prefix behavious so prefix no added to all ticks, even if format
string is specified.
* Fix to ensure original tick formats are applied when zooming and resetting
zoom.
* Updated auto tick format string so format adjusted when zooming.
* Modified auto tick computation to put less ticks on small plots and more
ticks on large plots.
* Update bubble render to support gradients in IE 9.
1.0.0b1:
* Much improved tick generation algorithm to get precise rounded
tick values (Thanks Scott Prahl!).
* Auto compute tick format string if none is provided.
* Much better "slicing" of pie charts when using "sliceMargin" option to set
a gap between the slices.
* Expanded canvasOverlay plugin to create arbitrary dashed and solid
horizontal and vertical lines on top of plot.
* Added defaultColors and defaultNegativeColors options to $.jqplot.config.
* Fixed issue #318, highlighter & bar renderer incompatability.
* Improve highlighter tooltip positioning with negative bars.
* Fixed #305, mispelling of jqlotDragStart and jqlotDragStop. MUST NOW BIND
TO jqplotDragStart and jqplotDragStop.
* Fixed #290, some variables left in global scope.
* Fixed #289, OHLC line widths hard coded at 1.5. Now set by lineWidth option.
* Fixed #296 for determining databounds on log axes.
* Updated to jQuery 1.5.1
* Fixed waterfall plot to ensure first and last bars always fill to zero.
* Added lineJoin and lineCap option to series lines.
* Bar widths now based on width of grid, not plot target for better scaling.
* Added looseZoom option to cursor so zooming can produce well rounded ticks.
* Added forceTickAt0 and forceTickAt100 options to ensure there will always
be a tick at 0 or 100 in the plot.
* Fixed bug where cursor legend didn't honor series showLabel option.
1.0.0a:
* Series can now be moved forward or backward in stack to e.g. bring a line
forward when mousing over a point.
* Can now move outside of grid area while zooming. Can have zoom
constrained to grid area or allow zooming outside.
* Fixed issue #142 with tooltip drawn on top of event canvas, hiding
mouse events.
* Fixed #147 where pie slices with 0 value not rendering properly in IE.
* Fixed #130 where stack data not sorted properly.
* Fixed bug with null values not handled properly in category axes.
* Fixed #156 where pie charts not rendering on QTWebKit.
* Now using feature detection for canvas and canvas text capability
rather than browser version.
* Added enahncedLegendRenderer plugin to allow multi row/column legends
and clickable labels to show/hide series.
* Added fillToValue option to allow filled line plot to fill to an
arbitrary value.
* Added block plot plugin.
* Added funnel type charts.
* Added meter gauge type charts.
* Added plot theming support.
* $.jqplot.config.enablePlugins now false by default.
* Implemented highlighting on bar, pie, donut, funnel, etc. charts.
* Fix to pointlabels plugin to align labels properly on multi series plots.
* Added custom error handling to display error message in plot area.
* Fixed issue where would call to draw grid border of 0 width would
result in a default border being drawn.
* Added options to place legend outside of grid and shrink grid so everything
stays within plot div.
* Fixed bug in color generator so now calls to get() continually cycle
through colors just like next().
* Added defaultAxisStart option.
* Added gradient fills to bubbles.
* Added bubble charts.
* Added showLabels option to bubble charts.
* Pass bubble radius to event callback in bubble charts.
* Fixed #207, typo in docs.
* Fixed #206 where "value" pie slice data labels were displaying wrong
value.
* Fixed #147 with 0 value slices in IE6.
* Fixed issue #241, disabled varyBarColor option in stacked charts.
* Added dataRenderer option to allow custom processors for JSON, AJAX
and anywhere else you might want to get data.
* Fixed null value handling so plot now properly skip or join over nulls.
* Fixed showTicks and showTickMarks option conflicts.
* Fixed issue #185 where pointLabels plugin incompatibility could crash
pie, donut and other plots.
* Fixed #23 and #143 to obey gridPadding option.
* Fixed #233 with highlighter tooltip separator.
* Fixed #224 where type checking failing on GWT.
* Fixed #272 with pie highlighting not working on replot.
* Memory performance improvements.
* Changes to build script so everything should build when pulled from repo.
* Fixed issue #275, IE 6/7 don't support array indexing of strings.
* Added event listener hooks for mouseUp, mouseDown, etc. to all line plots.
* Fixed bug with highlighter not working when null in data.
* Updated to jQuery 1.4.4
* Fixed bug where donut plots showed value of radians of slice instead
of actual data.
* Reverted to excanvas r3 so IE8 no longer has to emulate IE7.
* Added tooltipContentEditor option to highlighter, allowing callback
to manipulate tooltip content at run time (thanks Tim Bunce!).
* Fixed bug where axes scale not resetting.
* Fixed bug with date axes where data bounds not properly set.
* Fixed issue where tick marks disappear if grid lines turned off.
* Updated replot method to allow passing in axes options for more control.
* Added experimental support for "broken" axes.
* Fixed bug with pies where pies with 0 valued slices did not draw correctly.
* Added canvasOverlay plugin to allow drawing of arbitrary shapes on a canvas
over the plot.
* Added option to display arbitrary text/html (message, animated gif, etc.) if
plot is constructed without data. Allow a "data loading" indicator to be shown.
* Added resetAxisValues method to manually update axis ticks without
redrawing the plot.
* Fix to labels on negative bars so label postiion of 'n' will be below a negative bar,
just as it is above a positive bar (thanks guigod!).
* Added thousands separator character (') to sprintf formatting (thanks yuichi1004!).
* Re-factored date parsing/formatting to use new jsDate module which does not
extend the Date prototype.
0.9.7:
* Added Mekko chart plot type with enhanced legend and axes support.
* Implemented vertical waterfall charts. Can create waterfall plot as
option to bar chart. See examples folder of distribution.
* Enhanced plot labels for waterfall style.
* Enhanced bar plots so you can now color each bar of a series
independently with the "varyBarColor" option.
* Re-factored series drawing so that each series and series shadow drawn
on its own canvas. Allows series to be redrawn independently of each other.
* Added additional default series colors.
* Added useNegativeColors option to turn off negative color array and use
only seriesColors array to define all bar/filled line colors.
* Fix css for cursor legend.
* Modified shape renderer so rectangles can be stroked and filled.
* Re-factored date methods out of dateAxisRenderer so that date formatter
and methods can be accesses outside of dateAxisRenderer plugin.
* Fixed #132, now trigger series change event on plot target instead of drag canvas.
* Fixes issue #116 where some source files had mix of tabs and spaces
for indentation. Should have been all spaces.
* Fixed issue #126, some links broken in docs section of web site.
* Fixed issue #90, trendline plugin incompatibility with pie renderer.
* Updated samples in examples folder of distribution to include navigation
links if web server is set up to process .html files with php.
0.9.6:
* New, easier to use, replot() method for placing plots in tabs, accordions,
resizable containers or for changing plot parameters programmatically.
* Updated legend renderer for pie charts to draw swatches which will
print correctly.
* Fixed issue #118 with patch from taum so autoscale option will
honor tickInterval and numberTicks options
* Fix to plot diameter calculation for initially hidden plots.
* Added examples for making plots in jQuery UI tabs and accordions.
* Fixed issue #120 where pie chart with single slice not displaying
correctly in IE and Chrome
0.9.5.2:
* Fixed #102 where double clicking on plot that has zoom enabled, but
has not been zoomed resulted in error.
* Fixed bug where candlestick coloring options not working.
* Added option to turn individual series labels off in the legend.
0.9.5.1:
* Fixed bug where tooltip not working with OHLC and candlestick charts.
* Added additional marker styles: plus, X and dash.
0.9.5:
* Implemented "zoomProxy". zoomProxy allows zooming one plot from another
such as an overview plot.
* Zooming can now be constrained to just x or y axis.
* Enhanced cursor plugin with vertical "dataTracking" line. This is a line
at the cursor location with a readout of data points at the line location
which are displayed in the chart legend.
* Changed cursor tooltip format string. Now one format string is used for
entire tooltip.
* Added mechanisms to specify plot size when plot target is hidden or plot
height/width otherwise cannot be determined from markup.
* Added $.jqplot.config object to specify jqplot wide configuration options.
These include enablePlugins to globally set the default plugin state on/off
and defaultHeight/defaultWidth to specify default plot height/width.
* Added fillToZero option which forces filled charts to fill to zero as opposed
to axis minimum. Thus negative filled bar/line values will fill upwards to
zero axis value.
* Added option to disable stacking on individual lines.
* Changed targetId property of the plot object so it now includes a "#" before
the id string.
* Improved tick and body sizing of Open Hi Low Close and candlestick charts.
* Removed lots of web site related files from the repository. This means that,
if working from the sources, user's won't be able to build the jqplot web
site and the docs/tests that are hosted on that site. The minified and
compressed distribution packages will build fine.
* Lots of examples were added to a separate examples directory to better show
functionality of jqPlot for local testing with the distribution.
* Many various bug fixes and other minor enhancements.
0.9.4:
* Implemented axis labels. Labels can be rendered in div tags or as canvas
elements supporting rotated text.
* Improved rotated axis label positioning so labels will start or end at a
tick position.
* Fixed bug where an empty data series would hang plot rendering.
* completed issue #66 for misc. improvements to documentation.
* Fixed issue #64 where the same ID's were assigned to cursor and highlighter
elements.
* Added option to legend to encode special HTML characters.
* Fixed undesirable behavior where point labels for points off the plot
were being rendered.
* Added edgeTolerance option to point label renderer to control rendering of
labels near plot edges.
0.9.3:
* Preliminary support for axis labels. Currently rendered into DIV tags,
so no rotated label support. This feature is currently experimental.
* Fixed bug #52, needed space in tick div tag between style and class declarations
or plot failed in certain application doctypes.
* Fixed issue #54, miter style line join for chart lines causing spikes at steep
changes in slope. Changed miter style to round.
* Added examples for new autoscaling algorithm.
* Fixed bug #57, category axis labels disappear on redraw()
* Improved algorithm which controlled maximum number of labels that would display
on a category axis.
* Fixed bug #45 where null values causing errors in plotData and gridData.
* Fixed issue #60 where seriesColors option was not working.
0.9.2:
* Fixed bug #45 where a plot could crash if series had different numbers of points.
* Fixed issue #50, added option to turn off sorting of series data.
* Fixed issue #31, implemented a better axis autoscaling algorithm and added an autoscale option.
0.9.1:
* Fixed bug #40, when axis pad, padMax, padMin set to 0, graph would fail to render.
* Fixed bug #41 where pie and bar charts not rendered correctly on redraw().
* Fixed bug #11, filled stacked line plots not rendering correctly in IE.
* Fixed bug #42 where stacked charts not rendering with string date axis ticks.
* Fixed bug in redraw() method where axes ticks were not reset.
* Fixed "jqplotPreRedrawEvent" that should have been named "jqplotPostRedraw" event.
0.9.0:
* Added Open Hi Low Close charts, Candlestick charts and Hi Low Close charts.
* Added support for arbitrary labels on the data points.
* Enhanced highlighter plugin to allow custom formatting control of entire tooltip.
* Enhanced highlighter to support multiple y values in a data point.
* Fixed bug #38 where series with a single point with a negative value would fail.
* Improvements to examples to show what plugins to include.
* Expanded documentation for some of the plugins.
0.8.5:
* Added zooming ability with double click or single click options to reset zoom.
* Modified default tick spacing algorithm for date axes to give more space to ticks.
* Fixed bug #2 where tickInterval wasn't working properly.
* Added neighborThreshold option to control how close mouse must be to
point to trigger neighbor detection.
* Added double click event handler on plot.
0.8.0:
* Support for up to 9 y axes.
* Added option to control padding at max/min bounds of axes separately.
* Closed issue #21, added options to control grid line color and width.
* Closed issue #20, added options to filled line charts to stoke above
fill and customize fill color and transparency.
* Improved structure of on line documentation to make usage and options
docs default.
* Added much documentation on options and css styling.
0.7.1:
* Bug fix release
* Fixed bug #6, missing semi-colons messing up some javascript compressors.
* Fixed bug #13 where 2D ticks array of [values, labels] would fail to
renderer with DateAxisRenderer.
* Fixes bug #16 where pie renderer overwriting options for all plot types
and crashing non pie plots.
* Fixes bug #17 constrainTo dragable option mispelled as "contstrainTo".
Fixed dragable color issue when used with trend lines.
0.7.0:
* Pie chart support
* Enabled tooltipLocation option in highlighter.
* Highlighter Tooltip will account for mark size and highlight size when
positioning itself.
* Added ability to show just x, y or both axes in highlighter tooltip.
* Added customization of separator between axes values in highlighter tooltip.
* Modified how shadows are drawn for lines, bars and markers. Now drawn first,
so they are always behind the object.
* Adjustments to shadow parameters on lines to account for new shadow positioning.
* Added a ColorGenerator class to robustly return next available color
for a plot with wrap around to first color at end.
* Udates to docs about css file.
* Fixed bug with String x values in series and IE error on sorting (Category Axis).
* Added cursor changes in dragable plugin when cursor near dragable point.
0.6.6b:
* Added excanvas.js and excanvas.min.js to compressed distributions.
* Added example/test html pages I had locally into repository and to
compressed distributions.
0.6.6a:
* Removed absolute positioning from dom element and put back into css file.
* Duplicate of 0.6.6 with a suffix to unambiguously differentiate between
previously posted 0.6.6 release.
0.6.6:
* Fixed bug #5, trend line plugin failing when no trend line options specified.
* Added absolute position css spec to axis tick dom element.
* Enhancement to category axes, more intuitive handling of series with
missing data values.
0.6.5:
* Fixed bug #4, series of unequal data length not rendering correctly.
This is a bugfix release only.
0.6.4:
* Fixed bug (issue #1 in tracker) where flat line data series (all x and/or y
values are euqal) or single value data series would crash.
0.6.3:
* Support for stacked line (a.k.a. area) and stacked bar (horizontal and
vertical) charts.
* Refactored barRenderer to use default shape and shadow renderers.
* Added info (contacts & support information) page to web site.
0.6.2:
* This is a minor upgrade to docs and build only. No functionality has changed.
* Ant build script generates entire site, examples, tests and distribution.
* Improvements to documentation.
0.6.1:
* New sprintf implementation from Ash Searle that implements %g.
* Fix to sprintf e/f formats.
* Created new format specifier, %p and %P to preserve significance.
* Modified p/P format to better display larger numbers.
* Fixed and simplified significant digits calculation for sprintf.
* Added option to have cursor tooltip follow the mouse or not.
* Added options to change size of highlight.
* Updates to handle dates like '6-May-09'.
* Mods to improve look of web site.
* Updates to documentation.
* Added license and copyright statement to source files.
0.6.0:
* Added rotated text support. Uses native canvas text functionality in
browsers that support it or draws text on canvas with Hershey font
* metrics for non-supporting browsers.
* Removed lots of lint in js code.
* Moved tick css from js code into css file.
* Fix to tick positioning css. y axis ticks were positioned to wrong side of axis div.
* Re-factored axis tick renderer instantiation into the axes renderers themselves.
For changes prior to 0.6.0 release, please see change log at http://bitbucket.org/cleonello/jqplot/changesets/
================================================
FILE: docs/js/jqplot/copyright.txt
================================================
/**
* jqPlot
* Pure JavaScript plotting plugin using jQuery
*
* Version: @VERSION
*
* Copyright (c) 2009-2013 Chris Leonello
* jqPlot is currently available for use in all personal or commercial projects
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
* version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html) licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
*
* Although not required, the author would appreciate an email letting him
* know of any substantial use of jqPlot. You can reach the author at:
* chris at jqplot dot com or see http://www.jqplot.com/info.php .
*
* If you are feeling kind and generous, consider supporting the project by
* making a donation at: http://www.jqplot.com/donate.php .
*
* sprintf functions contained in jqplot.sprintf.js by Ash Searle:
*
* version 2007.04.27
* author Ash Searle
* http://hexmen.com/blog/2007/03/printf-sprintf/
* http://hexmen.com/js/sprintf.js
* The author (Ash Searle) has placed this code in the public domain:
* "This code is unrestricted: you are free to use it however you like."
*
* included jsDate library by Chris Leonello:
*
* Copyright (c) 2010-2013 Chris Leonello
*
* jsDate is currently available for use in all personal or commercial projects
* under both the MIT and GPL version 2.0 licenses. This means that you can
* choose the license that best suits your project and use it accordingly.
*
* jsDate borrows many concepts and ideas from the Date Instance
* Methods by Ken Snyder along with some parts of Ken's actual code.
*
* Ken's origianl Date Instance Methods and copyright notice:
*
* Ken Snyder (ken d snyder at gmail dot com)
* 2008-09-10
* version 2.0.2 (http://kendsnyder.com/sandbox/date/)
* Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
*
* jqplotToImage function based on Larry Siden's export-jqplot-to-png.js.
* Larry has generously given permission to adapt his code for inclusion
* into jqPlot.
*
* Larry's original code can be found here:
*
* https://github.com/lsiden/export-jqplot-to-png
*
*
*/
================================================
FILE: docs/js/jqplot/gpl-2.0.txt
================================================
Title: GPL Version 2
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
================================================
FILE: docs/js/jquery.cookie.js
================================================
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @example $.cookie('the_cookie', 'the_value');
* @desc Set the value of a cookie.
* @example $.cookie('the_cookie', 'the_value', {expires: 7, path: '/', domain: 'jquery.com', secure: true});
* @desc Create a cookie with all available options.
* @example $.cookie('the_cookie', 'the_value');
* @desc Create a session cookie.
* @example $.cookie('the_cookie', null);
* @desc Delete a cookie by passing null as value.
*
* @param String name The name of the cookie.
* @param String value The value of the cookie.
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
* If set to null or omitted, the cookie will be a session cookie and will not be retained
* when the the browser exits.
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
* require a secure protocol (like HTTPS).
* @type undefined
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
/**
* Get the value of a cookie with the given name.
*
* @example $.cookie('the_cookie');
* @desc Get the value of a cookie.
*
* @param String name The name of the cookie.
* @return The value of the cookie.
* @type String
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
jQuery.cookie = function(name, value, options)
{
if (typeof value != 'undefined')
{ // name and value given, set cookie
options = options || {};
if (value === null)
{
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString))
{
var date;
if (typeof options.expires == 'number')
{
date = new Date();
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
}
else
{
date = options.expires;
}
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
}
var path = options.path ? '; path=' + options.path : '';
var domain = options.domain ? '; domain=' + options.domain : '';
var secure = options.secure ? '; secure' : '';
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
}
else
{ // only name given, get cookie
var cookieValue = null;
if (document.cookie && document.cookie != '')
{
var cookies = document.cookie.split(';');
for (var i = 0; i < cookies.length; i++)
{
var cookie = jQuery.trim(cookies[i]);
// Does this cookie string begin with the name we want?
if (cookie.substring(0, name.length + 1) == (name + '='))
{
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
break;
}
}
}
return cookieValue;
}
};
================================================
FILE: docs/js/jquery.dotdotdot-1.5.9.js
================================================
/*
* jQuery dotdotdot 1.5.9
*
* Copyright (c) 2013 Fred Heusschen
* www.frebsite.nl
*
* Plugin website:
* dotdotdot.frebsite.nl
*
* Dual licensed under the MIT and GPL licenses.
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*/
(function( $ )
{
if ( $.fn.dotdotdot )
{
return;
}
$.fn.dotdotdot = function( o )
{
if ( this.length == 0 )
{
if ( !o || o.debug !== false )
{
debug( true, 'No element found for "' + this.selector + '".' );
}
return this;
}
if ( this.length > 1 )
{
return this.each(
function()
{
$(this).dotdotdot( o );
}
);
}
var $dot = this;
if ( $dot.data( 'dotdotdot' ) )
{
$dot.trigger( 'destroy.dot' );
}
$dot.data( 'dotdotdot-style', $dot.attr( 'style' ) );
$dot.css( 'word-wrap', 'break-word' );
$dot.bind_events = function()
{
$dot.bind(
'update.dot',
function( e, c )
{
e.preventDefault();
e.stopPropagation();
opts.maxHeight = ( typeof opts.height == 'number' )
? opts.height
: getTrueInnerHeight( $dot );
opts.maxHeight += opts.tolerance;
if ( typeof c != 'undefined' )
{
if ( typeof c == 'string' || c instanceof HTMLElement )
{
c = $('').append( c ).contents();
}
if ( c instanceof $ )
{
orgContent = c;
}
}
$inr = $dot.wrapInner( '' ).children();
$inr.empty()
.append( orgContent.clone( true ) )
.css({
'height' : 'auto',
'width' : 'auto',
'border' : 'none',
'padding' : 0,
'margin' : 0
});
var after = false,
trunc = false;
if ( conf.afterElement )
{
after = conf.afterElement.clone( true );
conf.afterElement.remove();
}
if ( test( $inr, opts ) )
{
if ( opts.wrap == 'children' )
{
trunc = children( $inr, opts, after );
}
else
{
trunc = ellipsis( $inr, $dot, $inr, opts, after );
}
}
$inr.replaceWith( $inr.contents() );
$inr = null;
if ( $.isFunction( opts.callback ) )
{
opts.callback.call( $dot[ 0 ], trunc, orgContent );
}
conf.isTruncated = trunc;
return trunc;
}
).bind(
'isTruncated.dot',
function( e, fn )
{
e.preventDefault();
e.stopPropagation();
if ( typeof fn == 'function' )
{
fn.call( $dot[ 0 ], conf.isTruncated );
}
return conf.isTruncated;
}
).bind(
'originalContent.dot',
function( e, fn )
{
e.preventDefault();
e.stopPropagation();
if ( typeof fn == 'function' )
{
fn.call( $dot[ 0 ], orgContent );
}
return orgContent;
}
).bind(
'destroy.dot',
function( e )
{
e.preventDefault();
e.stopPropagation();
$dot.unwatch()
.unbind_events()
.empty()
.append( orgContent )
.attr( 'style', $dot.data( 'dotdotdot-style' ) )
.data( 'dotdotdot', false );
}
);
return $dot;
}; // /bind_events
$dot.unbind_events = function()
{
$dot.unbind('.dot');
return $dot;
}; // /unbind_events
$dot.watch = function()
{
$dot.unwatch();
if ( opts.watch == 'window' )
{
var $window = $(window),
_wWidth = $window.width(),
_wHeight = $window.height();
$window.bind(
'resize.dot' + conf.dotId,
function()
{
if ( _wWidth != $window.width() || _wHeight != $window.height() || !opts.windowResizeFix )
{
_wWidth = $window.width();
_wHeight = $window.height();
if ( watchInt )
{
clearInterval( watchInt );
}
watchInt = setTimeout(
function()
{
$dot.trigger( 'update.dot' );
}, 10
);
}
}
);
}
else
{
watchOrg = getSizes( $dot );
watchInt = setInterval(
function()
{
var watchNew = getSizes( $dot );
if ( watchOrg.width != watchNew.width ||
watchOrg.height != watchNew.height )
{
$dot.trigger( 'update.dot' );
watchOrg = getSizes( $dot );
}
}, 100
);
}
return $dot;
};
$dot.unwatch = function()
{
$(window).unbind( 'resize.dot' + conf.dotId );
if ( watchInt )
{
clearInterval( watchInt );
}
return $dot;
};
var orgContent = $dot.contents(),
opts = $.extend( true, {}, $.fn.dotdotdot.defaults, o ),
conf = {},
watchOrg = {},
watchInt = null,
$inr = null;
conf.afterElement = getElement( opts.after, $dot );
conf.isTruncated = false;
conf.dotId = dotId++;
$dot.data( 'dotdotdot', true )
.bind_events()
.trigger( 'update.dot' );
if ( opts.watch )
{
$dot.watch();
}
return $dot;
};
// public
$.fn.dotdotdot.defaults = {
'ellipsis' : '... ',
'wrap' : 'word',
'lastCharacter': {
'remove' : [ ' ', ',', ';', '.', '!', '?' ],
'noEllipsis' : []
},
'tolerance' : 0,
'callback' : null,
'after' : null,
'height' : null,
'watch' : false,
'windowResizeFix': true,
'debug' : false
};
// private
var dotId = 1;
function children( $elem, o, after )
{
var $elements = $elem.children(),
isTruncated = false;
$elem.empty();
for ( var a = 0, l = $elements.length; a < l; a++ )
{
var $e = $elements.eq( a );
$elem.append( $e );
if ( after )
{
$elem.append( after );
}
if ( test( $elem, o ) )
{
$e.remove();
isTruncated = true;
break;
}
else
{
if ( after )
{
after.remove();
}
}
}
return isTruncated;
}
function ellipsis( $elem, $d, $i, o, after )
{
var $elements = $elem.contents(),
isTruncated = false;
$elem.empty();
var notx = 'table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, select, optgroup, option, textarea, script, style';
for ( var a = 0, l = $elements.length; a < l; a++ )
{
if ( isTruncated )
{
break;
}
var e = $elements[ a ],
$e = $(e);
if ( typeof e == 'undefined' )
{
continue;
}
$elem.append( $e );
if ( after )
{
$elem[ ( $elem.is( notx ) ) ? 'after' : 'append' ]( after );
}
if ( e.nodeType == 3 )
{
if ( test( $i, o ) )
{
isTruncated = ellipsisElement( $e, $d, $i, o, after );
}
}
else
{
isTruncated = ellipsis( $e, $d, $i, o, after );
}
if ( !isTruncated )
{
if ( after )
{
after.remove();
}
}
}
return isTruncated;
}
function ellipsisElement( $e, $d, $i, o, after )
{
var isTruncated = false,
e = $e[ 0 ];
if ( typeof e == 'undefined' )
{
return false;
}
var seporator = ( o.wrap == 'letter' ) ? '' : ' ',
textArr = getTextContent( e ).split( seporator ),
position = -1,
midPos = -1,
startPos = 0,
endPos = textArr.length - 1;
while ( startPos <= endPos )
{
var m = Math.floor( ( startPos + endPos ) / 2 );
if ( m == midPos )
{
break;
}
midPos = m;
setTextContent( e, textArr.slice( 0, midPos + 1 ).join( seporator ) + o.ellipsis );
if ( !test( $i, o ) )
{
position = midPos;
startPos = midPos;
}
else
{
endPos = midPos;
}
}
if ( position != -1 && !( textArr.length == 1 && textArr[ 0 ].length == 0 ) )
{
var txt = addEllipsis( textArr.slice( 0, position + 1 ).join( seporator ), o );
isTruncated = true;
setTextContent( e, txt );
}
else
{
var $w = $e.parent();
$e.remove();
var afterLength = ( after ) ? after.length : 0 ;
if ( $w.contents().size() > afterLength )
{
var $n = $w.contents().eq( -1 - afterLength );
isTruncated = ellipsisElement( $n, $d, $i, o, after );
}
else
{
var $p = $w.prev()
var e = $p.contents().eq( -1 )[ 0 ];
if ( typeof e != 'undefined' )
{
var txt = addEllipsis( getTextContent( e ), o );
setTextContent( e, txt );
if ( after )
{
$p.append( after );
}
$w.remove();
isTruncated = true;
}
}
}
return isTruncated;
}
function test( $i, o )
{
return $i.innerHeight() > o.maxHeight;
}
function addEllipsis( txt, o )
{
while( $.inArray( txt.slice( -1 ), o.lastCharacter.remove ) > -1 )
{
txt = txt.slice( 0, -1 );
}
if ( $.inArray( txt.slice( -1 ), o.lastCharacter.noEllipsis ) < 0 )
{
txt += o.ellipsis;
}
return txt;
}
function getSizes( $d )
{
return {
'width' : $d.innerWidth(),
'height': $d.innerHeight()
};
}
function setTextContent( e, content )
{
if ( e.innerText )
{
e.innerText = content;
}
else if ( e.nodeValue )
{
e.nodeValue = content;
}
else if (e.textContent)
{
e.textContent = content;
}
}
function getTextContent( e )
{
if ( e.innerText )
{
return e.innerText;
}
else if ( e.nodeValue )
{
return e.nodeValue;
}
else if ( e.textContent )
{
return e.textContent;
}
else
{
return "";
}
}
function getElement( e, $i )
{
if ( typeof e == 'undefined' )
{
return false;
}
if ( !e )
{
return false;
}
if ( typeof e == 'string' )
{
e = $(e, $i);
return ( e.length )
? e
: false;
}
if ( typeof e == 'object' )
{
return ( typeof e.jquery == 'undefined' )
? false
: e;
}
return false;
}
function getTrueInnerHeight( $el )
{
var h = $el.innerHeight(),
a = [ 'paddingTop', 'paddingBottom' ];
for ( var z = 0, l = a.length; z < l; z++ ) {
var m = parseInt( $el.css( a[ z ] ), 10 );
if ( isNaN( m ) )
{
m = 0;
}
h -= m;
}
return h;
}
function debug( d, m )
{
if ( !d )
{
return false;
}
if ( typeof m == 'string' )
{
m = 'dotdotdot: ' + m;
}
else
{
m = [ 'dotdotdot:', m ];
}
if ( typeof window.console != 'undefined' )
{
if ( typeof window.console.log != 'undefined' )
{
window.console.log( m );
}
}
return false;
}
// override jQuery.html
var _orgHtml = $.fn.html;
$.fn.html = function( str ) {
if ( typeof str != 'undefined' )
{
if ( this.data( 'dotdotdot' ) )
{
if ( typeof str != 'function' )
{
return this.trigger( 'update', [ str ] );
}
}
return _orgHtml.call( this, str );
}
return _orgHtml.call( this );
};
// override jQuery.text
var _orgText = $.fn.text;
$.fn.text = function( str ) {
if ( typeof str != 'undefined' )
{
if ( this.data( 'dotdotdot' ) )
{
var temp = $( '' );
temp.text( str );
str = temp.html();
temp.remove();
return this.trigger( 'update', [ str ] );
}
return _orgText.call( this, str );
}
return _orgText.call( this );
};
})( jQuery );
================================================
FILE: docs/js/jquery.iviewer.js
================================================
/*
* iviewer Widget for jQuery UI
* https://github.com/can3p/iviewer
*
* Copyright (c) 2009 - 2012 Dmitry Petrov
* Dual licensed under the MIT and GPL licenses.
* - http://www.opensource.org/licenses/mit-license.php
* - http://www.gnu.org/copyleft/gpl.html
*
* Author: Dmitry Petrov
* Version: 0.7.7
*/
( function( $, undefined ) {
//this code was taken from the https://github.com/furf/jquery-ui-touch-punch
var mouseEvents = {
touchstart: 'mousedown',
touchmove: 'mousemove',
touchend: 'mouseup'
},
gesturesSupport = 'ongesturestart' in document.createElement('div');
/**
* Convert a touch event to a mouse-like
*/
function makeMouseEvent (event) {
var touch = event.originalEvent.changedTouches[0];
return $.extend(event, {
type: mouseEvents[event.type],
which: 1,
pageX: touch.pageX,
pageY: touch.pageY,
screenX: touch.screenX,
screenY: touch.screenY,
clientX: touch.clientX,
clientY: touch.clientY,
isTouchEvent: true
});
}
var mouseProto = $.ui.mouse.prototype,
_mouseInit = $.ui.mouse.prototype._mouseInit;
mouseProto._mouseInit = function() {
var self = this;
self._touchActive = false;
this.element.bind( 'touchstart.' + this.widgetName, function(event) {
if (gesturesSupport && event.originalEvent.touches.length > 1) { return; }
self._touchActive = true;
return self._mouseDown(makeMouseEvent(event));
})
var self = this;
// these delegates are required to keep context
this._mouseMoveDelegate = function(event) {
if (gesturesSupport && event.originalEvent.touches && event.originalEvent.touches.length > 1) { return; }
if (self._touchActive) {
return self._mouseMove(makeMouseEvent(event));
}
};
this._mouseUpDelegate = function(event) {
if (self._touchActive) {
self._touchActive = false;
return self._mouseUp(makeMouseEvent(event));
}
};
$(document)
.bind('touchmove.'+ this.widgetName, this._mouseMoveDelegate)
.bind('touchend.' + this.widgetName, this._mouseUpDelegate);
_mouseInit.apply(this);
}
/**
* Simple implementation of jQuery like getters/setters
* var val = something();
* something(val);
*/
var setter = function(setter, getter) {
return function(val) {
if (arguments.length === 0) {
return getter.apply(this);
} else {
setter.apply(this, arguments);
}
}
};
/**
* Internet explorer rotates image relative left top corner, so we should
* shift image when it's rotated.
*/
var ieTransforms = {
'0': {
marginLeft: 0,
marginTop: 0,
filter: 'progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, SizingMethod="auto expand")'
},
'90': {
marginLeft: -1,
marginTop: 1,
filter: 'progid:DXImageTransform.Microsoft.Matrix(M11=0, M12=-1, M21=1, M22=0, SizingMethod="auto expand")'
},
'180': {
marginLeft: 0,
marginTop: 0,
filter: 'progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=0, M21=0, M22=-1, SizingMethod="auto expand")'
},
'270': {
marginLeft: -1,
marginTop: 1,
filter: 'progid:DXImageTransform.Microsoft.Matrix(M11=0, M12=1, M21=-1, M22=0, SizingMethod="auto expand")'
}
},
// this test is the inversion of the css filters test from the modernizr project
useIeTransforms = function() {
var modElem = document.createElement('modernizr'),
mStyle = modElem.style,
omPrefixes = 'Webkit Moz O ms',
domPrefixes = omPrefixes.toLowerCase().split(' '),
props = ("transform" + ' ' + domPrefixes.join("Transform ") + "Transform").split(' ');
for ( var i in props ) {
var prop = props[i];
if ( !$.contains(prop, "-") && mStyle[prop] !== undefined ) {
return false;
}
}
return true;
}();
$.widget( "ui.iviewer", $.ui.mouse, {
widgetEventPrefix: "iviewer",
options : {
/**
* start zoom value for image, not used now
* may be equal to "fit" to fit image into container or scale in %
**/
zoom: "fit",
/**
* base value to scale image
**/
zoom_base: 100,
/**
* maximum zoom
**/
zoom_max: 800,
/**
* minimum zoom
**/
zoom_min: 25,
/**
* base of rate multiplier.
* zoom is calculated by formula: zoom_base * zoom_delta^rate
**/
zoom_delta: 1.4,
/**
* whether the zoom should be animated.
*/
zoom_animation: true,
/**
* if true plugin doesn't add its own controls
**/
ui_disabled: false,
/**
* If false mousewheel will be disabled
*/
mousewheel: true,
/**
* if false, plugin doesn't bind resize event on window and this must
* be handled manually
**/
update_on_resize: true,
/**
* event is triggered when zoom value is changed
* @param int new zoom value
* @return boolean if false zoom action is aborted
**/
onZoom: jQuery.noop,
/**
* event is triggered when zoom value is changed after image is set to the new dimensions
* @param int new zoom value
* @return boolean if false zoom action is aborted
**/
onAfterZoom: jQuery.noop,
/**
* event is fired on drag begin
* @param object coords mouse coordinates on the image
* @return boolean if false is returned, drag action is aborted
**/
onStartDrag: jQuery.noop,
/**
* event is fired on drag action
* @param object coords mouse coordinates on the image
**/
onDrag: jQuery.noop,
/**
* event is fired on drag stop
* @param object coords mouse coordinates on the image
**/
onStopDrag: jQuery.noop,
/**
* event is fired when mouse moves over image
* @param object coords mouse coordinates on the image
**/
onMouseMove: jQuery.noop,
/**
* mouse click event
* @param object coords mouse coordinates on the image
**/
onClick: jQuery.noop,
/**
* event is fired when image starts to load
*/
onStartLoad: null,
/**
* event is fired, when image is loaded and initially positioned
*/
onFinishLoad: null,
/**
* event is fired when image load error occurs
*/
onErrorLoad: null
},
_create: function() {
var me = this;
//drag variables
this.dx = 0;
this.dy = 0;
/* object containing actual information about image
* @img_object.object - jquery img object
* @img_object.orig_{width|height} - original dimensions
* @img_object.display_{width|height} - actual dimensions
*/
this.img_object = {};
this.zoom_object = {}; //object to show zoom status
this._angle = 0;
this.current_zoom = this.options.zoom;
if(this.options.src === null){
return;
}
this.container = this.element;
this._updateContainerInfo();
//init container
this.container.css("overflow","hidden");
if (this.options.update_on_resize == true) {
$(window).resize(function() {
me.update();
});
}
this.img_object = new $.ui.iviewer.ImageObject(this.options.zoom_animation);
if (this.options.mousewheel) {
this.container.bind('mousewheel.iviewer', function(ev, delta)
{
//this event is there instead of containing div, because
//at opera it triggers many times on div
var zoom = (delta > 0)?1:-1,
container_offset = me.container.offset(),
mouse_pos = {
//jquery.mousewheel 3.1.0 uses strange MozMousePixelScroll event
//which is not being fixed by jQuery.Event
x: (ev.pageX || ev.originalEvent.pageX) - container_offset.left,
y: (ev.pageY || ev.originalEvent.pageX) - container_offset.top
};
me.zoom_by(zoom, mouse_pos);
return false;
});
if (gesturesSupport) {
var gestureThrottle = +new Date();
var originalScale, originalCenter;
this.img_object.object()
// .bind('gesturestart', function(ev) {
.bind('touchstart', function(ev) {
originalScale = me.current_zoom;
var touches = ev.originalEvent.touches,
container_offset;
if (touches.length == 2) {
container_offset = me.container.offset();
originalCenter = {
x: (touches[0].pageX + touches[1].pageX) / 2 - container_offset.left,
y: (touches[0].pageY + touches[1].pageY) / 2 - container_offset.top
};
} else {
originalCenter = null;
}
}).bind('gesturechange', function(ev) {
//do not want to import throttle function from underscore
var d = +new Date();
if ((d - gestureThrottle) < 50) { return; }
gestureThrottle = d;
var zoom = originalScale * ev.originalEvent.scale;
me.set_zoom(zoom, originalCenter);
ev.preventDefault();
}).bind('gestureend', function(ev) {
originalCenter = null;
});
}
}
//init object
this.img_object.object()
//bind mouse events
.click(function(e){return me._click(e)})
.prependTo(this.container);
this.container.bind('mousemove', function(ev) { me._handleMouseMove(ev); });
this.loadImage(this.options.src);
if(!this.options.ui_disabled)
{
this.createui();
}
this._mouseInit();
},
destroy: function() {
$.Widget.prototype.destroy.call( this );
this._mouseDestroy();
this.img_object.object().remove();
this.container.off('.iviewer');
this.container.css('overflow', ''); //cleanup styles on destroy
},
_updateContainerInfo: function()
{
this.options.height = this.container.height();
this.options.width = this.container.width();
},
update: function()
{
this._updateContainerInfo()
this.setCoords(this.img_object.x(), this.img_object.y());
},
loadImage: function( src )
{
this.current_zoom = this.options.zoom;
var me = this;
this._trigger('onStartLoad', 0, src);
this.container.addClass("iviewer_loading");
this.img_object.load(src, function() {
me._imageLoaded(src);
}, function() {
me._trigger("onErrorLoad", 0, src);
});
},
_imageLoaded: function(src) {
this.container.removeClass("iviewer_loading");
this.container.addClass("iviewer_cursor");
if(this.options.zoom == "fit"){
this.fit(true);
}
else {
this.set_zoom(this.options.zoom, true);
}
this._trigger('onFinishLoad', 0, src);
},
/**
* fits image in the container
*
* @param {boolean} skip_animation
**/
fit: function(skip_animation)
{
var aspect_ratio = this.img_object.orig_width() / this.img_object.orig_height();
var window_ratio = this.options.width / this.options.height;
var choose_left = (aspect_ratio > window_ratio);
var new_zoom = 0;
if(choose_left){
new_zoom = this.options.width / this.img_object.orig_width() * 100;
}
else {
new_zoom = this.options.height / this.img_object.orig_height() * 100;
}
this.set_zoom(new_zoom, skip_animation);
},
/**
* center image in container
**/
center: function()
{
this.setCoords(-Math.round((this.img_object.display_width() - this.options.width)/2),
-Math.round((this.img_object.display_height() - this.options.height)/2));
},
/**
* move a point in container to the center of display area
* @param x a point in container
* @param y a point in container
**/
moveTo: function(x, y)
{
var dx = x-Math.round(this.options.width/2);
var dy = y-Math.round(this.options.height/2);
var new_x = this.img_object.x() - dx;
var new_y = this.img_object.y() - dy;
this.setCoords(new_x, new_y);
},
/**
* Get container offset object.
*/
getContainerOffset: function() {
return jQuery.extend({}, this.container.offset());
},
/**
* set coordinates of upper left corner of image object
**/
setCoords: function(x,y)
{
//do nothing while image is being loaded
if(!this.img_object.loaded()) { return; }
var coords = this._correctCoords(x,y);
this.img_object.x(coords.x);
this.img_object.y(coords.y);
},
_correctCoords: function( x, y )
{
x = parseInt(x, 10);
y = parseInt(y, 10);
//check new coordinates to be correct (to be in rect)
if(y > 0){
y = 0;
}
if(x > 0){
x = 0;
}
if(y + this.img_object.display_height() < this.options.height){
y = this.options.height - this.img_object.display_height();
}
if(x + this.img_object.display_width() < this.options.width){
x = this.options.width - this.img_object.display_width();
}
if(this.img_object.display_width() <= this.options.width){
x = -(this.img_object.display_width() - this.options.width)/2;
}
if(this.img_object.display_height() <= this.options.height){
y = -(this.img_object.display_height() - this.options.height)/2;
}
return { x: x, y:y };
},
/**
* convert coordinates on the container to the coordinates on the image (in original size)
*
* @return object with fields x,y according to coordinates or false
* if initial coords are not inside image
**/
containerToImage : function (x,y)
{
var coords = { x : x - this.img_object.x(),
y : y - this.img_object.y()
};
coords = this.img_object.toOriginalCoords(coords);
return { x : util.descaleValue(coords.x, this.current_zoom),
y : util.descaleValue(coords.y, this.current_zoom)
};
},
/**
* convert coordinates on the image (in original size, and zero angle) to the coordinates on the container
*
* @return object with fields x,y according to coordinates
**/
imageToContainer : function (x,y)
{
var coords = {
x : util.scaleValue(x, this.current_zoom),
y : util.scaleValue(y, this.current_zoom)
};
return this.img_object.toRealCoords(coords);
},
/**
* get mouse coordinates on the image
* @param e - object containing pageX and pageY fields, e.g. mouse event object
*
* @return object with fields x,y according to coordinates or false
* if initial coords are not inside image
**/
_getMouseCoords : function(e)
{
var containerOffset = this.container.offset();
coords = this.containerToImage(e.pageX - containerOffset.left, e.pageY - containerOffset.top);
return coords;
},
/**
* set image scale to the new_zoom
*
* @param {number} new_zoom image scale in %
* @param {boolean} skip_animation
* @param {x: number, y: number} Coordinates of point the should not be moved on zoom. The default is the center of image.
**/
set_zoom: function(new_zoom, skip_animation, zoom_center)
{
if (this._trigger('onZoom', 0, new_zoom) == false) {
return;
}
//do nothing while image is being loaded
if(!this.img_object.loaded()) { return; }
zoom_center = zoom_center || {
x: Math.round(this.options.width/2),
y: Math.round(this.options.height/2)
}
if(new_zoom < this.options.zoom_min)
{
new_zoom = this.options.zoom_min;
}
else if(new_zoom > this.options.zoom_max)
{
new_zoom = this.options.zoom_max;
}
/* we fake these values to make fit zoom properly work */
if(this.current_zoom == "fit")
{
var old_x = zoom_center.x + Math.round(this.img_object.orig_width()/2);
var old_y = zoom_center.y + Math.round(this.img_object.orig_height()/2);
this.current_zoom = 100;
}
else {
var old_x = -this.img_object.x() + zoom_center.x;
var old_y = -this.img_object.y() + zoom_center.y
}
var new_width = util.scaleValue(this.img_object.orig_width(), new_zoom);
var new_height = util.scaleValue(this.img_object.orig_height(), new_zoom);
var new_x = util.scaleValue( util.descaleValue(old_x, this.current_zoom), new_zoom);
var new_y = util.scaleValue( util.descaleValue(old_y, this.current_zoom), new_zoom);
new_x = zoom_center.x - new_x;
new_y = zoom_center.y - new_y;
new_width = Math.floor(new_width);
new_height = Math.floor(new_height);
new_x = Math.floor(new_x);
new_y = Math.floor(new_y);
this.img_object.display_width(new_width);
this.img_object.display_height(new_height);
var coords = this._correctCoords( new_x, new_y ),
self = this;
this.img_object.setImageProps(new_width, new_height, coords.x, coords.y,
skip_animation, function() {
self._trigger('onAfterZoom', 0, new_zoom );
});
this.current_zoom = new_zoom;
this.update_status();
},
/**
* changes zoom scale by delta
* zoom is calculated by formula: zoom_base * zoom_delta^rate
* @param Integer delta number to add to the current multiplier rate number
* @param {x: number, y: number=} Coordinates of point the should not be moved on zoom.
**/
zoom_by: function(delta, zoom_center)
{
var closest_rate = this.find_closest_zoom_rate(this.current_zoom);
var next_rate = closest_rate + delta;
var next_zoom = this.options.zoom_base * Math.pow(this.options.zoom_delta, next_rate)
if(delta > 0 && next_zoom < this.current_zoom)
{
next_zoom *= this.options.zoom_delta;
}
if(delta < 0 && next_zoom > this.current_zoom)
{
next_zoom /= this.options.zoom_delta;
}
this.set_zoom(next_zoom, undefined, zoom_center);
},
/**
* Rotate image
* @param {num} deg Degrees amount to rotate. Positive values rotate image clockwise.
* Currently 0, 90, 180, 270 and -90, -180, -270 values are supported
*
* @param {boolean} abs If the flag is true if, the deg parameter will be considered as
* a absolute value and relative otherwise.
* @return {num|null} Method will return current image angle if called without any arguments.
**/
angle: function(deg, abs) {
if (arguments.length === 0) { return this.img_object.angle(); }
if (deg < -270 || deg > 270 || deg % 90 !== 0) { return; }
if (!abs) { deg += this.img_object.angle(); }
if (deg < 0) { deg += 360; }
if (deg >= 360) { deg -= 360; }
if (deg === this.img_object.angle()) { return; }
this.img_object.angle(deg);
//the rotate behavior is different in all editors. For now we just center the
//image. However, it will be better to try to keep the position.
this.center();
this._trigger('angle', 0, { angle: this.img_object.angle() });
},
/**
* finds closest multiplier rate for value
* basing on zoom_base and zoom_delta values from settings
* @param Number value zoom value to examine
**/
find_closest_zoom_rate: function(value)
{
if(value == this.options.zoom_base)
{
return 0;
}
function div(val1,val2) { return val1 / val2 };
function mul(val1,val2) { return val1 * val2 };
var func = (value > this.options.zoom_base)?mul:div;
var sgn = (value > this.options.zoom_base)?1:-1;
var mltplr = this.options.zoom_delta;
var rate = 1;
while(Math.abs(func(this.options.zoom_base, Math.pow(mltplr,rate)) - value) >
Math.abs(func(this.options.zoom_base, Math.pow(mltplr,rate+1)) - value))
{
rate++;
}
return sgn * rate;
},
/* update scale info in the container */
update_status: function()
{
if(!this.options.ui_disabled)
{
var percent = Math.round(100*this.img_object.display_height()/this.img_object.orig_height());
if(percent)
{
this.zoom_object.html(percent + "%");
}
}
},
/**
* Get some information about the image.
* Currently orig_(width|height), display_(width|height), angle, zoom and src params are supported.
*
* @param {string} parameter to check
* @param {boolean} withoutRotation if param is orig_width or orig_height and this flag is set to true,
* method will return original image width without considering rotation.
*
*/
info: function(param, withoutRotation) {
if (!param) { return; }
switch (param) {
case 'orig_width':
case 'orig_height':
if (withoutRotation) {
return (this.img_object.angle() % 180 === 0 ? this.img_object[param]() :
param === 'orig_width' ? this.img_object.orig_height() :
this.img_object.orig_width());
} else {
return this.img_object[param]();
}
case 'display_width':
case 'display_height':
case 'angle':
return this.img_object[param]();
case 'zoom':
return this.current_zoom;
case 'src':
return this.img_object.object().attr('src');
case 'coords':
return {
x: this.img_object.x(),
y: this.img_object.y()
};
}
},
/**
* callback for handling mousdown event to start dragging image
**/
_mouseStart: function( e )
{
$.ui.mouse.prototype._mouseStart.call(this, e);
if (this._trigger('onStartDrag', 0, this._getMouseCoords(e)) === false) {
return false;
}
/* start drag event*/
this.container.addClass("iviewer_drag_cursor");
//#10: fix movement quirks for ipad
this._dragInitialized = !(e.originalEvent.changedTouches && e.originalEvent.changedTouches.length==1);
this.dx = e.pageX - this.img_object.x();
this.dy = e.pageY - this.img_object.y();
return true;
},
_mouseCapture: function( e ) {
return true;
},
/**
* Handle mouse move if needed. User can avoid using this callback, because
* he can get the same information through public methods.
* @param {jQuery.Event} e
*/
_handleMouseMove: function(e) {
this._trigger('onMouseMove', e, this._getMouseCoords(e));
},
/**
* callback for handling mousemove event to drag image
**/
_mouseDrag: function(e)
{
$.ui.mouse.prototype._mouseDrag.call(this, e);
//#10: imitate mouseStart, because we can get here without it on iPad for some reason
if (!this._dragInitialized) {
this.dx = e.pageX - this.img_object.x();
this.dy = e.pageY - this.img_object.y();
this._dragInitialized = true;
}
var ltop = e.pageY - this.dy;
var lleft = e.pageX - this.dx;
this.setCoords(lleft, ltop);
this._trigger('onDrag', e, this._getMouseCoords(e));
return false;
},
/**
* callback for handling stop drag
**/
_mouseStop: function(e)
{
$.ui.mouse.prototype._mouseStop.call(this, e);
this.container.removeClass("iviewer_drag_cursor");
this._trigger('onStopDrag', 0, this._getMouseCoords(e));
},
_click: function(e)
{
this._trigger('onClick', 0, this._getMouseCoords(e));
},
/**
* create zoom buttons info box
**/
createui: function()
{
var me=this;
$("
", { 'class': "iviewer_rotate_right iviewer_common iviewer_button" })
.bind('mousedown touchstart',function(){me.angle(90); return false;})
.appendTo(this.container);
this.update_status(); //initial status update
}
} );
/**
* @class $.ui.iviewer.ImageObject Class represents image and provides public api without
* extending image prototype.
* @constructor
* @param {boolean} do_anim Do we want to animate image on dimension changes?
*/
$.ui.iviewer.ImageObject = function(do_anim) {
this._img = $("")
//this is needed, because chromium sets them auto otherwise
.css({ position: "absolute", top :"0px", left: "0px"});
this._loaded = false;
this._swapDimensions = false;
this._do_anim = do_anim || false;
this.x(0, true);
this.y(0, true);
this.angle(0);
};
/** @lends $.ui.iviewer.ImageObject.prototype */
(function() {
/**
* Restore initial object state.
*
* @param {number} w Image width.
* @param {number} h Image height.
*/
this._reset = function(w, h) {
this._angle = 0;
this._swapDimensions = false;
this.x(0);
this.y(0);
this.orig_width(w);
this.orig_height(h);
this.display_width(w);
this.display_height(h);
};
/**
* Check if image is loaded.
*
* @return {boolean}
*/
this.loaded = function() { return this._loaded; };
/**
* Load image.
*
* @param {string} src Image url.
* @param {Function=} loaded Function will be called on image load.
*/
this.load = function(src, loaded, error) {
var self = this;
loaded = loaded || jQuery.noop;
this._loaded = false;
//If we assign new image url to the this._img IE9 fires onload event and image width and
//height are set to zero. So, we create another image object and load image through it.
var img = new Image();
img.onload = function() {
self._loaded = true;
self._reset(this.width, this.height);
self._img
.removeAttr("width")
.removeAttr("height")
.removeAttr("style")
//max-width is reset, because plugin breaks in the twitter bootstrap otherwise
.css({ position: "absolute", top :"0px", left: "0px", maxWidth: "none"})
self._img[0].src = src;
loaded();
};
img.onerror = error;
//we need this because sometimes internet explorer 8 fires onload event
//right after assignment (synchronously)
setTimeout(function() {
img.src = src;
}, 0);
this.angle(0);
};
this._dimension = function(prefix, name) {
var horiz = '_' + prefix + '_' + name,
vert = '_' + prefix + '_' + (name === 'height' ? 'width' : 'height');
return setter(function(val) {
this[this._swapDimensions ? horiz: vert] = val;
},
function() {
return this[this._swapDimensions ? horiz: vert];
});
};
/**
* Getters and setter for common image dimensions.
* display_ means real image tag dimensions
* orig_ means physical image dimensions.
* Note, that dimensions are swapped if image is rotated. It necessary,
* because as little as possible code should know about rotation.
*/
this.display_width = this._dimension('display', 'width'),
this.display_height = this._dimension('display', 'height'),
this.display_diff = function() { return Math.floor( this.display_width() - this.display_height() ) };
this.orig_width = this._dimension('orig', 'width'),
this.orig_height = this._dimension('orig', 'height'),
/**
* Setter for X coordinate. If image is rotated we need to additionaly shift an
* image to map image coordinate to the visual position.
*
* @param {number} val Coordinate value.
* @param {boolean} skipCss If true, we only set the value and do not touch the dom.
*/
this.x = setter(function(val, skipCss) {
this._x = val;
if (!skipCss) {
this._finishAnimation();
this._img.css("left",this._x + (this._swapDimensions ? this.display_diff() / 2 : 0) + "px");
}
},
function() {
return this._x;
});
/**
* Setter for Y coordinate. If image is rotated we need to additionaly shift an
* image to map image coordinate to the visual position.
*
* @param {number} val Coordinate value.
* @param {boolean} skipCss If true, we only set the value and do not touch the dom.
*/
this.y = setter(function(val, skipCss) {
this._y = val;
if (!skipCss) {
this._finishAnimation();
this._img.css("top",this._y - (this._swapDimensions ? this.display_diff() / 2 : 0) + "px");
}
},
function() {
return this._y;
});
/**
* Perform image rotation.
*
* @param {number} deg Absolute image angle. The method will work with values 0, 90, 180, 270 degrees.
*/
this.angle = setter(function(deg) {
var prevSwap = this._swapDimensions;
this._angle = deg;
this._swapDimensions = deg % 180 !== 0;
if (prevSwap !== this._swapDimensions) {
var verticalMod = this._swapDimensions ? -1 : 1;
this.x(this.x() - verticalMod * this.display_diff() / 2, true);
this.y(this.y() + verticalMod * this.display_diff() / 2, true);
};
var cssVal = 'rotate(' + deg + 'deg)',
img = this._img;
jQuery.each(['', '-webkit-', '-moz-', '-o-', '-ms-'], function(i, prefix) {
img.css(prefix + 'transform', cssVal);
});
if (useIeTransforms) {
jQuery.each(['-ms-', ''], function(i, prefix) {
img.css(prefix + 'filter', ieTransforms[deg].filter);
});
img.css({
marginLeft: ieTransforms[deg].marginLeft * this.display_diff() / 2,
marginTop: ieTransforms[deg].marginTop * this.display_diff() / 2
});
}
},
function() { return this._angle; });
/**
* Map point in the container coordinates to the point in image coordinates.
* You will get coordinates of point on image with respect to rotation,
* but will be set as if image was not rotated.
* So, if image was rotated 90 degrees, it's (0,0) point will be on the
* top right corner.
*
* @param {{x: number, y: number}} point Point in container coordinates.
* @return {{x: number, y: number}}
*/
this.toOriginalCoords = function(point) {
switch (this.angle()) {
case 0: return { x: point.x, y: point.y }
case 90: return { x: point.y, y: this.display_width() - point.x }
case 180: return { x: this.display_width() - point.x, y: this.display_height() - point.y }
case 270: return { x: this.display_height() - point.y, y: point.x }
}
};
/**
* Map point in the image coordinates to the point in container coordinates.
* You will get coordinates of point on container with respect to rotation.
* Note, if image was rotated 90 degrees, it's (0,0) point will be on the
* top right corner.
*
* @param {{x: number, y: number}} point Point in container coordinates.
* @return {{x: number, y: number}}
*/
this.toRealCoords = function(point) {
switch (this.angle()) {
case 0: return { x: this.x() + point.x, y: this.y() + point.y }
case 90: return { x: this.x() + this.display_width() - point.y, y: this.y() + point.x}
case 180: return { x: this.x() + this.display_width() - point.x, y: this.y() + this.display_height() - point.y}
case 270: return { x: this.x() + point.y, y: this.y() + this.display_height() - point.x}
}
};
/**
* @return {jQuery} Return image node. this is needed to add event handlers.
*/
this.object = setter(jQuery.noop,
function() { return this._img; });
/**
* Change image properties.
*
* @param {number} disp_w Display width;
* @param {number} disp_h Display height;
* @param {number} x
* @param {number} y
* @param {boolean} skip_animation If true, the animation will be skiped despite the
* value set in constructor.
* @param {Function=} complete Call back will be fired when zoom will be complete.
*/
this.setImageProps = function(disp_w, disp_h, x, y, skip_animation, complete) {
complete = complete || jQuery.noop;
this.display_width(disp_w);
this.display_height(disp_h);
this.x(x, true);
this.y(y, true);
var w = this._swapDimensions ? disp_h : disp_w;
var h = this._swapDimensions ? disp_w : disp_h;
var params = {
width: w,
height: h,
top: y - (this._swapDimensions ? this.display_diff() / 2 : 0) + "px",
left: x + (this._swapDimensions ? this.display_diff() / 2 : 0) + "px"
};
if (useIeTransforms) {
jQuery.extend(params, {
marginLeft: ieTransforms[this.angle()].marginLeft * this.display_diff() / 2,
marginTop: ieTransforms[this.angle()].marginTop * this.display_diff() / 2
});
}
var swapDims = this._swapDimensions,
img = this._img;
//here we come: another IE oddness. If image is rotated 90 degrees with a filter, than
//width and height getters return real width and height of rotated image. The bad news
//is that to set height you need to set a width and vice versa. Fuck IE.
//So, in this case we have to animate width and height manually.
if(useIeTransforms && swapDims) {
var ieh = this._img.width(),
iew = this._img.height(),
iedh = params.height - ieh;
iedw = params.width - iew;
delete params.width;
delete params.height;
}
if (this._do_anim && !skip_animation) {
this._img.stop(true)
.animate(params, {
duration: 200,
complete: complete,
step: function(now, fx) {
if(useIeTransforms && swapDims && (fx.prop === 'top')) {
var percent = (now - fx.start) / (fx.end - fx.start);
img.height(ieh + iedh * percent);
img.width(iew + iedw * percent);
img.css('top', now);
}
}
});
} else {
this._img.css(params);
setTimeout(complete, 0); //both if branches should behave equally.
}
};
//if we set image coordinates we need to be sure that no animation is active atm
this._finishAnimation = function() {
this._img.stop(true, true);
}
}).apply($.ui.iviewer.ImageObject.prototype);
var util = {
scaleValue: function(value, toZoom)
{
return value * toZoom / 100;
},
descaleValue: function(value, fromZoom)
{
return value * 100 / fromZoom;
}
};
} )( jQuery, undefined );
================================================
FILE: docs/js/jquery.mousewheel.js
================================================
/*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh)
* Licensed under the MIT License (LICENSE.txt).
*
* Version: 3.1.9
*
* Requires: jQuery 1.2.2+
*/
(function (factory) {
if ( typeof define === 'function' && define.amd ) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS style for Browserify
module.exports = factory;
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {
var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll', 'MozMousePixelScroll'],
toBind = ( 'onwheel' in document || document.documentMode >= 9 ) ?
['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll'],
slice = Array.prototype.slice,
nullLowestDeltaTimeout, lowestDelta;
if ( $.event.fixHooks ) {
for ( var i = toFix.length; i; ) {
$.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks;
}
}
var special = $.event.special.mousewheel = {
version: '3.1.9',
setup: function() {
if ( this.addEventListener ) {
for ( var i = toBind.length; i; ) {
this.addEventListener( toBind[--i], handler, false );
}
} else {
this.onmousewheel = handler;
}
// Store the line height and page height for this particular element
$.data(this, 'mousewheel-line-height', special.getLineHeight(this));
$.data(this, 'mousewheel-page-height', special.getPageHeight(this));
},
teardown: function() {
if ( this.removeEventListener ) {
for ( var i = toBind.length; i; ) {
this.removeEventListener( toBind[--i], handler, false );
}
} else {
this.onmousewheel = null;
}
},
getLineHeight: function(elem) {
return parseInt($(elem)['offsetParent' in $.fn ? 'offsetParent' : 'parent']().css('fontSize'), 10);
},
getPageHeight: function(elem) {
return $(elem).height();
},
settings: {
adjustOldDeltas: true
}
};
$.fn.extend({
mousewheel: function(fn) {
return fn ? this.bind('mousewheel', fn) : this.trigger('mousewheel');
},
unmousewheel: function(fn) {
return this.unbind('mousewheel', fn);
}
});
function handler(event) {
var orgEvent = event || window.event,
args = slice.call(arguments, 1),
delta = 0,
deltaX = 0,
deltaY = 0,
absDelta = 0;
event = $.event.fix(orgEvent);
event.type = 'mousewheel';
// Old school scrollwheel delta
if ( 'detail' in orgEvent ) { deltaY = orgEvent.detail * -1; }
if ( 'wheelDelta' in orgEvent ) { deltaY = orgEvent.wheelDelta; }
if ( 'wheelDeltaY' in orgEvent ) { deltaY = orgEvent.wheelDeltaY; }
if ( 'wheelDeltaX' in orgEvent ) { deltaX = orgEvent.wheelDeltaX * -1; }
// Firefox < 17 horizontal scrolling related to DOMMouseScroll event
if ( 'axis' in orgEvent && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
deltaX = deltaY * -1;
deltaY = 0;
}
// Set delta to be deltaY or deltaX if deltaY is 0 for backwards compatabilitiy
delta = deltaY === 0 ? deltaX : deltaY;
// New school wheel delta (wheel event)
if ( 'deltaY' in orgEvent ) {
deltaY = orgEvent.deltaY * -1;
delta = deltaY;
}
if ( 'deltaX' in orgEvent ) {
deltaX = orgEvent.deltaX;
if ( deltaY === 0 ) { delta = deltaX * -1; }
}
// No change actually happened, no reason to go any further
if ( deltaY === 0 && deltaX === 0 ) { return; }
// Need to convert lines and pages to pixels if we aren't already in pixels
// There are three delta modes:
// * deltaMode 0 is by pixels, nothing to do
// * deltaMode 1 is by lines
// * deltaMode 2 is by pages
if ( orgEvent.deltaMode === 1 ) {
var lineHeight = $.data(this, 'mousewheel-line-height');
delta *= lineHeight;
deltaY *= lineHeight;
deltaX *= lineHeight;
} else if ( orgEvent.deltaMode === 2 ) {
var pageHeight = $.data(this, 'mousewheel-page-height');
delta *= pageHeight;
deltaY *= pageHeight;
deltaX *= pageHeight;
}
// Store lowest absolute delta to normalize the delta values
absDelta = Math.max( Math.abs(deltaY), Math.abs(deltaX) );
if ( !lowestDelta || absDelta < lowestDelta ) {
lowestDelta = absDelta;
// Adjust older deltas if necessary
if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) {
lowestDelta /= 40;
}
}
// Adjust older deltas if necessary
if ( shouldAdjustOldDeltas(orgEvent, absDelta) ) {
// Divide all the things by 40!
delta /= 40;
deltaX /= 40;
deltaY /= 40;
}
// Get a whole, normalized value for the deltas
delta = Math[ delta >= 1 ? 'floor' : 'ceil' ](delta / lowestDelta);
deltaX = Math[ deltaX >= 1 ? 'floor' : 'ceil' ](deltaX / lowestDelta);
deltaY = Math[ deltaY >= 1 ? 'floor' : 'ceil' ](deltaY / lowestDelta);
// Add information to the event object
event.deltaX = deltaX;
event.deltaY = deltaY;
event.deltaFactor = lowestDelta;
// Go ahead and set deltaMode to 0 since we converted to pixels
// Although this is a little odd since we overwrite the deltaX/Y
// properties with normalized deltas.
event.deltaMode = 0;
// Add event and delta to the front of the arguments
args.unshift(event, delta, deltaX, deltaY);
// Clearout lowestDelta after sometime to better
// handle multiple device types that give different
// a different lowestDelta
// Ex: trackpad = 3 and mouse wheel = 120
if (nullLowestDeltaTimeout) { clearTimeout(nullLowestDeltaTimeout); }
nullLowestDeltaTimeout = setTimeout(nullLowestDelta, 200);
return ($.event.dispatch || $.event.handle).apply(this, args);
}
function nullLowestDelta() {
lowestDelta = null;
}
function shouldAdjustOldDeltas(orgEvent, absDelta) {
// If this is an older event and the delta is divisable by 120,
// then we are assuming that the browser is treating this as an
// older mouse wheel event and that we should divide the deltas
// by 40 to try and get a more usable deltaFactor.
// Side note, this actually impacts the reported scroll distance
// in older browsers and can cause scrolling to be slower than native.
// Turn this off by setting $.event.special.mousewheel.settings.adjustOldDeltas to false.
return special.settings.adjustOldDeltas && orgEvent.type === 'mousewheel' && absDelta % 120 === 0;
}
}));
================================================
FILE: docs/js/jquery.panzoom.js
================================================
/*
* jQuery PanZoom Plugin
* Pan and zoom an image within a parent div.
*
* version: 0.9.0
* @requires jQuery v1.4.2 or later (earlier probably work, but untested so far)
*
* Copyright (c) 2011 Ben Lumley
* Examples and documentation at: https://github.com/benlumley/jQuery-PanZoom
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
(function( $ ){
$.fn.panZoom = function(method) {
if ( methods[method] ) {
return methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ));
} else if ( typeof method === 'object' || ! method ) {
return methods.init.apply( this, arguments );
} else {
$.error( 'Method ' + method + ' does not exist' );
}
};
$.fn.panZoom.defaults = {
zoomIn : false,
zoomOut : false,
panUp : false,
panDown : false,
panLeft : false,
panRight : false,
fit : false,
out_x1 : false,
out_y1 : false,
out_x2 : false,
out_y2 : false,
min_width : 20,
min_height : 20,
zoom_step : 3,
pan_step : 3,
debug : false,
directedit : false,
aspect : true,
factor : 1,
animate : true,
animate_duration : 200,
animate_easing : 'linear',
double_click : true,
mousewheel : true,
mousewheel_delta : 1,
draggable : true,
clickandhold : true
};
var settings = {}
var methods = {
'init': function (options) {
$.extend(settings, $.fn.panZoom.defaults, options);
setupCSS.apply(this);
setupData.apply(this);
setupBindings.apply(this);
methods.readPosition.apply(this);
},
'destroy': function () {
$(window).unbind('.panZoom');
this.removeData('panZoom');
},
'loadImage': function () {
var data = this.data('panZoom');
loadTargetDimensions.apply(this);
methods.updatePosition.apply(this);
if (data.last_image != null && data.last_image != this.attr('src')) {
methods.fit.apply(this);
}
data.last_image = this.attr('src');
data.loaded = true;
},
'readPosition': function () {
var data = this.data('panZoom');
if (settings.out_x1) { data.position.x1 = settings.out_x1.val()*settings.factor }
if (settings.out_y1) { data.position.y1 = settings.out_y1.val()*settings.factor }
if (settings.out_x2) { data.position.x2 = settings.out_x2.val()*settings.factor }
if (settings.out_y2) { data.position.y2 = settings.out_y2.val()*settings.factor }
methods.updatePosition.apply(this);
},
'updatePosition': function() {
validatePosition.apply(this);
writePosition.apply(this);
applyPosition.apply(this);
},
'fit': function () {
var data = this.data('panZoom');
data.position.x1 = 0;
data.position.y1 = 0;
data.position.x2 = data.viewport_dimensions.x;
data.position.y2 = data.viewport_dimensions.y;
methods.updatePosition.apply(this);
},
'zoomIn': function (steps) {
var data = this.data('panZoom');
if (typeof(steps) == 'undefined') {
var steps = getStepDimensions.apply(this);
}
console.debug(data.position);
console.debug(data.viewport_dimensions);
data.position.x1 = data.position.x1*1 - steps.zoom.x;
data.position.x2 = data.position.x2*1 + steps.zoom.x;
data.position.y1 = data.position.y1*1 - steps.zoom.y;
data.position.y2 = data.position.y2*1 + steps.zoom.y;
methods.updatePosition.apply(this);
},
'zoomOut': function (steps) {
var data = this.data('panZoom');
if (typeof(steps) == 'undefined') {
var steps = getStepDimensions.apply(this);
}
data.position.x1 = data.position.x1*1 + steps.zoom.x;
data.position.x2 = data.position.x2*1 - steps.zoom.x;
data.position.y1 = data.position.y1*1 + steps.zoom.y;
data.position.y2 = data.position.y2*1 - steps.zoom.y;
methods.updatePosition.apply(this);
},
'panUp': function () {
var data = this.data('panZoom');
var steps = getStepDimensions.apply(this);
data.position.y1 -= steps.pan.y;
data.position.y2 -= steps.pan.y;
methods.updatePosition.apply(this);
},
'panDown': function () {
var data = this.data('panZoom');
var steps = getStepDimensions.apply(this);
data.position.y1 = data.position.y1*1 + steps.pan.y;
data.position.y2 = data.position.y2*1 + steps.pan.y;
methods.updatePosition.apply(this);
},
'panLeft': function () {
var data = this.data('panZoom');
var steps = getStepDimensions.apply(this);
data.position.x1 -= steps.pan.x;
data.position.x2 -= steps.pan.x;
methods.updatePosition.apply(this);
},
'panRight': function () {
var data = this.data('panZoom');
var steps = getStepDimensions.apply(this);
data.position.x1 = data.position.x1*1 + steps.pan.x;
data.position.x2 = data.position.x2*1 + steps.pan.x;
methods.updatePosition.apply(this);
},
'mouseWheel': function (delta) {
// first calculate how much to zoom in/out
var steps = getStepDimensions.apply(this);
steps.zoom.x = steps.zoom.x * (Math.abs(delta) / settings.mousewheel_delta);
steps.zoom.y = steps.zoom.y * (Math.abs(delta) / settings.mousewheel_delta);
// then do it
if (delta > 0) {
methods.zoomIn.apply(this, [steps]);
} else if (delta < 0) {
methods.zoomOut.apply(this, [steps]);
}
},
'dragComplete': function() {
var data = this.data('panZoom');
data.position.x1 = this.position().left;
data.position.y1 = this.position().top;
data.position.x2 = this.position().left*1 + this.width();
data.position.y2 = this.position().top*1 + this.height();
methods.updatePosition.apply(this);
},
'mouseDown': function (action) {
methods[action].apply(this);
if (settings.clickandhold) {
var data = this.data('panZoom');
methods.mouseUp.apply(this);
data.mousedown_interval = window.setInterval(function (that, action) {
that.panZoom(action);
}, settings.animate_duration, this, action);
}
},
'mouseUp': function() {
var data = this.data('panZoom');
window.clearInterval(data.mousedown_interval);
}
}
function setupBindings() {
eventData = { target: this }
// bind up controls
if (settings.zoomIn) {
settings.zoomIn.bind('mousedown.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseDown', 'zoomIn');
}).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseUp');
});
}
if (settings.zoomOut) {
settings.zoomOut.bind('mousedown.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseDown', 'zoomOut');
}).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseUp');
});
}
if (settings.panUp) {
settings.panUp.bind('mousedown.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseDown', 'panUp');
}).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseUp');
});
}
if (settings.panDown) {
settings.panDown.bind('mousedown.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseDown', 'panDown');
}).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseUp');
});
}
if (settings.panLeft) {
settings.panLeft.bind('mousedown.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseDown', 'panLeft');
}).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseUp');
});
}
if (settings.panRight) {
settings.panRight.bind('mousedown.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseDown', 'panRight');
}).bind('mouseleave.panZoom mouseup.panZoom', eventData, function(event) {
event.preventDefault(); event.data.target.panZoom('mouseUp');
});
}
if (settings.fit) { settings.fit.bind('click.panZoom', eventData, function(event) { event.preventDefault(); event.data.target.panZoom('fit'); } ); }
// double click
if (settings.double_click) {
this.bind('dblclick.panZoom', eventData, function(event, delta) { event.data.target.panZoom('zoomIn') } );
}
// mousewheel
if (settings.mousewheel && typeof(this.mousewheel) == 'function') {
this.parent().mousewheel(function(event, delta) { event.preventDefault(); $(this).find('img').panZoom('mouseWheel', delta) } );
} else if (settings.mousewheel) {
alert('Mousewheel requires mousewheel from jQuery tools - please include jQuery tools or disable mousewheel to remove this warning.')
}
// direct form input
if (settings.directedit) {
$(settings.out_x1).add(settings.out_y1).add(settings.out_x2).add(settings.out_y2).bind('change.panZoom blur.panZoom', eventData, function(event) { event.data.target.panZoom('readPosition') } );
}
if (settings.draggable && typeof(this.draggable) == 'function') {
this.draggable({
stop: function () { $(this).panZoom('dragComplete'); }
});
} else if (settings.draggable) {
alert('Draggable requires jQuery UI - please include jQuery UI or disable draggable to remove this warning.')
}
// image load
$(this).bind('load.panZoom', eventData, function (event) { event.data.target.panZoom('loadImage') })
}
function setupData() {
this.data('panZoom', {
target_element: this,
target_dimensions: { x: null, y: null },
viewport_element: this.parent(),
viewport_dimensions: { x: this.parent().width(), y: this.parent().height() },
position: { x1: null, y1: null, x2: null, y2: null },
last_image: null,
loaded: false,
mousewheel_delta: 0,
mousedown_interval: false
});
if (settings.debug) {
console.log(this.data('panZoom'));
}
}
function setupCSS() {
if (this.parent().css('position') == 'static') {
this.parent().css('position', 'relative');
}
this.css({
'position': 'absolute',
'top': 0,
'left': 0
});
if (settings.draggable) {
this.css({
'cursor': 'move'
});
}
}
function validatePosition() {
var data = this.data('panZoom');
// if dimensions are too small...
if ( data.position.x2 - data.position.x1 < settings.min_width/settings.factor || data.position.y2 - data.position.y1 < settings.min_height/settings.factor ) {
// and second co-ords are zero (IE: no dims set), fit image
if (data.position.x2 == 0 || data.position.y2 == 0) {
methods.fit.apply(this);
}
// otherwise, backout a bit
else {
if (data.position.x2 - data.position.x1 < settings.min_width/settings.factor) {
data.position.x2 = data.position.x1*1+settings.min_width/settings.factor;
}
if (data.position.y2 - data.position.y1 < settings.min_height/settings.factor) {
data.position.y2 = data.position.y1*1+settings.min_height/settings.factor;
}
}
}
if (settings.aspect) {
target = data.target_dimensions.ratio;
current = getCurrentAspectRatio.apply(this)
if (current > target) {
new_width = getHeight.apply(this) * target;
diff = getWidth.apply(this) - new_width;
data.position.x1 = data.position.x1*1 + (diff/2);
data.position.x2 = data.position.x2*1 - (diff/2);
} else if (current < target) {
new_height = getWidth.apply(this) / target;
diff = getHeight.apply(this) - new_height;
data.position.y1 = data.position.y1*1 + (diff/2);
data.position.y2 = data.position.y2*1 - (diff/2);
}
}
}
function applyPosition() {
var data = this.data('panZoom');
width = getWidth.apply(this);
height = getHeight.apply(this);
left_offset = getLeftOffset.apply(this);
top_offset = getTopOffset.apply(this);
properties = {
'top': Math.round(top_offset),
'left': Math.round(left_offset),
'width': Math.round(width),
'height': Math.round(height)
}
if (data.loaded && settings.animate) {
applyAnimate.apply(this, [ properties ]);
} else {
applyCSS.apply(this, [ properties ]);
}
if (settings.debug) {
console.log('--');
console.log('width:' + width);
console.log('height:' + height);
console.log('left:' + left_offset);
console.log('top:' + top_offset);
}
}
function applyCSS() {
this.css( properties );
}
function applyAnimate() {
this.stop().animate( properties , settings.animate_duration, settings.animate_easing);
}
function getWidth() {
var data = this.data('panZoom');
width = (data.position.x2 - data.position.x1);
return width;
}
function getLeftOffset() {
var data = this.data('panZoom');
return data.position.x1;
}
function getHeight() {
var data = this.data('panZoom');
height = (data.position.y2 - data.position.y1);
return height;
}
function getTopOffset() {
var data = this.data('panZoom');
top_offset = data.position.y1;
return top_offset;
}
function getCurrentAspectRatio() {
return (getWidth.apply(this) / getHeight.apply(this));
}
function writePosition() {
var data = this.data('panZoom');
if (settings.out_x1) { settings.out_x1.val(Math.round(data.position.x1 / settings.factor)) }
if (settings.out_y1) { settings.out_y1.val(Math.round(data.position.y1 / settings.factor)) }
if (settings.out_x2) { settings.out_x2.val(Math.round(data.position.x2 / settings.factor)) }
if (settings.out_y2) { settings.out_y2.val(Math.round(data.position.y2 / settings.factor)) }
}
function getStepDimensions() {
var data = this.data('panZoom');
ret = {
zoom: {
x: (settings.zoom_step/100 * data.viewport_dimensions.x),
y: (settings.zoom_step/100 * data.viewport_dimensions.y)
},
pan: {
x: (settings.pan_step/100 * data.viewport_dimensions.x),
y: (settings.pan_step/100 * data.viewport_dimensions.y)
}
}
return ret;
}
function loadTargetDimensions() {
var data = this.data('panZoom');
var img = document.createElement('img');
img.src = this.attr('src');
img.id = "jqpz-temp";
$('body').append(img);
data.target_dimensions.x = $('#jqpz-temp').width();
data.target_dimensions.y = $('#jqpz-temp').height();
$('#jqpz-temp').remove();
data.target_dimensions.ratio = data.target_dimensions.x / data.target_dimensions.y;
}
})( jQuery );
================================================
FILE: docs/js/jquery.smooth-scroll.js
================================================
$(document).ready(function() {
function filterPath(string) {
return string
.replace(/^\//,'')
.replace(/(index|default).[a-zA-Z]{3,4}$/,'')
.replace(/\/$/,'');
}
var locationPath = filterPath(location.pathname);
$('a[href*=#]').each(function() {
var thisPath = filterPath(this.pathname) || locationPath;
if ( locationPath == thisPath
&& (location.hostname == this.hostname || !this.hostname)
&& this.hash.replace(/#/,'') ) {
var $target = $(this.hash), target = this.hash;
if (target) {
$(this).click(function(event) {
if (!$(this.hash).offset()) {
return;
}
event.preventDefault();
position = $(this.hash).offset().top;
$('html,body').animate({scrollTop: position}, 400, function() {
location.hash = target;
});
});
}
}
});
});
================================================
FILE: docs/js/jquery.splitter.js
================================================
/*
* jQuery.splitter.js - two-pane splitter window plugin
*
* version 1.51 (2009/01/09)
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
/**
* The splitter() plugin implements a two-pane resizable splitter window.
* The selected elements in the jQuery object are converted to a splitter;
* each selected element should have two child elements, used for the panes
* of the splitter. The plugin adds a third child element for the splitbar.
*
* For more details see: http://methvin.com/splitter/
*
*
* @example $('#MySplitter').splitter();
* @desc Create a vertical splitter with default settings
*
* @example $('#MySplitter').splitter({type: 'h', accessKey: 'M'});
* @desc Create a horizontal splitter resizable via Alt+Shift+M
*
* @name splitter
* @type jQuery
* @param Object options Options for the splitter (not required)
* @cat Plugins/Splitter
* @return jQuery
* @author Dave Methvin (dave.methvin@gmail.com)
*/
;
(function($) {
$.fn.splitter = function(args) {
args = args || {};
return this.each(function() {
var zombie; // left-behind splitbar for outline resizes
function startSplitMouse(evt) {
if (opts.outline)
zombie = zombie || bar.clone(false).insertAfter(A);
panes.css("-webkit-user-select", "none"); // Safari selects A/B text on a move
bar.addClass(opts.activeClass);
$('').insertAfter(bar);
A._posSplit = A[0][opts.pxSplit] - evt[opts.eventPos];
$(document)
.bind("mousemove", doSplitMouse)
.bind("mouseup", endSplitMouse);
}
function doSplitMouse(evt) {
var newPos = A._posSplit + evt[opts.eventPos];
if (opts.outline) {
newPos = Math.max(0, Math.min(newPos, splitter._DA - bar._DA));
bar.css(opts.origin, newPos);
} else
resplit(newPos);
}
function endSplitMouse(evt) {
$('div.splitterMask').remove();
bar.removeClass(opts.activeClass);
var newPos = A._posSplit + evt[opts.eventPos];
if (opts.outline) {
zombie.remove();
zombie = null;
resplit(newPos);
}
panes.css("-webkit-user-select", "text"); // let Safari select text again
$(document)
.unbind("mousemove", doSplitMouse)
.unbind("mouseup", endSplitMouse);
}
function resplit(newPos) {
// Constrain new splitbar position to fit pane size limits
newPos = Math.max(A._min, splitter._DA - B._max,
Math.min(newPos, A._max, splitter._DA - bar._DA - B._min));
// Resize/position the two panes
bar._DA = bar[0][opts.pxSplit]; // bar size may change during dock
bar.css(opts.origin, newPos).css(opts.fixed, splitter._DF);
A.css(opts.origin, 0).css(opts.split, newPos).css(opts.fixed, splitter._DF);
B.css(opts.origin, newPos + bar._DA)
.css(opts.split, splitter._DA - bar._DA - newPos).css(opts.fixed, splitter._DF);
// IE fires resize for us; all others pay cash
if (!$.browser.msie)
panes.trigger("resize");
}
function dimSum(jq, dims) {
// Opera returns -1 for missing min/max width, turn into 0
var sum = 0;
for (var i = 1; i < arguments.length; i++)
sum += Math.max(parseInt(jq.css(arguments[i])) || 0, 0);
return sum;
}
// Determine settings based on incoming opts, element classes, and defaults
var vh = (args.splitHorizontal ? 'h' : args.splitVertical ? 'v' : args.type) || 'v';
var opts = $.extend({
activeClass: 'active', // class name for active splitter
pxPerKey: 8, // splitter px moved per keypress
tabIndex: 0, // tab order indicator
accessKey: '' // accessKey for splitbar
}, {
v: { // Vertical splitters:
keyLeft: 39, keyRight: 37, cursor: "e-resize",
splitbarClass: "vsplitbar", outlineClass: "voutline",
type: 'v', eventPos: "pageX", origin: "left",
split: "width", pxSplit: "offsetWidth", side1: "Left", side2: "Right",
fixed: "height", pxFixed: "offsetHeight", side3: "Top", side4: "Bottom"
},
h: { // Horizontal splitters:
keyTop: 40, keyBottom: 38, cursor: "n-resize",
splitbarClass: "hsplitbar", outlineClass: "houtline",
type: 'h', eventPos: "pageY", origin: "top",
split: "height", pxSplit: "offsetHeight", side1: "Top", side2: "Bottom",
fixed: "width", pxFixed: "offsetWidth", side3: "Left", side4: "Right"
}
}[vh], args);
// Create jQuery object closures for splitter and both panes
var splitter = $(this).css({position: "relative"});
var panes = $(">*", splitter[0]).css({
position: "absolute", // positioned inside splitter container
"z-index": "1", // splitbar is positioned above
"-moz-outline-style": "none" // don't show dotted outline
});
var A = $(panes[0]); // left or top
var B = $(panes[1]); // right or bottom
// Focuser element, provides keyboard support; title is shown by Opera accessKeys
var focuser = $('')
.attr({accessKey: opts.accessKey, tabIndex: opts.tabIndex, title: opts.splitbarClass})
.bind($.browser.opera ? "click" : "focus", function() {
this.focus();
bar.addClass(opts.activeClass)
})
.bind("keydown", function(e) {
var key = e.which || e.keyCode;
var dir = key == opts["key" + opts.side1] ? 1 : key == opts["key" + opts.side2] ? -1 : 0;
if (dir)
resplit(A[0][opts.pxSplit] + dir * opts.pxPerKey, false);
})
.bind("blur", function() {
bar.removeClass(opts.activeClass)
});
// Splitbar element, can be already in the doc or we create one
var bar = $(panes[2] || '')
.insertAfter(A).css("z-index", "100").append(focuser)
.attr({"class": opts.splitbarClass, unselectable: "on"})
.css({position: "absolute", "user-select": "none", "-webkit-user-select": "none",
"-khtml-user-select": "none", "-moz-user-select": "none", "top": "0px"})
.bind("mousedown", startSplitMouse);
// Use our cursor unless the style specifies a non-default cursor
if (/^(auto|default|)$/.test(bar.css("cursor")))
bar.css("cursor", opts.cursor);
// Cache several dimensions for speed, rather than re-querying constantly
bar._DA = bar[0][opts.pxSplit];
splitter._PBF = $.boxModel ? dimSum(splitter, "border" + opts.side3 + "Width", "border" + opts.side4 + "Width") : 0;
splitter._PBA = $.boxModel ? dimSum(splitter, "border" + opts.side1 + "Width", "border" + opts.side2 + "Width") : 0;
A._pane = opts.side1;
B._pane = opts.side2;
$.each([A,B], function() {
this._min = opts["min" + this._pane] || dimSum(this, "min-" + opts.split);
this._max = opts["max" + this._pane] || dimSum(this, "max-" + opts.split) || 9999;
this._init = opts["size" + this._pane] === true ?
parseInt($.curCSS(this[0], opts.split)) : opts["size" + this._pane];
});
// Determine initial position, get from cookie if specified
var initPos = A._init;
if (!isNaN(B._init)) // recalc initial B size as an offset from the top or left side
initPos = splitter[0][opts.pxSplit] - splitter._PBA - B._init - bar._DA;
if (opts.cookie) {
if (!$.cookie)
alert('jQuery.splitter(): jQuery cookie plugin required');
var ckpos = parseInt($.cookie(opts.cookie));
if (!isNaN(ckpos))
initPos = ckpos;
$(window).bind("unload", function() {
var state = String(bar.css(opts.origin)); // current location of splitbar
$.cookie(opts.cookie, state, {expires: opts.cookieExpires || 365,
path: opts.cookiePath || document.location.pathname});
});
}
if (isNaN(initPos)) // King Solomon's algorithm
initPos = Math.round((splitter[0][opts.pxSplit] - splitter._PBA - bar._DA) / 2);
// Resize event propagation and splitter sizing
if (opts.anchorToWindow) {
// Account for margin or border on the splitter container and enforce min height
splitter._hadjust = dimSum(splitter, "borderTopWidth", "borderBottomWidth", "marginBottom");
splitter._hmin = Math.max(dimSum(splitter, "minHeight"), 20);
$(window).bind("resize",
function() {
var top = splitter.offset().top;
var wh = $(window).height();
splitter.css("height", Math.max(wh - top - splitter._hadjust, splitter._hmin) + "px");
if (!$.browser.msie) splitter.trigger("resize");
}).trigger("resize");
}
else if (opts.resizeToWidth && !$.browser.msie)
$(window).bind("resize", function() {
splitter.trigger("resize");
});
// Resize event handler; triggered immediately to set initial position
splitter.bind("resize",
function(e, size) {
// Custom events bubble in jQuery 1.3; don't Yo Dawg
if (e.target != this) return;
// Determine new width/height of splitter container
splitter._DF = splitter[0][opts.pxFixed] - splitter._PBF;
splitter._DA = splitter[0][opts.pxSplit] - splitter._PBA;
// Bail if splitter isn't visible or content isn't there yet
if (splitter._DF <= 0 || splitter._DA <= 0) return;
// Re-divvy the adjustable dimension; maintain size of the preferred pane
resplit(!isNaN(size) ? size : (!(opts.sizeRight || opts.sizeBottom) ? A[0][opts.pxSplit] :
splitter._DA - B[0][opts.pxSplit] - bar._DA));
}).trigger("resize", [initPos]);
});
};
})(jQuery);
================================================
FILE: docs/js/jquery.treeview.js
================================================
/*
* Treeview 1.5pre - jQuery plugin to hide and show branches of a tree
*
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
* http://docs.jquery.com/Plugins/Treeview
*
* Copyright (c) 2007 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revision: $Id: jquery.treeview.js 5759 2008-07-01 07:50:28Z joern.zaefferer $
*
*/
;(function($) {
// TODO rewrite as a widget, removing all the extra plugins
$.extend($.fn, {
swapClass: function(c1, c2) {
var c1Elements = this.filter('.' + c1);
this.filter('.' + c2).removeClass(c2).addClass(c1);
c1Elements.removeClass(c1).addClass(c2);
return this;
},
replaceClass: function(c1, c2) {
return this.filter('.' + c1).removeClass(c1).addClass(c2).end();
},
hoverClass: function(className) {
className = className || "hover";
return this.hover(function() {
$(this).addClass(className);
}, function() {
$(this).removeClass(className);
});
},
heightToggle: function(animated, callback) {
animated ?
this.animate({ height: "toggle" }, animated, callback) :
this.each(function(){
jQuery(this)[ jQuery(this).is(":hidden") ? "show" : "hide" ]();
if(callback)
callback.apply(this, arguments);
});
},
heightHide: function(animated, callback) {
if (animated) {
this.animate({ height: "hide" }, animated, callback);
} else {
this.hide();
if (callback)
this.each(callback);
}
},
prepareBranches: function(settings) {
if (!settings.prerendered) {
// mark last tree items
this.filter(":last-child:not(ul)").addClass(CLASSES.last);
// collapse whole tree, or only those marked as closed, anyway except those marked as open
this.filter((settings.collapsed ? "" : "." + CLASSES.closed) + ":not(." + CLASSES.open + ")").find(">ul").hide();
}
// return all items with sublists
return this.filter(":has(>ul)");
},
applyClasses: function(settings, toggler) {
// TODO use event delegation
this.filter(":has(>ul):not(:has(>a))").find(">span").unbind("click.treeview").bind("click.treeview", function(event) {
// don't handle click events on children, eg. checkboxes
if ( this == event.target )
toggler.apply($(this).next());
}).add( $("a", this) ).hoverClass();
if (!settings.prerendered) {
// handle closed ones first
this.filter(":has(>ul:hidden)")
.addClass(CLASSES.expandable)
.replaceClass(CLASSES.last, CLASSES.lastExpandable);
// handle open ones
this.not(":has(>ul:hidden)")
.addClass(CLASSES.collapsable)
.replaceClass(CLASSES.last, CLASSES.lastCollapsable);
// create hitarea if not present
var hitarea = this.find("div." + CLASSES.hitarea);
if (!hitarea.length)
hitarea = this.prepend("").find("div." + CLASSES.hitarea);
hitarea.removeClass().addClass(CLASSES.hitarea).each(function() {
var classes = "";
$.each($(this).parent().attr("class").split(" "), function() {
classes += this + "-hitarea ";
});
$(this).addClass( classes );
})
}
// apply event to hitarea
this.find("div." + CLASSES.hitarea).click( toggler );
},
treeview: function(settings) {
settings = $.extend({
cookieId: "treeview"
}, settings);
if ( settings.toggle ) {
var callback = settings.toggle;
settings.toggle = function() {
return callback.apply($(this).parent()[0], arguments);
};
}
// factory for treecontroller
function treeController(tree, control) {
// factory for click handlers
function handler(filter) {
return function() {
// reuse toggle event handler, applying the elements to toggle
// start searching for all hitareas
toggler.apply( $("div." + CLASSES.hitarea, tree).filter(function() {
// for plain toggle, no filter is provided, otherwise we need to check the parent element
return filter ? $(this).parent("." + filter).length : true;
}) );
return false;
};
}
// click on first element to collapse tree
$("a:eq(0)", control).click( handler(CLASSES.collapsable) );
// click on second to expand tree
$("a:eq(1)", control).click( handler(CLASSES.expandable) );
// click on third to toggle tree
$("a:eq(2)", control).click( handler() );
}
// handle toggle event
function toggler() {
$(this)
.parent()
// swap classes for hitarea
.find(">.hitarea")
.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
.end()
// swap classes for parent li
.swapClass( CLASSES.collapsable, CLASSES.expandable )
.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
// find child lists
.find( ">ul" )
// toggle them
.heightToggle( settings.animated, settings.toggle );
if ( settings.unique ) {
$(this).parent()
.siblings()
// swap classes for hitarea
.find(">.hitarea")
.replaceClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
.replaceClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
.end()
.replaceClass( CLASSES.collapsable, CLASSES.expandable )
.replaceClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
.find( ">ul" )
.heightHide( settings.animated, settings.toggle );
}
}
this.data("toggler", toggler);
function serialize() {
function binary(arg) {
return arg ? 1 : 0;
}
var data = [];
branches.each(function(i, e) {
data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0;
});
$.cookie(settings.cookieId, data.join(""), settings.cookieOptions );
}
function deserialize() {
var stored = $.cookie(settings.cookieId);
if ( stored ) {
var data = stored.split("");
branches.each(function(i, e) {
$(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
});
}
}
// add treeview class to activate styles
this.addClass("treeview");
// prepare branches and find all tree items with child lists
var branches = this.find("li").prepareBranches(settings);
switch(settings.persist) {
case "cookie":
var toggleCallback = settings.toggle;
settings.toggle = function() {
serialize();
if (toggleCallback) {
toggleCallback.apply(this, arguments);
}
};
deserialize();
break;
case "location":
var current = this.find("a").filter(function() {
return this.href.toLowerCase() == location.href.toLowerCase();
});
if ( current.length ) {
// TODO update the open/closed classes
var items = current.addClass("selected").parents("ul, li").add( current.next() ).show();
if (settings.prerendered) {
// if prerendered is on, replicate the basic class swapping
items.filter("li")
.swapClass( CLASSES.collapsable, CLASSES.expandable )
.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
.find(">.hitarea")
.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea );
}
}
break;
}
branches.applyClasses(settings, toggler);
// if control option is set, create the treecontroller and show it
if ( settings.control ) {
treeController(this, settings.control);
$(settings.control).show();
}
return this;
}
});
// classes used by the plugin
// need to be styled via external stylesheet, see first example
$.treeview = {};
var CLASSES = ($.treeview.classes = {
open: "open",
closed: "closed",
expandable: "expandable",
expandableHitarea: "expandable-hitarea",
lastExpandableHitarea: "lastExpandable-hitarea",
collapsable: "collapsable",
collapsableHitarea: "collapsable-hitarea",
lastCollapsableHitarea: "lastCollapsable-hitarea",
lastCollapsable: "lastCollapsable",
lastExpandable: "lastExpandable",
last: "last",
hitarea: "hitarea"
});
})(jQuery);
================================================
FILE: docs/js/jquery.xml2json.js
================================================
/*
### jQuery XML to JSON Plugin v1.3 - 2013-02-18 ###
* http://www.fyneworks.com/ - diego@fyneworks.com
* Licensed under http://en.wikipedia.org/wiki/MIT_License
###
Website: http://www.fyneworks.com/jquery/xml-to-json/
*//*
# INSPIRED BY: http://www.terracoder.com/
AND: http://www.thomasfrank.se/xml_to_json.html
AND: http://www.kawa.net/works/js/xml/objtree-e.html
*//*
This simple script converts XML (document of code) into a JSON object. It is the combination of 2
'xml to json' great parsers (see below) which allows for both 'simple' and 'extended' parsing modes.
*/
// Avoid collisions
;if(window.jQuery) (function($){
// Add function to jQuery namespace
$.extend({
// converts xml documents and xml text to json object
xml2json: function(xml, extended) {
if(!xml) return {}; // quick fail
//### PARSER LIBRARY
// Core function
function parseXML(node, simple){
if(!node) return null;
var txt = '', obj = null, att = null;
var nt = node.nodeType, nn = jsVar(node.localName || node.nodeName);
var nv = node.text || node.nodeValue || '';
/*DBG*/ //if(window.console) console.log(['x2j',nn,nt,nv.length+' bytes']);
if(node.childNodes){
if(node.childNodes.length>0){
/*DBG*/ //if(window.console) console.log(['x2j',nn,'CHILDREN',node.childNodes]);
$.each(node.childNodes, function(n,cn){
var cnt = cn.nodeType, cnn = jsVar(cn.localName || cn.nodeName);
var cnv = cn.text || cn.nodeValue || '';
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>a',cnn,cnt,cnv]);
if(cnt == 8){
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>b',cnn,'COMMENT (ignore)']);
return; // ignore comment node
}
else if(cnt == 3 || cnt == 4 || !cnn){
// ignore white-space in between tags
if(cnv.match(/^\s+$/)){
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>c',cnn,'WHITE-SPACE (ignore)']);
return;
};
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>d',cnn,'TEXT']);
txt += cnv.replace(/^\s+/,'').replace(/\s+$/,'');
// make sure we ditch trailing spaces from markup
}
else{
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>e',cnn,'OBJECT']);
obj = obj || {};
if(obj[cnn]){
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>f',cnn,'ARRAY']);
// http://forum.jquery.com/topic/jquery-jquery-xml2json-problems-when-siblings-of-the-same-tagname-only-have-a-textnode-as-a-child
if(!obj[cnn].length) obj[cnn] = myArr(obj[cnn]);
obj[cnn] = myArr(obj[cnn]);
obj[cnn][ obj[cnn].length ] = parseXML(cn, true/* simple */);
obj[cnn].length = obj[cnn].length;
}
else{
/*DBG*/ //if(window.console) console.log(['x2j',nn,'node>g',cnn,'dig deeper...']);
obj[cnn] = parseXML(cn);
};
};
});
};//node.childNodes.length>0
};//node.childNodes
if(node.attributes){
if(node.attributes.length>0){
/*DBG*/ //if(window.console) console.log(['x2j',nn,'ATTRIBUTES',node.attributes])
att = {}; obj = obj || {};
$.each(node.attributes, function(a,at){
var atn = jsVar(at.name), atv = at.value;
att[atn] = atv;
if(obj[atn]){
/*DBG*/ //if(window.console) console.log(['x2j',nn,'attr>',atn,'ARRAY']);
// http://forum.jquery.com/topic/jquery-jquery-xml2json-problems-when-siblings-of-the-same-tagname-only-have-a-textnode-as-a-child
//if(!obj[atn].length) obj[atn] = myArr(obj[atn]);//[ obj[ atn ] ];
obj[cnn] = myArr(obj[cnn]);
obj[atn][ obj[atn].length ] = atv;
obj[atn].length = obj[atn].length;
}
else{
/*DBG*/ //if(window.console) console.log(['x2j',nn,'attr>',atn,'TEXT']);
obj[atn] = atv;
};
});
//obj['attributes'] = att;
};//node.attributes.length>0
};//node.attributes
if(obj){
obj = $.extend( (txt!='' ? new String(txt) : {}),/* {text:txt},*/ obj || {}/*, att || {}*/);
//txt = (obj.text) ? (typeof(obj.text)=='object' ? obj.text : [obj.text || '']).concat([txt]) : txt;
txt = (obj.text) ? ([obj.text || '']).concat([txt]) : txt;
if(txt) obj.text = txt;
txt = '';
};
var out = obj || txt;
//console.log([extended, simple, out]);
if(extended){
if(txt) out = {};//new String(out);
txt = out.text || txt || '';
if(txt) out.text = txt;
if(!simple) out = myArr(out);
};
return out;
};// parseXML
// Core Function End
// Utility functions
var jsVar = function(s){ return String(s || '').replace(/-/g,"_"); };
// NEW isNum function: 01/09/2010
// Thanks to Emile Grau, GigaTecnologies S.L., www.gigatransfer.com, www.mygigamail.com
function isNum(s){
// based on utility function isNum from xml2json plugin (http://www.fyneworks.com/ - diego@fyneworks.com)
// few bugs corrected from original function :
// - syntax error : regexp.test(string) instead of string.test(reg)
// - regexp modified to accept comma as decimal mark (latin syntax : 25,24 )
// - regexp modified to reject if no number before decimal mark : ".7" is not accepted
// - string is "trimmed", allowing to accept space at the beginning and end of string
var regexp=/^((-)?([0-9]+)(([\.\,]{0,1})([0-9]+))?$)/
return (typeof s == "number") || regexp.test(String((s && typeof s == "string") ? jQuery.trim(s) : ''));
};
// OLD isNum function: (for reference only)
//var isNum = function(s){ return (typeof s == "number") || String((s && typeof s == "string") ? s : '').test(/^((-)?([0-9]*)((\.{0,1})([0-9]+))?$)/); };
var myArr = function(o){
// http://forum.jquery.com/topic/jquery-jquery-xml2json-problems-when-siblings-of-the-same-tagname-only-have-a-textnode-as-a-child
//if(!o.length) o = [ o ]; o.length=o.length;
if(!$.isArray(o)) o = [ o ]; o.length=o.length;
// here is where you can attach additional functionality, such as searching and sorting...
return o;
};
// Utility functions End
//### PARSER LIBRARY END
// Convert plain text to xml
if(typeof xml=='string') xml = $.text2xml(xml);
// Quick fail if not xml (or if this is a node)
if(!xml.nodeType) return;
if(xml.nodeType == 3 || xml.nodeType == 4) return xml.nodeValue;
// Find xml root node
var root = (xml.nodeType == 9) ? xml.documentElement : xml;
// Convert xml to json
var out = parseXML(root, true /* simple */);
// Clean-up memory
xml = null; root = null;
// Send output
return out;
},
// Convert text to XML DOM
text2xml: function(str) {
// NOTE: I'd like to use jQuery for this, but jQuery makes all tags uppercase
//return $(xml)[0];
/* prior to jquery 1.9 */
/*
var out;
try{
var xml = ((!$.support.opacity && !$.support.style))?new ActiveXObject("Microsoft.XMLDOM"):new DOMParser();
xml.async = false;
}catch(e){ throw new Error("XML Parser could not be instantiated") };
try{
if((!$.support.opacity && !$.support.style)) out = (xml.loadXML(str))?xml:false;
else out = xml.parseFromString(str, "text/xml");
}catch(e){ throw new Error("Error parsing XML string") };
return out;
*/
/* jquery 1.9+ */
return $.parseXML(str);
}
}); // extend $
})(jQuery);
================================================
FILE: docs/js/menu.js
================================================
var timeout = 500;
var closetimer = 0;
var ddmenuitem = 0;
function menu_open() {
menu_canceltimer();
menu_close();
ddmenuitem = $(this).find('ul').css('visibility', 'visible');
}
function menu_close() {
if (ddmenuitem) ddmenuitem.css('visibility', 'hidden');
}
function menu_timer() {
closetimer = window.setTimeout(menu_close, timeout);
}
function menu_canceltimer() {
if (closetimer) {
window.clearTimeout(closetimer);
closetimer = null;
}
}
$(document).ready(function() {
$('#file-nav > li').bind('mouseover', menu_open);
$('#file-nav > li').bind('mouseout', menu_timer);
});
document.onclick = menu_close;
================================================
FILE: docs/js/prettify/lang-apollo.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["com",/^#[^\n\r]*/,null,"#"],["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \xa0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,null,'"']],[["kwd",/^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\s/,
null],["typ",/^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[ES]?BANK=?|BLOCK|BNKSUM|E?CADR|COUNT\*?|2?DEC\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\s/,null],["lit",/^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/],["pln",/^-*(?:[!-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/],["pun",/^[^\w\t\n\r "'-);\\\xa0]+/]]),["apollo","agc","aea"]);
================================================
FILE: docs/js/prettify/lang-clj.js
================================================
/*
Copyright (C) 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
var a=null;
PR.registerLangHandler(PR.createSimpleLexer([["opn",/^[([{]+/,a,"([{"],["clo",/^[)\]}]+/,a,")]}"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \xa0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/,a],
["typ",/^:[\dA-Za-z-]+/]]),["clj"]);
================================================
FILE: docs/js/prettify/lang-css.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n"]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com",
/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]);
================================================
FILE: docs/js/prettify/lang-go.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \xa0"],["pln",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])+(?:'|$)|`[^`]*(?:`|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\n\r]*|\/\*[\S\s]*?\*\/)/],["pln",/^(?:[^"'/`]|\/(?![*/]))+/]]),["go"]);
================================================
FILE: docs/js/prettify/lang-hs.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t-\r ]+/,null,"\t\n\r "],["str",/^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["str",/^'(?:[^\n\f\r'\\]|\\[^&])'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:--+[^\n\f\r]*|{-(?:[^-]|-+[^}-])*-})/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^\d'A-Za-z]|$)/,
null],["pln",/^(?:[A-Z][\w']*\.)*[A-Za-z][\w']*/],["pun",/^[^\d\t-\r "'A-Za-z]+/]]),["hs"]);
================================================
FILE: docs/js/prettify/lang-lisp.js
================================================
var a=null;
PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,a,"("],["clo",/^\)+/,a,")"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \xa0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/,a],
["lit",/^[+-]?(?:[#0]x[\da-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[de][+-]?\d+)?)/i],["lit",/^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/],["pln",/^-*(?:[_a-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/i],["pun",/^[^\w\t\n\r "'-);\\\xa0]+/]]),["cl","el","lisp","scm"]);
================================================
FILE: docs/js/prettify/lang-lua.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \xa0"],["str",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\S\s]*?(?:]\1]|$)|[^\n\r]*)/],["str",/^\[(=*)\[[\S\s]*?(?:]\1]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i],
["pln",/^[_a-z]\w*/i],["pun",/^[^\w\t\n\r \xa0][^\w\t\n\r "'+=\xa0-]*/]]),["lua"]);
================================================
FILE: docs/js/prettify/lang-ml.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \xa0"],["com",/^#(?:if[\t\n\r \xa0]+(?:[$_a-z][\w']*|``[^\t\n\r`]*(?:``|$))|else|endif|light)/i,null,"#"],["str",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])(?:'|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\n\r]*|\(\*[\S\s]*?\*\))/],["kwd",/^(?:abstract|and|as|assert|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|if|in|inherit|inline|interface|internal|lazy|let|match|member|module|mutable|namespace|new|null|of|open|or|override|private|public|rec|return|static|struct|then|to|true|try|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|global|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\b/],
["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i],["pln",/^(?:[_a-z][\w']*[!#?]?|``[^\t\n\r`]*(?:``|$))/i],["pun",/^[^\w\t\n\r "'\xa0]+/]]),["fs","ml"]);
================================================
FILE: docs/js/prettify/lang-n.js
================================================
var a=null;
PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:'(?:[^\n\r'\\]|\\.)*'|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,a,'"'],["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,a,"#"],["pln",/^\s+/,a," \r\n\t\xa0"]],[["str",/^@"(?:[^"]|"")*(?:"|$)/,a],["str",/^<#[^#>]*(?:#>|$)/,a],["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,a],["com",/^\/\/[^\n\r]*/,a],["com",/^\/\*[\S\s]*?(?:\*\/|$)/,
a],["kwd",/^(?:abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\b/,
a],["typ",/^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\b/,a],["lit",/^@[$_a-z][\w$@]*/i,a],["typ",/^@[A-Z]+[a-z][\w$@]*/,a],["pln",/^'?[$_a-z][\w$@]*/i,a],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,a,"0123456789"],["pun",/^.[^\s\w"-$'./@`]*/,a]]),["n","nemerle"]);
================================================
FILE: docs/js/prettify/lang-proto.js
================================================
PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]);
================================================
FILE: docs/js/prettify/lang-scala.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \xa0"],["str",/^"(?:""(?:""?(?!")|[^"\\]|\\.)*"{0,3}|(?:[^\n\r"\\]|\\.)*"?)/,null,'"'],["lit",/^`(?:[^\n\r\\`]|\\.)*`?/,null,"`"],["pun",/^[!#%&(--:-@[-^{-~]+/,null,"!#%&()*+,-:;<=>?@[\\]^{|}~"]],[["str",/^'(?:[^\n\r'\\]|\\(?:'|[^\n\r']+))'/],["lit",/^'[$A-Z_a-z][\w$]*(?![\w$'])/],["kwd",/^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\b/],
["lit",/^(?:true|false|null|this)\b/],["lit",/^(?:0(?:[0-7]+|x[\da-f]+)l?|(?:0|[1-9]\d*)(?:(?:\.\d+)?(?:e[+-]?\d+)?f?|l?)|\\.\d+(?:e[+-]?\d+)?f?)/i],["typ",/^[$_]*[A-Z][\d$A-Z_]*[a-z][\w$]*/],["pln",/^[$A-Z_a-z][\w$]*/],["com",/^\/(?:\/.*|\*(?:\/|\**[^*/])*(?:\*+\/?)?)/],["pun",/^(?:\.+|\/)/]]),["scala"]);
================================================
FILE: docs/js/prettify/lang-sql.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \xa0"],["str",/^(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,null,"\"'"]],[["com",/^(?:--[^\n\r]*|\/\*[\S\s]*?(?:\*\/|$))/],["kwd",/^(?:add|all|alter|and|any|as|asc|authorization|backup|begin|between|break|browse|bulk|by|cascade|case|check|checkpoint|close|clustered|coalesce|collate|column|commit|compute|constraint|contains|containstable|continue|convert|create|cross|current|current_date|current_time|current_timestamp|current_user|cursor|database|dbcc|deallocate|declare|default|delete|deny|desc|disk|distinct|distributed|double|drop|dummy|dump|else|end|errlvl|escape|except|exec|execute|exists|exit|fetch|file|fillfactor|for|foreign|freetext|freetexttable|from|full|function|goto|grant|group|having|holdlock|identity|identitycol|identity_insert|if|in|index|inner|insert|intersect|into|is|join|key|kill|left|like|lineno|load|match|merge|national|nocheck|nonclustered|not|null|nullif|of|off|offsets|on|open|opendatasource|openquery|openrowset|openxml|option|or|order|outer|over|percent|plan|precision|primary|print|proc|procedure|public|raiserror|read|readtext|reconfigure|references|replication|restore|restrict|return|revoke|right|rollback|rowcount|rowguidcol|rule|save|schema|select|session_user|set|setuser|shutdown|some|statistics|system_user|table|textsize|then|to|top|tran|transaction|trigger|truncate|tsequal|union|unique|update|updatetext|use|user|using|values|varying|view|waitfor|when|where|while|with|writetext)(?=[^\w-]|$)/i,
null],["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i],["pln",/^[_a-z][\w-]*/i],["pun",/^[^\w\t\n\r "'\xa0][^\w\t\n\r "'+\xa0-]*/]]),["sql"]);
================================================
FILE: docs/js/prettify/lang-tex.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \xa0"],["com",/^%[^\n\r]*/,null,"%"]],[["kwd",/^\\[@-Za-z]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[()=[\]{}]+/]]),["latex","tex"]);
================================================
FILE: docs/js/prettify/lang-vb.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0\u2028\u2029]+/,null,"\t\n\r \xa0 "],["str",/^(?:["\u201c\u201d](?:[^"\u201c\u201d]|["\u201c\u201d]{2})(?:["\u201c\u201d]c|$)|["\u201c\u201d](?:[^"\u201c\u201d]|["\u201c\u201d]{2})*(?:["\u201c\u201d]|$))/i,null,'"“”'],["com",/^['\u2018\u2019].*/,null,"'‘’"]],[["kwd",/^(?:addhandler|addressof|alias|and|andalso|ansi|as|assembly|auto|boolean|byref|byte|byval|call|case|catch|cbool|cbyte|cchar|cdate|cdbl|cdec|char|cint|class|clng|cobj|const|cshort|csng|cstr|ctype|date|decimal|declare|default|delegate|dim|directcast|do|double|each|else|elseif|end|endif|enum|erase|error|event|exit|finally|for|friend|function|get|gettype|gosub|goto|handles|if|implements|imports|in|inherits|integer|interface|is|let|lib|like|long|loop|me|mod|module|mustinherit|mustoverride|mybase|myclass|namespace|new|next|not|notinheritable|notoverridable|object|on|option|optional|or|orelse|overloads|overridable|overrides|paramarray|preserve|private|property|protected|public|raiseevent|readonly|redim|removehandler|resume|return|select|set|shadows|shared|short|single|static|step|stop|string|structure|sub|synclock|then|throw|to|try|typeof|unicode|until|variant|wend|when|while|with|withevents|writeonly|xor|endif|gosub|let|variant|wend)\b/i,
null],["com",/^rem.*/i],["lit",/^(?:true\b|false\b|nothing\b|\d+(?:e[+-]?\d+[dfr]?|[dfilrs])?|(?:&h[\da-f]+|&o[0-7]+)[ils]?|\d*\.\d+(?:e[+-]?\d+)?[dfr]?|#\s+(?:\d+[/-]\d+[/-]\d+(?:\s+\d+:\d+(?::\d+)?(\s*(?:am|pm))?)?|\d+:\d+(?::\d+)?(\s*(?:am|pm))?)\s+#)/i],["pln",/^(?:(?:[a-z]|_\w)\w*|\[(?:[a-z]|_\w)\w*])/i],["pun",/^[^\w\t\n\r "'[\]\xa0\u2018\u2019\u201c\u201d\u2028\u2029]+/],["pun",/^(?:\[|])/]]),["vb","vbs"]);
================================================
FILE: docs/js/prettify/lang-vhdl.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \xa0"]],[["str",/^(?:[box]?"(?:[^"]|"")*"|'.')/i],["com",/^--[^\n\r]*/],["kwd",/^(?:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)(?=[^\w-]|$)/i,
null],["typ",/^(?:bit|bit_vector|character|boolean|integer|real|time|string|severity_level|positive|natural|signed|unsigned|line|text|std_u?logic(?:_vector)?)(?=[^\w-]|$)/i,null],["typ",/^'(?:active|ascending|base|delayed|driving|driving_value|event|high|image|instance_name|last_active|last_event|last_value|left|leftof|length|low|path_name|pos|pred|quiet|range|reverse_range|right|rightof|simple_name|stable|succ|transaction|val|value)(?=[^\w-]|$)/i,null],["lit",/^\d+(?:_\d+)*(?:#[\w.\\]+#(?:[+-]?\d+(?:_\d+)*)?|(?:\.\d+(?:_\d+)*)?(?:e[+-]?\d+(?:_\d+)*)?)/i],
["pln",/^(?:[a-z]\w*|\\[^\\]*\\)/i],["pun",/^[^\w\t\n\r "'\xa0][^\w\t\n\r "'\xa0-]*/]]),["vhdl","vhd"]);
================================================
FILE: docs/js/prettify/lang-wiki.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\d\t a-gi-z\xa0]+/,null,"\t \xa0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[*=[\]^~]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^[A-Z][a-z][\da-z]+[A-Z][a-z][^\W_]+\b/],["lang-",/^{{{([\S\s]+?)}}}/],["lang-",/^`([^\n\r`]+)`/],["str",/^https?:\/\/[^\s#/?]*(?:\/[^\s#?]*)?(?:\?[^\s#]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\S\s])[^\n\r#*=A-[^`h{~]*/]]),["wiki"]);
PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"]);
================================================
FILE: docs/js/prettify/lang-xq.js
================================================
PR.registerLangHandler(PR.createSimpleLexer([["var pln",/^\$[\w-]+/,null,"$"]],[["pln",/^[\s=][<>][\s=]/],["lit",/^@[\w-]+/],["tag",/^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["com",/^\(:[\S\s]*?:\)/],["pln",/^[(),/;[\]{}]$/],["str",/^(?:"(?:[^"\\{]|\\[\S\s])*(?:"|$)|'(?:[^'\\{]|\\[\S\s])*(?:'|$))/,null,"\"'"],["kwd",/^(?:xquery|where|version|variable|union|typeswitch|treat|to|then|text|stable|sortby|some|self|schema|satisfies|returns|return|ref|processing-instruction|preceding-sibling|preceding|precedes|parent|only|of|node|namespace|module|let|item|intersect|instance|in|import|if|function|for|follows|following-sibling|following|external|except|every|else|element|descending|descendant-or-self|descendant|define|default|declare|comment|child|cast|case|before|attribute|assert|ascending|as|ancestor-or-self|ancestor|after|eq|order|by|or|and|schema-element|document-node|node|at)\b/],
["typ",/^(?:xs:yearMonthDuration|xs:unsignedLong|xs:time|xs:string|xs:short|xs:QName|xs:Name|xs:long|xs:integer|xs:int|xs:gYearMonth|xs:gYear|xs:gMonthDay|xs:gDay|xs:float|xs:duration|xs:double|xs:decimal|xs:dayTimeDuration|xs:dateTime|xs:date|xs:byte|xs:boolean|xs:anyURI|xf:yearMonthDuration)\b/,null],["fun pln",/^(?:xp:dereference|xinc:node-expand|xinc:link-references|xinc:link-expand|xhtml:restructure|xhtml:clean|xhtml:add-lists|xdmp:zip-manifest|xdmp:zip-get|xdmp:zip-create|xdmp:xquery-version|xdmp:word-convert|xdmp:with-namespaces|xdmp:version|xdmp:value|xdmp:user-roles|xdmp:user-last-login|xdmp:user|xdmp:url-encode|xdmp:url-decode|xdmp:uri-is-file|xdmp:uri-format|xdmp:uri-content-type|xdmp:unquote|xdmp:unpath|xdmp:triggers-database|xdmp:trace|xdmp:to-json|xdmp:tidy|xdmp:subbinary|xdmp:strftime|xdmp:spawn-in|xdmp:spawn|xdmp:sleep|xdmp:shutdown|xdmp:set-session-field|xdmp:set-response-encoding|xdmp:set-response-content-type|xdmp:set-response-code|xdmp:set-request-time-limit|xdmp:set|xdmp:servers|xdmp:server-status|xdmp:server-name|xdmp:server|xdmp:security-database|xdmp:security-assert|xdmp:schema-database|xdmp:save|xdmp:role-roles|xdmp:role|xdmp:rethrow|xdmp:restart|xdmp:request-timestamp|xdmp:request-status|xdmp:request-cancel|xdmp:request|xdmp:redirect-response|xdmp:random|xdmp:quote|xdmp:query-trace|xdmp:query-meters|xdmp:product-edition|xdmp:privilege-roles|xdmp:privilege|xdmp:pretty-print|xdmp:powerpoint-convert|xdmp:platform|xdmp:permission|xdmp:pdf-convert|xdmp:path|xdmp:octal-to-integer|xdmp:node-uri|xdmp:node-replace|xdmp:node-kind|xdmp:node-insert-child|xdmp:node-insert-before|xdmp:node-insert-after|xdmp:node-delete|xdmp:node-database|xdmp:mul64|xdmp:modules-root|xdmp:modules-database|xdmp:merging|xdmp:merge-cancel|xdmp:merge|xdmp:md5|xdmp:logout|xdmp:login|xdmp:log-level|xdmp:log|xdmp:lock-release|xdmp:lock-acquire|xdmp:load|xdmp:invoke-in|xdmp:invoke|xdmp:integer-to-octal|xdmp:integer-to-hex|xdmp:http-put|xdmp:http-post|xdmp:http-options|xdmp:http-head|xdmp:http-get|xdmp:http-delete|xdmp:hosts|xdmp:host-status|xdmp:host-name|xdmp:host|xdmp:hex-to-integer|xdmp:hash64|xdmp:hash32|xdmp:has-privilege|xdmp:groups|xdmp:group-serves|xdmp:group-servers|xdmp:group-name|xdmp:group-hosts|xdmp:group|xdmp:get-session-field-names|xdmp:get-session-field|xdmp:get-response-encoding|xdmp:get-response-code|xdmp:get-request-username|xdmp:get-request-user|xdmp:get-request-url|xdmp:get-request-protocol|xdmp:get-request-path|xdmp:get-request-method|xdmp:get-request-header-names|xdmp:get-request-header|xdmp:get-request-field-names|xdmp:get-request-field-filename|xdmp:get-request-field-content-type|xdmp:get-request-field|xdmp:get-request-client-certificate|xdmp:get-request-client-address|xdmp:get-request-body|xdmp:get-current-user|xdmp:get-current-roles|xdmp:get|xdmp:function-name|xdmp:function-module|xdmp:function|xdmp:from-json|xdmp:forests|xdmp:forest-status|xdmp:forest-restore|xdmp:forest-restart|xdmp:forest-name|xdmp:forest-delete|xdmp:forest-databases|xdmp:forest-counts|xdmp:forest-clear|xdmp:forest-backup|xdmp:forest|xdmp:filesystem-file|xdmp:filesystem-directory|xdmp:exists|xdmp:excel-convert|xdmp:eval-in|xdmp:eval|xdmp:estimate|xdmp:email|xdmp:element-content-type|xdmp:elapsed-time|xdmp:document-set-quality|xdmp:document-set-property|xdmp:document-set-properties|xdmp:document-set-permissions|xdmp:document-set-collections|xdmp:document-remove-properties|xdmp:document-remove-permissions|xdmp:document-remove-collections|xdmp:document-properties|xdmp:document-locks|xdmp:document-load|xdmp:document-insert|xdmp:document-get-quality|xdmp:document-get-properties|xdmp:document-get-permissions|xdmp:document-get-collections|xdmp:document-get|xdmp:document-forest|xdmp:document-delete|xdmp:document-add-properties|xdmp:document-add-permissions|xdmp:document-add-collections|xdmp:directory-properties|xdmp:directory-locks|xdmp:directory-delete|xdmp:directory-create|xdmp:directory|xdmp:diacritic-less|xdmp:describe|xdmp:default-permissions|xdmp:default-collections|xdmp:databases|xdmp:database-restore-validate|xdmp:database-restore-status|xdmp:database-restore-cancel|xdmp:database-restore|xdmp:database-name|xdmp:database-forests|xdmp:database-backup-validate|xdmp:database-backup-status|xdmp:database-backup-purge|xdmp:database-backup-cancel|xdmp:database-backup|xdmp:database|xdmp:collection-properties|xdmp:collection-locks|xdmp:collection-delete|xdmp:collation-canonical-uri|xdmp:castable-as|xdmp:can-grant-roles|xdmp:base64-encode|xdmp:base64-decode|xdmp:architecture|xdmp:apply|xdmp:amp-roles|xdmp:amp|xdmp:add64|xdmp:add-response-header|xdmp:access|trgr:trigger-set-recursive|trgr:trigger-set-permissions|trgr:trigger-set-name|trgr:trigger-set-module|trgr:trigger-set-event|trgr:trigger-set-description|trgr:trigger-remove-permissions|trgr:trigger-module|trgr:trigger-get-permissions|trgr:trigger-enable|trgr:trigger-disable|trgr:trigger-database-online-event|trgr:trigger-data-event|trgr:trigger-add-permissions|trgr:remove-trigger|trgr:property-content|trgr:pre-commit|trgr:post-commit|trgr:get-trigger-by-id|trgr:get-trigger|trgr:document-scope|trgr:document-content|trgr:directory-scope|trgr:create-trigger|trgr:collection-scope|trgr:any-property-content|thsr:set-entry|thsr:remove-term|thsr:remove-synonym|thsr:remove-entry|thsr:query-lookup|thsr:lookup|thsr:load|thsr:insert|thsr:expand|thsr:add-synonym|spell:suggest-detailed|spell:suggest|spell:remove-word|spell:make-dictionary|spell:load|spell:levenshtein-distance|spell:is-correct|spell:insert|spell:double-metaphone|spell:add-word|sec:users-collection|sec:user-set-roles|sec:user-set-password|sec:user-set-name|sec:user-set-description|sec:user-set-default-permissions|sec:user-set-default-collections|sec:user-remove-roles|sec:user-privileges|sec:user-get-roles|sec:user-get-description|sec:user-get-default-permissions|sec:user-get-default-collections|sec:user-doc-permissions|sec:user-doc-collections|sec:user-add-roles|sec:unprotect-collection|sec:uid-for-name|sec:set-realm|sec:security-version|sec:security-namespace|sec:security-installed|sec:security-collection|sec:roles-collection|sec:role-set-roles|sec:role-set-name|sec:role-set-description|sec:role-set-default-permissions|sec:role-set-default-collections|sec:role-remove-roles|sec:role-privileges|sec:role-get-roles|sec:role-get-description|sec:role-get-default-permissions|sec:role-get-default-collections|sec:role-doc-permissions|sec:role-doc-collections|sec:role-add-roles|sec:remove-user|sec:remove-role-from-users|sec:remove-role-from-role|sec:remove-role-from-privileges|sec:remove-role-from-amps|sec:remove-role|sec:remove-privilege|sec:remove-amp|sec:protect-collection|sec:privileges-collection|sec:privilege-set-roles|sec:privilege-set-name|sec:privilege-remove-roles|sec:privilege-get-roles|sec:privilege-add-roles|sec:priv-doc-permissions|sec:priv-doc-collections|sec:get-user-names|sec:get-unique-elem-id|sec:get-role-names|sec:get-role-ids|sec:get-privilege|sec:get-distinct-permissions|sec:get-collection|sec:get-amp|sec:create-user-with-role|sec:create-user|sec:create-role|sec:create-privilege|sec:create-amp|sec:collections-collection|sec:collection-set-permissions|sec:collection-remove-permissions|sec:collection-get-permissions|sec:collection-add-permissions|sec:check-admin|sec:amps-collection|sec:amp-set-roles|sec:amp-remove-roles|sec:amp-get-roles|sec:amp-doc-permissions|sec:amp-doc-collections|sec:amp-add-roles|search:unparse|search:suggest|search:snippet|search:search|search:resolve-nodes|search:resolve|search:remove-constraint|search:parse|search:get-default-options|search:estimate|search:check-options|prof:value|prof:reset|prof:report|prof:invoke|prof:eval|prof:enable|prof:disable|prof:allowed|ppt:clean|pki:template-set-request|pki:template-set-name|pki:template-set-key-type|pki:template-set-key-options|pki:template-set-description|pki:template-in-use|pki:template-get-version|pki:template-get-request|pki:template-get-name|pki:template-get-key-type|pki:template-get-key-options|pki:template-get-id|pki:template-get-description|pki:need-certificate|pki:is-temporary|pki:insert-trusted-certificates|pki:insert-template|pki:insert-signed-certificates|pki:insert-certificate-revocation-list|pki:get-trusted-certificate-ids|pki:get-template-ids|pki:get-template-certificate-authority|pki:get-template-by-name|pki:get-template|pki:get-pending-certificate-requests-xml|pki:get-pending-certificate-requests-pem|pki:get-pending-certificate-request|pki:get-certificates-for-template-xml|pki:get-certificates-for-template|pki:get-certificates|pki:get-certificate-xml|pki:get-certificate-pem|pki:get-certificate|pki:generate-temporary-certificate-if-necessary|pki:generate-temporary-certificate|pki:generate-template-certificate-authority|pki:generate-certificate-request|pki:delete-template|pki:delete-certificate|pki:create-template|pdf:make-toc|pdf:insert-toc-headers|pdf:get-toc|pdf:clean|p:status-transition|p:state-transition|p:remove|p:pipelines|p:insert|p:get-by-id|p:get|p:execute|p:create|p:condition|p:collection|p:action|ooxml:runs-merge|ooxml:package-uris|ooxml:package-parts-insert|ooxml:package-parts|msword:clean|mcgm:polygon|mcgm:point|mcgm:geospatial-query-from-elements|mcgm:geospatial-query|mcgm:circle|math:tanh|math:tan|math:sqrt|math:sinh|math:sin|math:pow|math:modf|math:log10|math:log|math:ldexp|math:frexp|math:fmod|math:floor|math:fabs|math:exp|math:cosh|math:cos|math:ceil|math:atan2|math:atan|math:asin|math:acos|map:put|map:map|map:keys|map:get|map:delete|map:count|map:clear|lnk:to|lnk:remove|lnk:insert|lnk:get|lnk:from|lnk:create|kml:polygon|kml:point|kml:interior-polygon|kml:geospatial-query-from-elements|kml:geospatial-query|kml:circle|kml:box|gml:polygon|gml:point|gml:interior-polygon|gml:geospatial-query-from-elements|gml:geospatial-query|gml:circle|gml:box|georss:point|georss:geospatial-query|georss:circle|geo:polygon|geo:point|geo:interior-polygon|geo:geospatial-query-from-elements|geo:geospatial-query|geo:circle|geo:box|fn:zero-or-one|fn:years-from-duration|fn:year-from-dateTime|fn:year-from-date|fn:upper-case|fn:unordered|fn:true|fn:translate|fn:trace|fn:tokenize|fn:timezone-from-time|fn:timezone-from-dateTime|fn:timezone-from-date|fn:sum|fn:subtract-dateTimes-yielding-yearMonthDuration|fn:subtract-dateTimes-yielding-dayTimeDuration|fn:substring-before|fn:substring-after|fn:substring|fn:subsequence|fn:string-to-codepoints|fn:string-pad|fn:string-length|fn:string-join|fn:string|fn:static-base-uri|fn:starts-with|fn:seconds-from-time|fn:seconds-from-duration|fn:seconds-from-dateTime|fn:round-half-to-even|fn:round|fn:root|fn:reverse|fn:resolve-uri|fn:resolve-QName|fn:replace|fn:remove|fn:QName|fn:prefix-from-QName|fn:position|fn:one-or-more|fn:number|fn:not|fn:normalize-unicode|fn:normalize-space|fn:node-name|fn:node-kind|fn:nilled|fn:namespace-uri-from-QName|fn:namespace-uri-for-prefix|fn:namespace-uri|fn:name|fn:months-from-duration|fn:month-from-dateTime|fn:month-from-date|fn:minutes-from-time|fn:minutes-from-duration|fn:minutes-from-dateTime|fn:min|fn:max|fn:matches|fn:lower-case|fn:local-name-from-QName|fn:local-name|fn:last|fn:lang|fn:iri-to-uri|fn:insert-before|fn:index-of|fn:in-scope-prefixes|fn:implicit-timezone|fn:idref|fn:id|fn:hours-from-time|fn:hours-from-duration|fn:hours-from-dateTime|fn:floor|fn:false|fn:expanded-QName|fn:exists|fn:exactly-one|fn:escape-uri|fn:escape-html-uri|fn:error|fn:ends-with|fn:encode-for-uri|fn:empty|fn:document-uri|fn:doc-available|fn:doc|fn:distinct-values|fn:distinct-nodes|fn:default-collation|fn:deep-equal|fn:days-from-duration|fn:day-from-dateTime|fn:day-from-date|fn:data|fn:current-time|fn:current-dateTime|fn:current-date|fn:count|fn:contains|fn:concat|fn:compare|fn:collection|fn:codepoints-to-string|fn:codepoint-equal|fn:ceiling|fn:boolean|fn:base-uri|fn:avg|fn:adjust-time-to-timezone|fn:adjust-dateTime-to-timezone|fn:adjust-date-to-timezone|fn:abs|feed:unsubscribe|feed:subscription|feed:subscribe|feed:request|feed:item|feed:description|excel:clean|entity:enrich|dom:set-pipelines|dom:set-permissions|dom:set-name|dom:set-evaluation-context|dom:set-domain-scope|dom:set-description|dom:remove-pipeline|dom:remove-permissions|dom:remove|dom:get|dom:evaluation-context|dom:domains|dom:domain-scope|dom:create|dom:configuration-set-restart-user|dom:configuration-set-permissions|dom:configuration-set-evaluation-context|dom:configuration-set-default-domain|dom:configuration-get|dom:configuration-create|dom:collection|dom:add-pipeline|dom:add-permissions|dls:retention-rules|dls:retention-rule-remove|dls:retention-rule-insert|dls:retention-rule|dls:purge|dls:node-expand|dls:link-references|dls:link-expand|dls:documents-query|dls:document-versions-query|dls:document-version-uri|dls:document-version-query|dls:document-version-delete|dls:document-version-as-of|dls:document-version|dls:document-update|dls:document-unmanage|dls:document-set-quality|dls:document-set-property|dls:document-set-properties|dls:document-set-permissions|dls:document-set-collections|dls:document-retention-rules|dls:document-remove-properties|dls:document-remove-permissions|dls:document-remove-collections|dls:document-purge|dls:document-manage|dls:document-is-managed|dls:document-insert-and-manage|dls:document-include-query|dls:document-history|dls:document-get-permissions|dls:document-extract-part|dls:document-delete|dls:document-checkout-status|dls:document-checkout|dls:document-checkin|dls:document-add-properties|dls:document-add-permissions|dls:document-add-collections|dls:break-checkout|dls:author-query|dls:as-of-query|dbk:convert|dbg:wait|dbg:value|dbg:stopped|dbg:stop|dbg:step|dbg:status|dbg:stack|dbg:out|dbg:next|dbg:line|dbg:invoke|dbg:function|dbg:finish|dbg:expr|dbg:eval|dbg:disconnect|dbg:detach|dbg:continue|dbg:connect|dbg:clear|dbg:breakpoints|dbg:break|dbg:attached|dbg:attach|cvt:save-converted-documents|cvt:part-uri|cvt:destination-uri|cvt:basepath|cvt:basename|cts:words|cts:word-query-weight|cts:word-query-text|cts:word-query-options|cts:word-query|cts:word-match|cts:walk|cts:uris|cts:uri-match|cts:train|cts:tokenize|cts:thresholds|cts:stem|cts:similar-query-weight|cts:similar-query-nodes|cts:similar-query|cts:shortest-distance|cts:search|cts:score|cts:reverse-query-weight|cts:reverse-query-nodes|cts:reverse-query|cts:remainder|cts:registered-query-weight|cts:registered-query-options|cts:registered-query-ids|cts:registered-query|cts:register|cts:query|cts:quality|cts:properties-query-query|cts:properties-query|cts:polygon-vertices|cts:polygon|cts:point-longitude|cts:point-latitude|cts:point|cts:or-query-queries|cts:or-query|cts:not-query-weight|cts:not-query-query|cts:not-query|cts:near-query-weight|cts:near-query-queries|cts:near-query-options|cts:near-query-distance|cts:near-query|cts:highlight|cts:geospatial-co-occurrences|cts:frequency|cts:fitness|cts:field-words|cts:field-word-query-weight|cts:field-word-query-text|cts:field-word-query-options|cts:field-word-query-field-name|cts:field-word-query|cts:field-word-match|cts:entity-highlight|cts:element-words|cts:element-word-query-weight|cts:element-word-query-text|cts:element-word-query-options|cts:element-word-query-element-name|cts:element-word-query|cts:element-word-match|cts:element-values|cts:element-value-ranges|cts:element-value-query-weight|cts:element-value-query-text|cts:element-value-query-options|cts:element-value-query-element-name|cts:element-value-query|cts:element-value-match|cts:element-value-geospatial-co-occurrences|cts:element-value-co-occurrences|cts:element-range-query-weight|cts:element-range-query-value|cts:element-range-query-options|cts:element-range-query-operator|cts:element-range-query-element-name|cts:element-range-query|cts:element-query-query|cts:element-query-element-name|cts:element-query|cts:element-pair-geospatial-values|cts:element-pair-geospatial-value-match|cts:element-pair-geospatial-query-weight|cts:element-pair-geospatial-query-region|cts:element-pair-geospatial-query-options|cts:element-pair-geospatial-query-longitude-name|cts:element-pair-geospatial-query-latitude-name|cts:element-pair-geospatial-query-element-name|cts:element-pair-geospatial-query|cts:element-pair-geospatial-boxes|cts:element-geospatial-values|cts:element-geospatial-value-match|cts:element-geospatial-query-weight|cts:element-geospatial-query-region|cts:element-geospatial-query-options|cts:element-geospatial-query-element-name|cts:element-geospatial-query|cts:element-geospatial-boxes|cts:element-child-geospatial-values|cts:element-child-geospatial-value-match|cts:element-child-geospatial-query-weight|cts:element-child-geospatial-query-region|cts:element-child-geospatial-query-options|cts:element-child-geospatial-query-element-name|cts:element-child-geospatial-query-child-name|cts:element-child-geospatial-query|cts:element-child-geospatial-boxes|cts:element-attribute-words|cts:element-attribute-word-query-weight|cts:element-attribute-word-query-text|cts:element-attribute-word-query-options|cts:element-attribute-word-query-element-name|cts:element-attribute-word-query-attribute-name|cts:element-attribute-word-query|cts:element-attribute-word-match|cts:element-attribute-values|cts:element-attribute-value-ranges|cts:element-attribute-value-query-weight|cts:element-attribute-value-query-text|cts:element-attribute-value-query-options|cts:element-attribute-value-query-element-name|cts:element-attribute-value-query-attribute-name|cts:element-attribute-value-query|cts:element-attribute-value-match|cts:element-attribute-value-geospatial-co-occurrences|cts:element-attribute-value-co-occurrences|cts:element-attribute-range-query-weight|cts:element-attribute-range-query-value|cts:element-attribute-range-query-options|cts:element-attribute-range-query-operator|cts:element-attribute-range-query-element-name|cts:element-attribute-range-query-attribute-name|cts:element-attribute-range-query|cts:element-attribute-pair-geospatial-values|cts:element-attribute-pair-geospatial-value-match|cts:element-attribute-pair-geospatial-query-weight|cts:element-attribute-pair-geospatial-query-region|cts:element-attribute-pair-geospatial-query-options|cts:element-attribute-pair-geospatial-query-longitude-name|cts:element-attribute-pair-geospatial-query-latitude-name|cts:element-attribute-pair-geospatial-query-element-name|cts:element-attribute-pair-geospatial-query|cts:element-attribute-pair-geospatial-boxes|cts:document-query-uris|cts:document-query|cts:distance|cts:directory-query-uris|cts:directory-query-depth|cts:directory-query|cts:destination|cts:deregister|cts:contains|cts:confidence|cts:collections|cts:collection-query-uris|cts:collection-query|cts:collection-match|cts:classify|cts:circle-radius|cts:circle-center|cts:circle|cts:box-west|cts:box-south|cts:box-north|cts:box-east|cts:box|cts:bearing|cts:arc-intersection|cts:and-query-queries|cts:and-query-options|cts:and-query|cts:and-not-query-positive-query|cts:and-not-query-negative-query|cts:and-not-query|css:get|css:convert|cpf:success|cpf:failure|cpf:document-set-state|cpf:document-set-processing-status|cpf:document-set-last-updated|cpf:document-set-error|cpf:document-get-state|cpf:document-get-processing-status|cpf:document-get-last-updated|cpf:document-get-error|cpf:check-transition|alert:spawn-matching-actions|alert:rule-user-id-query|alert:rule-set-user-id|alert:rule-set-query|alert:rule-set-options|alert:rule-set-name|alert:rule-set-description|alert:rule-set-action|alert:rule-remove|alert:rule-name-query|alert:rule-insert|alert:rule-id-query|alert:rule-get-user-id|alert:rule-get-query|alert:rule-get-options|alert:rule-get-name|alert:rule-get-id|alert:rule-get-description|alert:rule-get-action|alert:rule-action-query|alert:remove-triggers|alert:make-rule|alert:make-log-action|alert:make-config|alert:make-action|alert:invoke-matching-actions|alert:get-my-rules|alert:get-all-rules|alert:get-actions|alert:find-matching-rules|alert:create-triggers|alert:config-set-uri|alert:config-set-trigger-ids|alert:config-set-options|alert:config-set-name|alert:config-set-description|alert:config-set-cpf-domain-names|alert:config-set-cpf-domain-ids|alert:config-insert|alert:config-get-uri|alert:config-get-trigger-ids|alert:config-get-options|alert:config-get-name|alert:config-get-id|alert:config-get-description|alert:config-get-cpf-domain-names|alert:config-get-cpf-domain-ids|alert:config-get|alert:config-delete|alert:action-set-options|alert:action-set-name|alert:action-set-module-root|alert:action-set-module-db|alert:action-set-module|alert:action-set-description|alert:action-remove|alert:action-insert|alert:action-get-options|alert:action-get-name|alert:action-get-module-root|alert:action-get-module-db|alert:action-get-module|alert:action-get-description|zero-or-one|years-from-duration|year-from-dateTime|year-from-date|upper-case|unordered|true|translate|trace|tokenize|timezone-from-time|timezone-from-dateTime|timezone-from-date|sum|subtract-dateTimes-yielding-yearMonthDuration|subtract-dateTimes-yielding-dayTimeDuration|substring-before|substring-after|substring|subsequence|string-to-codepoints|string-pad|string-length|string-join|string|static-base-uri|starts-with|seconds-from-time|seconds-from-duration|seconds-from-dateTime|round-half-to-even|round|root|reverse|resolve-uri|resolve-QName|replace|remove|QName|prefix-from-QName|position|one-or-more|number|not|normalize-unicode|normalize-space|node-name|node-kind|nilled|namespace-uri-from-QName|namespace-uri-for-prefix|namespace-uri|name|months-from-duration|month-from-dateTime|month-from-date|minutes-from-time|minutes-from-duration|minutes-from-dateTime|min|max|matches|lower-case|local-name-from-QName|local-name|last|lang|iri-to-uri|insert-before|index-of|in-scope-prefixes|implicit-timezone|idref|id|hours-from-time|hours-from-duration|hours-from-dateTime|floor|false|expanded-QName|exists|exactly-one|escape-uri|escape-html-uri|error|ends-with|encode-for-uri|empty|document-uri|doc-available|doc|distinct-values|distinct-nodes|default-collation|deep-equal|days-from-duration|day-from-dateTime|day-from-date|data|current-time|current-dateTime|current-date|count|contains|concat|compare|collection|codepoints-to-string|codepoint-equal|ceiling|boolean|base-uri|avg|adjust-time-to-timezone|adjust-dateTime-to-timezone|adjust-date-to-timezone|abs)\b/],
["pln",/^[\w:-]+/],["pln",/^[\t\n\r \xa0]+/]]),["xq","xquery"]);
================================================
FILE: docs/js/prettify/lang-yaml.js
================================================
var a=null;
PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]);
================================================
FILE: docs/js/sidebar.js
================================================
jQuery.expr[':'].Contains = function(a, i, m) {
return jQuery(a).text().toUpperCase().indexOf(m[3].toUpperCase()) >= 0;
};
$(function() {
$("#sidebar-nav").accordion({
autoHeight: false,
navigation: true,
collapsible: true
}).accordion("activate", false)
.find('a.link').unbind('click').click(
function(ev) {
ev.cancelBubble = true; // IE
if (ev.stopPropagation) {
ev.stopPropagation(); // the rest
}
return true;
}).prev().prev().remove();
$("#sidebar-nav>h3").click(function() {
if ($(this).attr('initialized') == 'true') return;
$(this).next().find(".sidebar-nav-tree").treeview({
collapsed: true,
persist: "cookie"
});
$(this).attr('initialized', true);
});
});
function tree_search(input) {
treeview = $(input).parent().parent().next();
// Expand all items
treeview.find('.expandable-hitarea').click();
// make all items visible again
treeview.find('li:hidden').show();
// hide all items that do not match the given search criteria
if ($(input).val()) {
treeview.find('li').not(':has(a:Contains(' + $(input).val() + '))').hide();
}
}
================================================
FILE: docs/js/template.js
================================================
$.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase());
$.browser.ipad = /ipad/.test(navigator.userAgent.toLowerCase());
/**
* Initializes page contents for progressive enhancement.
*/
function initializeContents()
{
// hide all more buttons because they are not needed with JS
$(".element a.more").hide();
$(".clickable.class,.clickable.interface,.clickable.trait").click(function() {
document.location = $("a.more", this).attr('href');
});
// change the cursor to a pointer to make it more explicit that this it clickable
// do a background color change on hover to emphasize the clickability eveb more
// we do not use CSS for this because when JS is disabled this behaviour does not
// apply and we do not want the hover
$(".element.method,.element.function,.element.class.clickable,.element.interface.clickable,.element.trait.clickable,.element.property.clickable")
.css("cursor", "pointer")
.hover(function() {
$(this).css('backgroundColor', '#F8FDF6')
}, function(){
$(this).css('backgroundColor', 'white')}
);
$("ul.side-nav.nav.nav-list li.nav-header").contents()
.filter(function(){return this.nodeType == 3 && $.trim($(this).text()).length > 0})
.wrap('');
$("ul.side-nav.nav.nav-list li.nav-header span.side-nav-header")
.css("cursor", "pointer");
// do not show tooltips on iPad; it will cause the user having to click twice
if (!$.browser.ipad) {
$('.btn-group.visibility,.btn-group.view,.btn-group.type-filter,.icon-custom')
.tooltip({'placement':'bottom'});
$('.element').tooltip({'placement':'left'});
}
$('.btn-group.visibility,.btn-group.view,.btn-group.type-filter')
.show()
.css('display', 'inline-block')
.find('button')
.find('i').click(function(){ $(this).parent().click(); });
// set the events for the visibility buttons and enable by default.
$('.visibility button.public').click(function(){
$('.element.public,.side-nav li.public').toggle($(this).hasClass('active'));
}).click();
$('.visibility button.protected').click(function(){
$('.element.protected,.side-nav li.protected').toggle($(this).hasClass('active'));
}).click();
$('.visibility button.private').click(function(){
$('.element.private,.side-nav li.private').toggle($(this).hasClass('active'));
}).click();
$('.visibility button.inherited').click(function(){
$('.element.inherited,.side-nav li.inherited').toggle($(this).hasClass('active'));
}).click();
$('.type-filter button.critical').click(function(){
$('tr.critical').toggle($(this).hasClass('active'));
});
$('.type-filter button.error').click(function(){
$('tr.error').toggle($(this).hasClass('active'));
});
$('.type-filter button.notice').click(function(){
$('tr.notice').toggle($(this).hasClass('active'));
});
$('.view button.details').click(function(){
$('.side-nav li.view-simple').removeClass('view-simple');
}).button('toggle').click();
$('.view button.simple').click(function(){
$('.side-nav li').addClass('view-simple');
});
$('ul.side-nav.nav.nav-list li.nav-header span.side-nav-header').click(function(){
$(this).siblings('ul').collapse('toggle');
});
// sorting example
// $('ol li').sort(
// function(a, b) { return a.innerHTML.toLowerCase() > b.innerHTML.toLowerCase() ? 1 : -1; }
// ).appendTo('ol');
}
$(document).ready(function() {
prettyPrint();
initializeContents();
// do not show tooltips on iPad; it will cause the user having to click twice
if(!$.browser.ipad) {
$(".side-nav a").tooltip({'placement': 'top'});
}
// chrome cannot deal with certain situations; warn the user about reduced features
if ($.browser.chrome && (window.location.protocol == 'file:')) {
$("body > .container").prepend(
'
×' +
'You are using Google Chrome in a local environment; AJAX interaction has been ' +
'disabled because Chrome cannot ' +
'retrieve files using Ajax.
'
);
}
$('ul.nav-namespaces li a, ul.nav-packages li a').click(function(){
// Google Chrome does not do Ajax locally
if ($.browser.chrome && (window.location.protocol == 'file:'))
{
return true;
}
$(this).parents('.side-nav').find('.active').removeClass('active');
$(this).parent().addClass('active');
$('div.namespace-contents').load(
this.href + ' div.namespace-contents', function(){
initializeContents();
$(window).scrollTop($('div.namespace-contents').position().top);
}
);
$('div.package-contents').load(
this.href + ' div.package-contents', function(){
initializeContents();
$(window).scrollTop($('div.package-contents').position().top);
}
);
return false;
});
function filterPath(string)
{
return string
.replace(/^\//, '')
.replace(/(index|default).[a-zA-Z]{3,4}$/, '')
.replace(/\/$/, '');
}
var locationPath = filterPath(location.pathname);
// the ipad already smoothly scrolls and does not detect the scrollable
// element if top=0; as such we disable this behaviour for the iPad
if (!$.browser.ipad) {
$('a[href*=#]').each(function ()
{
var thisPath = filterPath(this.pathname) || locationPath;
if (locationPath == thisPath && (location.hostname == this.hostname || !this.hostname) && this.hash.replace(/#/, ''))
{
var target = decodeURIComponent(this.hash.replace(/#/,''));
// note: I'm using attribute selector, because id selector can't match elements with '$'
var $target = $('[id="'+target+'"]');
if ($target.length > 0)
{
$(this).click(function (event)
{
var scrollElem = scrollableElement('html', 'body');
var targetOffset = $target.offset().top;
event.preventDefault();
$(scrollElem).animate({scrollTop:targetOffset}, 400, function ()
{
location.hash = target;
});
});
}
}
});
}
// use the first element that is "scrollable"
function scrollableElement(els)
{
for (var i = 0, argLength = arguments.length; i < argLength; i++)
{
var el = arguments[i], $scrollElement = $(el);
if ($scrollElement.scrollTop() > 0)
{
return el;
}
else
{
$scrollElement.scrollTop(1);
var isScrollable = $scrollElement.scrollTop() > 0;
$scrollElement.scrollTop(0);
if (isScrollable)
{
return el;
}
}
}
return [];
}
// Hide API Documentation menu if it's empty
$('.nav .dropdown a[href=#api]').next().filter(function(el) {
if ($(el).children().length == 0) {
return true;
}
}).parent().hide();
});
================================================
FILE: docs/markers.html
================================================
API Documentation
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
Facade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.
================================================
FILE: docs/packages/global.html
================================================
API Documentation » global
================================================
FILE: docs/structure.xml
================================================
\Illuminate\Routing\UrlGenerator\Bootstrapper\RenderedObjectNavigation\Bootstrapper\NavigationCreates Bootstrap 3 compliant navigationNAVIGATION_PILLS\Bootstrapper\Navigation::NAVIGATION_PILLS'nav-pills'Constant for navigation pillsNAVIGATION_TABS\Bootstrapper\Navigation::NAVIGATION_TABS'nav-tabs'Constant for navigation tabsNAVIGATION_NAVBAR\Bootstrapper\Navigation::NAVIGATION_NAVBAR'navbar-nav'Constant for navigation elements in the navbarNAVIGATION_DIVIDER\Bootstrapper\Navigation::NAVIGATION_DIVIDER'divider'Constant for navigation dividers$attributes\Bootstrapper\Navigation::attributesarray()array$type\Bootstrapper\Navigation::type'nav-tabs'string$links\Bootstrapper\Navigation::linksarray()array$url\Bootstrapper\Navigation::url\Illuminate\Routing\UrlGenerator$autoroute\Bootstrapper\Navigation::autoroutetrueboolean$justified\Bootstrapper\Navigation::justifiedfalseboolean$stacked\Bootstrapper\Navigation::stackedfalseboolean__construct\Bootstrapper\Navigation::__construct()Creates a new instance of Navigation\Illuminate\Routing\UrlGenerator$urlGenerator\Illuminate\Routing\UrlGeneratorrender\Bootstrapper\Navigation::render()Renders the navigation objectstringwithAttributes\Bootstrapper\Navigation::withAttributes()Set the attributes of the navigation objectarray\Bootstrapper\Navigation$attributesarraypills\Bootstrapper\Navigation::pills()Creates a pills navigation blockarrayarray\Bootstrapper\Navigation$linksarray()array$attributesnullarraylinks\Bootstrapper\Navigation::links()Sets the links of the navigation objectarray\Bootstrapper\Navigation$linksarraytabs\Bootstrapper\Navigation::tabs()Creates a navigation tab object.arrayarray\Bootstrapper\Navigation$linksarray()array$attributesnullarrayrenderLink\Bootstrapper\Navigation::renderLink()Renders a linkarraystring$linkarrayautoroute\Bootstrapper\Navigation::autoroute()Sets the autorouting. Pass false to turn it off, true to turn it onboolean\Bootstrapper\Navigation$autoroutebooleanrenderDropdown\Bootstrapper\Navigation::renderDropdown()Renders the dropdownarraystring$linkarraydropdownShouldBeActive\Bootstrapper\Navigation::dropdownShouldBeActive()Checks to see if the dropdown should be activearrayboolean$dropdownarrayshouldActivate\Bootstrapper\Navigation::shouldActivate()checks whether an item should be activated or not.If the item is not to be activated via URL::current(), it checks
if the item is a dropdown and returns true if any of the children
of items have target === URL::current()arrayboolean$itemarrayitemShouldBeActive\Bootstrapper\Navigation::itemShouldBeActive()Checks to see if the given item should be activemixedboolean$linkmixednavbar\Bootstrapper\Navigation::navbar()Turns the navigation object into one for navbars\Bootstrapper\Navigationjustified\Bootstrapper\Navigation::justified()Makes the navigation links justified\Bootstrapper\Navigationstacked\Bootstrapper\Navigation::stacked()Makes the navigation stacked\Bootstrapper\NavigationrenderSeparator\Bootstrapper\Navigation::renderSeparator()Renders a separatorstringstring$separatorstring__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJzVGtty6rb2na9QczI12RNIz5w3CHSzL2dPZtK0k51eziSZPcKIoEZY1JKhmZR/71qSbMvGMiFtH44fCFhL636Vcv7tarHqdBK6ZGpFY0beSamVTulqxdJhp5MpRi6EyJY8oZrdXctM8+Th7sdUfGIJS6mWCHX25k2HvCHvUwZAqsRB/kNiuVwJThNNErrmD1RzmQAsgr8Fgo/0oUoTFs46saBKkatiA2G/a5bMFLmGT5ay2ffTX1msO8+dDoHHkMcHWJCJ0khtLlOPIllxIZQDOjN/Y4QkV5OfLj5Nbi6+v/ryw8Xl5WcyIhFs6xn4aPhi/JpO96C/mbwrsCP0AciZYEuWaEU4EFowXJrStJ0cfH03uXYEAboHfw4gOeNrDpreI9OHi58uPnw0VNyGBhJv1zQlNE3pE7kB5qnWKZ9m6CdynotTk7RCdZVKDcZmM3Ls7R2R2/sALXAl8FFDTD+tWAgZru0xSI11wZNH1ScXmqiFzMSMTEGcxAGAMOaLIhuuF0YwniQsN5ODWoCswBuuzqUQcoO/HtmTGuRw55kYF98FH2uuBSM9Kw7EAdESyW/Oz2DRB0TuHBx+3VmnseZrxNSVK1Q2FSfkvzKNQZna7UHcKJOB3EEw44pOBajuBShy2D65AoXDKtWFIiwfC6rAGlymXIPy1iwFIK4apZqUZu/VfQj9VodEjqkQU0gysG1C8h9gwDnhmqRMZylYD76oTGjDI+GKfPxl8v7m8n85HvZbRgVKNadCoSQsKYXdyCTSKC9aJKnSP/MMeSNJbJIjkJulcjUD6NPSR5xzOK/iEGWMGu+6PTbmPyXHxvfuT3OEmwWkQfcWmW5wQ9SMWQ8FgN3cEkh+lgcFCprSNRPkx+tL8pC/DyHPUhHAOpVSkJ8XDKRPyYblUtNMyyVkATTTk3US1FerBLgnhZKEcazTjL2EYm470Blo8NdMaT7ngAzznwxmnhJuZB3hpaS85FZShZQbP+6lmUMFKeb1lpKEbYzb0ARKOLjAlVdrDWzB5AqMuKxaFm31qdme2VTwmMyzJDYSfPliSkCaxbobRnFi9j5bTPAcY2D3xgAColQghwZmuyOYLfOqrkBpq35NIhfHNuu3sp8atN0d/iplBVVZJpxuAeVJUsKfVpZvI9O4RGQ0JkfAN3l2G7DUbI/uC+ATZ0t8+Jx0HVjhZCcedzUOgfps9h7JdE3lKvZEJ8Niz7YRvfOnA5C7HQHUx67QjsgRFC0QtkS0HR95IkImYjReFIy4QFA2BdX5QY6/4uqLSWNdC1KH8cn3R7ldrH0/M/Rx8C63d1jZuYUeQzGkwZVi2sLcRvgZ3R9E5xK2tJA4ANMHVxGasbWpvo+6x0Ljq9sFhIMJxdhnpk18tfZjzRFnc4itN37wVEtzPUCNyK3xiY2TF3o7BAKJpRK+HniDSnBDSCFlNjXNv6+GqZDxY6sWrEubp+gUD9RXn3yQ8BIKgmmHNtAYmXYjRxN8Vilbc5kpsqYiAwzg3IgEvLvgQLHqlHXnCoQRbzA4rvL7YoMZRXUrKsB24rRBVkismRABC7pWXDExHwzqI1ktV37l4tZzi5aMRka7XtKYzHyZXYay4ahOeuOaY/q0W8JLeb3Gq0LLbt31pwb7hE28a+BmW1qRfcoBY+V2tkCvDrLq8OzU0T84yNy8sYKaxbB1PjDogobpk5/BuffGXhmpWSKYUnnk9Q8PJpxB/8FYwvOH4f9jJOXNIDUG3+sgOKiUc2jqDoxe0i0WnXetYTSF3qOwo/iiD4qiWrKq9Bj5ANrQZxwXk6qLKx/aw5njLeC7J2Q0cgNCU/PS1AuUNmuwntcvglcvP5vh7B2bmKE90I153UgEYzcxXfDoLrKT/l00jjxHae6/8vMC0A35+mvS8PZlJPMdTUTbUVTgvU6rdgAxIjt9Y7mKfH5bJdIMRgbVweF+2EKwdSKpQtfnkUXK5mYcqbS5zYNIpaek0M5XUW/Hzw6JOZKI7rfnZ3Rsjjxe1Xza6phP8ADbJz/gqa87ZpHE4OHQDM3np2a6r7wMDLZm/vbOBfxR3KPlHeDJpJ4b9qfqAn+3JBVqTr0jihL4wKrpz8P58dH+RHjjHcnZTPZXsmAxpLRkQi955GwelEDqwexwkHAiOQxRDUPQ9+2+YltPy4cHcHkyg47Z/ShXI4JRNor+FeUR8s39lpyrFU1yRDEFhUcQLPhyjHFzNGyiHeEcXWe6t2RJdheRVALVu8j+GkeN87Uh/+97M1tj+q4r+uyMvNVyJslHlnLxRBRfckFTE1ngLfGCQQlytwzW7GQJASRnocxZzumWXDX7eXHgz8wWdNAO6o3xBn6f3SIzB0cBvZ7ZBH9gmnqP+jAtJnbXfF4JQP8SwPhna0QWu258FGaxHpWYw/bFZCC8asRa4rPMWzUXKZ0px9LmUDWsTS2D2da0z7ODPbytL247zb+2dTO689FmI8bWiBtXCSjWD7asW4/q4jy26N0vrMENOLetvXdBYnasOcXz8MEgzlLwW909OcXyZGnmeHgVD/Xsn8ycDMqWOAClyVM+lcQLLmaANkck5waJwmskKIc0fWDa9H9VFlod0XKBH0HnYzQJ+J/CEwOvEFolTpw6nK1rTlfknGtmJiWYrEAyihcnkOiyJcNLACMQjWMcoVwywmuGOY3pjFX8964qK4hvZbqNslTsNoqNDrZt7NItFqNgxIO2qaa3cjEcNBU4GzahmLHKHAx2lGh7emT5bw6bg+KmMfk9QEg3B1Ag/S357/ldkzeZ2UKThyTXIWQH5cTgvNKQBcGwNvUHOpJdBVV1aVo5byQuujwcXor7jt646qd+E+4VqiVN8I6xNlpYRVQHovzdsG5Jy88ff+TIQka9samm6cQD6j6gkAnL/xdgSov7/8NbZLt/966l/ZDC/tfCgd3xd/SR7chkT1CK25FXy1FgCIni3wx6d5B/iXl37/Jqpt3+EMvlxeIrGC6PY1TeoTVHvmu/jutgr5o+vG6wwFeXzqE9Kjv/6LmE3kbFsGoF23b+BKGjmeU=\Bootstrapper\RenderedObjectBreadcrumb\Bootstrapper\BreadcrumbCreates Bootstrap 3 compliant Breadcrumbs$links\Bootstrapper\Breadcrumb::linksarray()arrayrender\Bootstrapper\Breadcrumb::render()Renders the breadcrumbstringwithLinks\Bootstrapper\Breadcrumb::withLinks()Set the links for the breadcrumbs. Expects an array of the following:
<ul>
<li>An array, with keys <code>link</code> and <code>text</code></li>
<li>A string for the active link
</ul>\Bootstrapper\Breadcrumb$linksrenderLink\Bootstrapper\Breadcrumb::renderLink()Renders the linkstring$text$link__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJyNU0uPmzAQvvMrRlEkSLQNh966QNuteqtUqe2tqlYOmMWNg5Ft9qGI/97xI+CQbLY+8PDMfPPNzDfZx67poqgle6o6UlK4E0IrLUnXUXkbRel6HcEavkhKNFWTFd5DKfYdZ6TVcIfWqpT9fqvQ2fh/QqwdeTiFQ0MalZwoFUQAfda0rRT8wCeVtPq+/UtLHR0iwGPTm4OQj0QCkZK8wK+GAmftToGoQePPdoTz3ql9d1JoxKIVLJ17Dr//YFEzZJdZXUYa00uqe9kCFsPah9M0/ZazEuq+LTUTLUiLl6ys0dVhztKFIolFJjjYRuTxlDAuFrejcy3wvmwgWeqGqXeF408ULDU2DPLClbQK8MMcmxx8oCPzDX0TG3rjA6dUwxnDjaGYCm4IjUZfv/dx4cNZL39Sbfvo+GIVs66qDXx97nAoWEzrx+mHWAvOxRNifziCZT0vxm/Ois8+4gaemG5gR18UZKWoqG1PltpPxK38ranX32Ypxp9g+UmOHAkO79ERH/3SicCog45Isj8KytKZS8R2/qpCDH0zEpW4Dji0o2CmeYSzz73XhZEYt9cGEoo7qG1ejmnVpRL/R/7jls024Fx0r29EIH1WQ8LUvbO5+NUVnS/MNIPwMzOBRtI6jw+WwxAXB4s5ZCkJ4wagXNHreY5L67QSX0lrc729Y476Gzs2RP8AhzyRaA==\Bootstrapper\Facades\BootstrapperFacadePanel\Bootstrapper\Facades\PanelFacade for the Panel classPRIMARY\Bootstrapper\Facades\Panel::PRIMARY'panel-primary'SUCCESS\Bootstrapper\Facades\Panel::SUCCESS'panel-success'INFO\Bootstrapper\Facades\Panel::INFO'panel-info'WARNING\Bootstrapper\Facades\Panel::WARNING'panel-warning'DANGER\Bootstrapper\Facades\Panel::DANGER'panel-danger'NORMAL\Bootstrapper\Facades\Panel::NORMAL'panel-default'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Panel::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxt0FFLwzAQAOD3/Ip7mxakP2CKq3MbA9eNFhHBlyO9tsEtCckVldH/btZWuoL3Erj77rjc/aOtrRAaT+QtSoInY9izQ2vJfaxRYkF+LkQcRQIi6BNQGgdcExxQ0xHkEb0P1QtYhCGfWP0/J4BYdHropG8mXfgJ7q04CwEhpNGe4ZBtd0n2Dg8ws5fGO+vUCd3PbH6F8tflcpXnI/KNlOT9BG3T9X4USpdmUn5LsnSbbkbxhU4rXU3Qc5JuVtloCtQVuQlJ99kuebkiVGJz5GA61F3zEhGcF0rX5BQXRrZD8q+2cMSN0xBOE3YYsnH3WmeYJFMRishKQtloycpoqIj7Eybd7427ue06zn1/iGFqv9qwditEK34BSdmdvw==\ExceptionThumbnailException\Bootstrapper\Exceptions\ThumbnailExceptionException used by the Thumbnail classimageNotSpecified\Bootstrapper\Exceptions\ThumbnailException::imageNotSpecified()Use if the image has not been set on the Thumbnail\Bootstrapper\Exceptions\ThumbnailExceptionNo summary was found for this fileeJx1jz1uwzAMhXedgsiSxIsPkAANCnTt0nYo4EWW6VioLQkmhSQIcvdKrGs3KMKF+nnv4+P+KXRBKacHpKANwrP3TDzqEHCsXs4GA1vvaKdUWRQKCpjfIBI2UF+AO4T3Lg6107YH02uiJMzaQ0J+6eNDqmgIEXLdaWZekpRKmMuMJQKeGV1DsDDVValMk7S5CvggBNtKTDvkNJ0mcJ6hRnRAyJBId0tMzl/AYUSOo4PqwRrV/2STtZQeYt1bA8SaU2ujMxJewrx6fgtobGux2WxFfv0xp5rmOjxN5s38lWv96SMMkRhIEJc/O0ay7ij3lTysYEDufLOeCdudHG/q9g2gn6Tc\Exception\ExceptionImageException\Bootstrapper\Exceptions\ImageExceptionExceptions for the Image classNo summary was found for this fileeJx1jkEKwkAMRfc5Rdaz6QEUFMGFd3ATxq8V7UyYRCgU7+50hBYEl/n//Ue2O+2VKMkAU4ngQ85uXkQV5XwcI9TvOdmG6GXgJah3FwJxWCPjay7sPfg0yA0cn2JWiRnaV/djDv/oG2P46ZunVh0119e7jBijI11s/YAmojd/ANaESD0=\Bootstrapper\RenderedObjectCarousel\Bootstrapper\CarouselCreates Bootstrap 3 compliant carousels$name\Bootstrapper\Carousel::namestring$contents\Bootstrapper\Carousel::contentsarray()array$attributes\Bootstrapper\Carousel::attributesarray()array$active\Bootstrapper\Carousel::active0integernamed\Bootstrapper\Carousel::named()Names the carouselstring\Bootstrapper\Carousel$namestringwithAttributes\Bootstrapper\Carousel::withAttributes()Sets the attributes of the carouselarray\Bootstrapper\Carousel$attributesarraywithContents\Bootstrapper\Carousel::withContents()Sets the contents of the carouselarray\Bootstrapper\Carousel$contentsarrayrender\Bootstrapper\Carousel::render()Renders the carouselstringrenderIndicators\Bootstrapper\Carousel::renderIndicators()Renders the indicatorsstringrenderItems\Bootstrapper\Carousel::renderItems()Renders the items of the carouselstringrenderControls\Bootstrapper\Carousel::renderControls()Renders the controls of the carouselstring__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJy1V0tv4zYQvutXTFUDkpN4s0BvsaXuNpfupQW6BXoIcqAl2mKXFgWSdhoY/u8dUi/q4edidbBe33wznPlmKC9+LbLC83KyoaogCYXfhNBKS1IUVM497/HuzoM7eJaUaKrat/ALJGJTcEZyDQmRYqsoVwg16E/I9I2su2T44tFLOFEKnis80P80zVMFf+EvlTT9c/kvTbS39zzAw/o2BzLuiARkYvka/s4omHhBrEDjde29wj7acyGFRiqawsRg5+OMRErybgkTkWMoWvVJP8DXTGx5CksKJK8MEGMv1EPN9sZ0Zu1YntOKV0FGdiZg83wlOBdv5u4bfVdPtd0i5fEi1THbYLoWj3i1SNP4MxTE8ImSsnqXxmCghOsGaCLH+5pNYz7RkxwzS0ihmcghFPZM+LTDUr9G64YtIxoUZ2nJgj889o4luclfBC+vZ7NNNJZyuTWKurCIjsUJDwzF+E/GkqyMG1Rbu0SznXFsvS3pGguF1TjqroRH8HHo6Q/TK2NBN6EURJJNLVerv3OihU+S6q3MYaIzprpRbZecJbDa5omtkGFJQ8s6tYB9CcfDGs9i6yfqCN8croe5fXoYrO0r1eXSzlaot9iytm6Z7Irpm8N0/VpNW31u7MOBkyMJ6IjFgd+ajGPD4WQqGqM6EfWDC0fKkaM3acw0QSIjNN92vP8APo4EH6nTM1TNKODvU/CrCeDfVqXnanFhb/VHKuSMiwZ6ZXXKPeN0I1Y8ZSeeXIO0bGE/XLaC8CenrabOO2c5Vcf9TjludOrpaU2xNrhhfsFGNYjpvLE6tKvsDjUjEUfrY25a/EPn9UvnzhwBSwOIYje+hyHI7sYWF9QZLAdnMAJOiSYzaV52DIIO8rW5mzrlnFSjMAJ/kbId7J2VH2J/PgB+iOrIy7p8yVOWEC2kCqcXoDXdXAQ0opWCH8P6uOWxnYlvIMwSdIk0WRP6FeJsNqKePt089BvLybHgYEsbNVWatWEEnYQnYot7ZgT2HPa600mL+aoIJ8zuiIDnRWVqbu7v+21h2saAm3yX+2kfNsg3Z2BlpolcUx0FP+8dAR+C8qVV6EyLKNhPGD6sllq6CPA7hTN3ibZEgB+n9Ed4H3fnDa+6uhL8e2VlNH5uP7pFYWXvnBCXaeChunDejQvrY0dDlOC3WV9mQBSqCB2PyqgiulZKTpiGGmp53KSMHtmQxTtqyjZrUDKxckHTl8Du0sEr6gm36fYx3piHfWaTAqYUxd4scdU2HbxOr0lBU6naPN73+Q7NtLtwZWPwslr39/OzHfD9kzWppvcP6IJ2Y+g1QsXlL0idWU5X7R/gWRVTAJmkq1MTJAoKSXc4PvBfd15zrfl7gf9eMIzmapZkdCfxbPyYaWPweCJxG4Jk6+y2GHL8w3hFDNZRJwi/KdTB+x9YgJrH\Illuminate\Support\ServiceProvider\Illuminate\Support\ServiceProviderBootstrapperServiceProvider\Bootstrapper\BootstrapperServiceProviderService provider for Laravelregister\Bootstrapper\BootstrapperServiceProvider::register(){@inheritdoc}registerAccordion\Bootstrapper\BootstrapperServiceProvider::registerAccordion()Registers the Accordion class in the IoCregisterAlert\Bootstrapper\BootstrapperServiceProvider::registerAlert()Registers the Alert class in the IoCregisterBadge\Bootstrapper\BootstrapperServiceProvider::registerBadge()registerBreadcrumb\Bootstrapper\BootstrapperServiceProvider::registerBreadcrumb()registerButtonGroup\Bootstrapper\BootstrapperServiceProvider::registerButtonGroup()registerButton\Bootstrapper\BootstrapperServiceProvider::registerButton()registerCarousel\Bootstrapper\BootstrapperServiceProvider::registerCarousel()registerControlGroup\Bootstrapper\BootstrapperServiceProvider::registerControlGroup()registerDropdownButton\Bootstrapper\BootstrapperServiceProvider::registerDropdownButton()registerFormBuilder\Bootstrapper\BootstrapperServiceProvider::registerFormBuilder()registerIcon\Bootstrapper\BootstrapperServiceProvider::registerIcon()registerImage\Bootstrapper\BootstrapperServiceProvider::registerImage()registerInputGroup\Bootstrapper\BootstrapperServiceProvider::registerInputGroup()registerLabel\Bootstrapper\BootstrapperServiceProvider::registerLabel()registerHelpers\Bootstrapper\BootstrapperServiceProvider::registerHelpers()registerMediaObject\Bootstrapper\BootstrapperServiceProvider::registerMediaObject()registerModal\Bootstrapper\BootstrapperServiceProvider::registerModal()registerNavbar\Bootstrapper\BootstrapperServiceProvider::registerNavbar()registerNavigation\Bootstrapper\BootstrapperServiceProvider::registerNavigation()registerPanel\Bootstrapper\BootstrapperServiceProvider::registerPanel()registerProgressBar\Bootstrapper\BootstrapperServiceProvider::registerProgressBar()registerTabbable\Bootstrapper\BootstrapperServiceProvider::registerTabbable()registerTable\Bootstrapper\BootstrapperServiceProvider::registerTable()registerThumbnail\Bootstrapper\BootstrapperServiceProvider::registerThumbnail()No summary was found for this fileNo summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""No summary for method ""eJytWF1P2zAUfc+v8EOllgrad9gYK2hbJdgQ7dtAlZOYxCOxI8cpkxD/fbbjpE4Lzhzjl0jxPfeeY19ff3z6UqRFEBCYo7KAEQILSnnJGSwKxM6CoCoRWGZZlWMCObpfVUVBGb9fIbbFEbpldItjZTifTgMwBboDFLoHPFIGriGDW5SJfmlyIeI8waQbSnTMgyiDZdn5vRcHoL8ckbgEe/+DlyAAoikSsk3BywUmKWKYxzR61T/n6ltUYYYj8FiRiGNKAEMJLjlikyPV/VIbizbiKS5Pzpv+r1FEWSwQk6Ozd20yxLilfwHjBNn6GYJxxKo8tBlVnFPyndGq6LWyGFxC4aFEmc2EEs5o1hfqitEips+kN+Q3yvJFhbNYjva7VsvI6mSZQ+sYLklR8T7KP1Am0qu0WFzD0Do2NyjG8Ff4B0W2Cb+hMbR5+Qm3IbQNhjDACeT2tLuFxMpVrJOEobJcWEOtYRjCMLON7bqvPxWpSyBWZPaN9LqfjAvIGY6eOMxyuR7mobHix4fOxf/fY5ETjzgZP+zctGay2X0ed2w3m6vl3WYDZmA8n83m2nNrogm8HpSUOy2yBDxFoC0HoC5bmKjfS3rZrTYMb0XlPCw3Rjl5u+4I6ifnISbxnlLYAPdktREmR4azpjHEK0YAQc/gzUJWS3YdA1nuhuqvS6WjdgkarHu/ONs0v7dL6AruRjuUoKG0VURP0sa24si8RQ6m33rw1GDueo4iFDSR0MEqdtE/QsYwBX7k/XjvTgtuzCONG8q9ievJvnOQcVRQY+3pMxLoPiUmh5Ha1MxN6vRUHJXz8YNnfdo/i7lpjTXaL9+6HPz0dI6MPWJWKWToYOkcjrHrJI4kCnxW2iSfyYGFslJTmvI8Gz8cWywq1mNQipOa4DMrOWVInngSxNf0CTWzaTbzmNU0PROK9cl5ifiqdriS/iZvxvBMuvrE7pZqOLIk2H8sJxVz1Dkb+qqoLxaOMiRo6EJRET1JG7cdR+YS6bUp7mL7adBXLTf6mQQNZa4i+pFub5COO3mnHKW1E5910PD40KXQudy6CcwllCro0NkxonvKqG/fjgIkaDB1CfYj3TwJuLEmCuWTSDqusUl5JpH5dOEsRiM9BTXxP06Ufmpx01NI0NCUUhE9SZvvP47UNdSWXH0CdtH9ZOweqNw0cI3zSaY2dp1KRob6ZtR6oCSLnn4tmeexw3jocyTeAAeTbxz0CngN/gGC2Xts\Illuminate\Html\FormBuilder\Illuminate\Html\FormBuilderForm\Bootstrapper\FormCreates Bootstrap 3 compliant formsFORM_HORIZONTAL\Bootstrapper\Form::FORM_HORIZONTAL'form-horizontal'Constant for horizontal formsFORM_INLINE\Bootstrapper\Form::FORM_INLINE'form-inline'Constant for inline formsFORM_SUCCESS\Bootstrapper\Form::FORM_SUCCESS'has-success'Constant for successFORM_WARNING\Bootstrapper\Form::FORM_WARNING'has-warning'Constant for warningsFORM_ERROR\Bootstrapper\Form::FORM_ERROR'has-error'Constant for errorsINPUT_LARGE\Bootstrapper\Form::INPUT_LARGE'input-lg'Constant for large inputsFORM_CONTROL\Bootstrapper\Form::FORM_CONTROL'form-control'Constant for form controllersLABEL\Bootstrapper\Form::LABEL'control-label'Constant for labelssubmit\Bootstrapper\Form::submit(){@inheritdoc}stringnullarraystring$valuenullstring|null$optionsarray()arraylabel\Bootstrapper\Form::label(){@inheritdoc}stringstringnullarraystring$namestring$valuenullstring|null$optionsarray()arrayinline\Bootstrapper\Form::inline()Opens an inline formarraystring$attributesarray()arrayhorizontal\Bootstrapper\Form::horizontal()Opens a horizontal formarraystring$attributesarray()arrayvalidation\Bootstrapper\Form::validation()Creates a validation blockstringstringstringarraystring$typestring$labelstring$inputstring$attributesarray()arraysuccess\Bootstrapper\Form::success()Creates a success validation blockstringstringarraystring$labelstring$inputstring$attributesarray()arraywarning\Bootstrapper\Form::warning()Creates a warning validation blockstringstringarraystring$labelstring$inputstring$attributesarray()arrayerror\Bootstrapper\Form::error()Creates an error validation blockstringstringarraystring$labelstring$inputstring$attributesarray()arrayfeedback\Bootstrapper\Form::feedback()Creates a feedback block with an iconstringstringstringarraystring$labelstring$inputstring$iconstring$attributesarray()arrayhelp\Bootstrapper\Form::help()Creates a help blockstringarraystring$helpTextstring$attributesarray()arrayhorizontalModel\Bootstrapper\Form::horizontalModel()Opens a horizontal form with a given modelmixedarraystring$modelmixed$attributesarray()arrayinlineModel\Bootstrapper\Form::inlineModel()Opens a inline form with a given modelmixedarraystring$modelmixed$attributesarray()arrayselect\Bootstrapper\Form::select(){@inheritdoc}stringarraynullarraystring$namestring$listarray()array$selectednullnull$attributesarray()arraytextarea\Bootstrapper\Form::textarea(){@inheritdoc}stringstringnullarraystring$namestring$valuenullstring|null$attributesarray()arraypassword\Bootstrapper\Form::password(){@inheritdoc}stringarraystring$namestring$attributesarray()arraytext\Bootstrapper\Form::text(){@inheritdoc}stringstringnullarraystring$namestring$valuenullstring|null$attributesarray()arrayemail\Bootstrapper\Form::email(){@inheritdoc}stringstringnullarraystring$namestring$valuenullstring|null$attributesarray()arraydatetime\Bootstrapper\Form::datetime()Creates a datetime form elementstringnullarraystring$namestring$valuenullnull$attributesarray()arraydatetimelocal\Bootstrapper\Form::datetimelocal()Creates a datetime local elementstringnullarraystring$namestring$valuenullnull$attributesarray()arraydate\Bootstrapper\Form::date()Creates a date inputstringnullarraystring$namestring$valuenullnull$attributesarray()arraymonth\Bootstrapper\Form::month()Creates a month inputstringnullarraystring$namestring$valuenullnull$attributesarray()arrayweek\Bootstrapper\Form::week()Creates a week form elementstringnullarraystring$namestring$valuenullnull$attributesarray()arraytime\Bootstrapper\Form::time()Creates a time form elementstringnullarraystring$namestring$valuenullnull$attributesarray()arraynumber\Bootstrapper\Form::number()Creates a number form elementstringnullarraystring$namestring$valuenullnull$attributesarray()arrayurl\Bootstrapper\Form::url()Creates a url form elementstringnullarraystring$namestring$valuenullnull$attributesarray()arraysearch\Bootstrapper\Form::search()Creates a search elementstringnullarraystring$namestring$valuenullnull$attributesarray()arraytel\Bootstrapper\Form::tel()Creates a tel elementstringnullarraystring$namestring$valuenullnull$attributesarray()arraycolor\Bootstrapper\Form::color()Creates a color elementstringnullarraystring$namestring$valuenullnull$attributesarray()arrayNo summary was found for this fileeJztW9lu2zgUffdXEIEB24HdPMybszQL0jZAahdOigGmKQpaomNNqAUSlTTj8b8PeUktlilL3jSxW73EEu9+Dq9Iqj157429Ws3BNgk8bBB06bosYD72POIf12phQNANpaFtOZiRh0/Mpg8fXN++DC1qgsTR4WENHaIrn3CBINFHfyDDtT1qYYehEVcJuJiQPOd+nvDjrCs+cFQzKA4CJMwj8pMRx5Q3yldtUqshfoFDcXGnrhMwZR+NXd/6x3UYppE7EDqCv4aQRB/6g88/PvUHN3/1e/cXt+gUNYRoJ1FtHC92YjnUcshiBze925vedWxcqhQZDkLDIEGuzbuvV1fXd3fC6BgHHSVdZPQF+47lPOZa/fNi0LvpfYysKvEiq8T3XT/X5vVg0B9EFkG0yB7FPmeD5Xgh01m96X35ev/j9mLwEWoKch1aGKWovbDAfJdSkh/vFafCoJ9wQakUBz0kVGf09uLyGqwpQx2Q1JibnFvOmPgWM11jGj3kk8PHNuLTggPxrxNSiurPmIaEj96PCZK/3RFi/CYIh7bF0DBkzHUyFrDv41ckr7rrMYsHBxbU71jcJyz0HeVxJh8vHFLLQKPQMYSKctdU8ZwiEV07MX4qfTZbLdCe1FDG/bcGTPDGdy5qBQHhprIjLfQ+VhNXY8gc1EDv0CXk2O32OGR84r7jD8XjedPdMvrHsZDKnteMOKzbnUkxya0lFaYrYKhKIBosUhjCbwWhO/ybGIz/tAJJKfRiccyHJDK26MKMYWNMTMTcsvxhvLFGvsHfkrTR65bnEOg1oRxtVCWTAkJH3a6cnGXZk9JR01dDGU1GJYjT9whPFDvpF4oa0yJS51j7Fp/pRMKRulWIgFwJRGIopOdm2vIp+vZ9rubJuKbsmkF95dNvxrj+OtM6CFLK80DUxeTpnLm8oul4ikqfXS+UrP4yFU48VFrl1AJntUonBtavdrQuxOLVZZkYCjOkrvGkL7jqmnX26hHlGfqWuOVMT4zk6MkmGuvpelwkCiuJRBRu9e2wePblJLdMa0xMNCH7tkqmrSJto62T6ABWQI++G3poAkFM0UE5+mhVj3WhiX5PXtBF/CDDoyzjDk5M65nbTISmZxNZmulElmZ6csRlzg6KSagWzkuScRdIhc4DMruneoCdWrebIlarYIEHxWkuyzsVTlP1hpS/vA6jtjPtmXHldvaZDGH2WbYb86tVogGp7c1v7HXYq+JsC3sZTXrTWSn2jty0/oZeBz2UpgLg4WSg2ik/IsQcYuNJFpLvrdgYFt1GvH6oBPpYlPtFKVEjb9teTJJVVxlRRebxFtFUsMZopBYK4ogohqjkOjVPv1HdYiPwOIcgutPGI331xoBr/KszgVpOUfo8KYnz7ORIGDgrvWYZE+qVaVdC7l7s7wVjQEns9gsJtgKJhPFm7K8K0ghfHTmJy/IkUdkUNQD3LDeiKkwVrLmA5uw7VVNCj9YzcZDtmnGjySBnWz+JieppidV2qZpXhuzSqf1qa0Y28wWg24UgCl4ribXPIC0jr4AsFW+F7bzsCk8gUmc/b4gF6lxoAwyQlv4/9Ld53LQ86iXOiuEUMadhUyvI9nI43uVDPGpiMGJuo9VL28maTh50JrcirOTANjUQBRUd7+a0YKUIo60t8SD6xLMaEZR2/gmwKlF0BCwq0k7y3xg5kvKrMLLfEuBsn8eEtfqZjwFK3yQjHFImvyvp+TMHmn5BOu+9PMmErlDN+zCgY8w2G8eWCaNPd7NdJIcjHo/9xfXN9Xaos8rlcY68x4nvGbAL8tv+zM/feG576q9KBxH2LzTltzTdC9lBbGzR9eihR3oVruiCKc8Y0P5FKKPJtRxnkpMDk/9llq22GHxBYnPLiw8RFvFoRj+7CM3QZ0FXySdJiQ1LaiOS+rdhD0Cogu1IVI2q+bM8Z5biiUy9EWXXaKPNcIa6BqZLkGYFuqy3YdkYISDT/WZFB3LcBDdmeveb4kM+yPuL7bqI2q7DxrsGKQS9n5hCauuC+kLI07Kv/DcCrQh9P5EVma0L7CpruTcC7P4uvDax6HJCe0j8HYVWBr+f4Mrc1oU39OmOYssj309geWLrohoQ7Bvj3cNUxr2fsMrc1n7Pkje98c07Td3TqcoTWxdQw6XiP67tGqQQ9n6CCqmVhHVa+w9LAz1D\Bootstrapper\Facades\BootstrapperFacadeMediaObject\Bootstrapper\Facades\MediaObjectFacade for MediaObject class$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\MediaObject::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtjjFuwzAMRXeegltSLz6AA9TJkC3oBbqwFOMoaSRBZIAChu9eWXaBpuhfCPB/Pv7da7okgEB30UQseIjR1DKlJPn9SExOtANomwawwWWB55jxJM7T28dV2JA/SbX4c6QvmBsN/5NqQOWP+QtVAi1U3NMD+TIJTp/OFiSMAFhUC85qcOx9uEj25iJP6/LH67PYIwcsEB+GddvWmXK08ktcMck84/kR2HwMOIgtz/bMohrz9qVejMt90Urd3OfOsXbedNWdACb4BhTjb4w=\Bootstrapper\Facades\BootstrapperFacadeButtonGroup\Bootstrapper\Facades\ButtonGroupFacade for ButtonGroupLARGE\Bootstrapper\Facades\ButtonGroup::LARGE'btn-group-lg'SMALL\Bootstrapper\Facades\ButtonGroup::SMALL'btn-group-sm'EXTRA_SMALL\Bootstrapper\Facades\ButtonGroup::EXTRA_SMALL'btn-group-xs'NORMAL\Bootstrapper\Facades\ButtonGroup::NORMAL'btn-default'PRIMARY\Bootstrapper\Facades\ButtonGroup::PRIMARY'btn-primary'SUCCESS\Bootstrapper\Facades\ButtonGroup::SUCCESS'btn-success'INFO\Bootstrapper\Facades\ButtonGroup::INFO'btn-info'WARNING\Bootstrapper\Facades\ButtonGroup::WARNING'btn-warning'DANGER\Bootstrapper\Facades\ButtonGroup::DANGER'btn-danger'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\ButtonGroup::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtkd1qAjEQhe/zFLmzXRAfwJYa7boIupa1pS0USszOrqGahGSWWsR3b/avmOLcBOZ8c5jJuXswO0MIUfwAznABdKo1OrTcGLAfcy54Dm5MyCiKCI1o26CFtnRaIWqVWF0Zr9TixBt88fK6RwM4+CeGJiMi9ty5S2sKRwSVu2CstSQnQn0JrRzSJcuSmN7TwRbVsKwnh/tyML4gNiu2XIaEOwRE/Pacsc8r3NF57gJM15mHeiaHgld7DKyessWKZe89Yqw8cPsT7vMym8WbTY+4SghwLkAW6Xzd61IVOhBfWZYu0qTXv7lVUoUnP7I0ibO/PbkqwfaXNIHWFdHTRKodWIm5Fueu2WsTC1hZRf3Xe/euO2peYzWCQMi9yFEKWlRKoNSKloBtRKy5Sdub22aiDayuznWwbZJufrnb/EzImfwChRrJFA==\Bootstrapper\RenderedObjectBadge\Bootstrapper\BadgeCreates Bootstrap 3 compliant Badges$contents\Bootstrapper\Badge::contentsstring$attributes\Bootstrapper\Badge::attributesarray()arrayrender\Bootstrapper\Badge::render()Renders the badgestringwithContents\Bootstrapper\Badge::withContents()Adds contents to the badge\Bootstrapper\Badge$contentswithAttributes\Bootstrapper\Badge::withAttributes()Adds attributes to the badge\Bootstrapper\Badge$attributes__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJydktFugjAUhu/7FCfGBGe2cLFLlU19gCXL7owXBaqwadu0ZW4hvPsOpWIR3cx6AYH+/U7//5zpk8wkIZzumZY0YbAQwmijqJRMTQgJx2MCY1gqRg3Tp114hETs5S6n3MCCplumUVdLnxHzQbddEm6EJNlRrRsxsC/DeKrhFZ9MsfQlfmeJISUhgMtWrRfiPqkCxOR8C28Zw6ocTxoNYgMGv+Ma58ShfUslDLJYCsOjeHIZS5Wi35ZKDVaIi9riLVxPPoPVuo9vbOkeqS2vmCkUd8a6ZYp4lyewKXhicsFBWdTozm6WjRRX9w6cHWDe/hgNTZbrh+gkuYdVYOMPYBZBYK8UrO/cxS3PZTyDwRQngUPpVaii0iGPiVbTsFZFAw/hPDnSxP6vetHMU2x720UjrmckqaL7UxPPs7M3+jW6Q26ypTs9ajm9JLvOMIHzufHN1eLW2kVvXmNucOep7Tj+z6XX+2aoPe4Vv5358eR/eK7ID5wLOVg=\Bootstrapper\RenderedObjectTable\Bootstrapper\TableCreates Bootstrap 3 compliant tablesTABLE_STRIPED\Bootstrapper\Table::TABLE_STRIPED'table-striped'Constant for striped tablesTABLE_BORDERED\Bootstrapper\Table::TABLE_BORDERED'table-bordered'Constant for bordered tablesTABLE_HOVER\Bootstrapper\Table::TABLE_HOVER'table-hover'Constant for tables that have an active hover stateTABLE_CONDENSED\Bootstrapper\Table::TABLE_CONDENSED'table-condensed'Constant for condensed tables$type\Bootstrapper\Table::typestring$contents\Bootstrapper\Table::contentsmixed$ignores\Bootstrapper\Table::ignoresarray()array$callbacks\Bootstrapper\Table::callbacksarray()array$only\Bootstrapper\Table::onlyfalsebooleanarrayrender\Bootstrapper\Table::render()Renders the tablestringsetType\Bootstrapper\Table::setType()Sets the table typestring$typestringstriped\Bootstrapper\Table::striped()Sets the table to be striped\Bootstrapper\Tablebordered\Bootstrapper\Table::bordered()Sets the table to be bordered\Bootstrapper\Tablehover\Bootstrapper\Table::hover()Sets the table to have an active hover state\Bootstrapper\Tablecondensed\Bootstrapper\Table::condensed()Sets the table to be condensed\Bootstrapper\TablewithContents\Bootstrapper\Table::withContents()Sets the contents of the tablearray\Bootstrapper\Traversable\Bootstrapper\Table$contentsarray|\Bootstrapper\TraversablerenderContents\Bootstrapper\Table::renderContents()Renders the contents of the tablestringgetHeaders\Bootstrapper\Table::getHeaders()Gets the headers of the contentsarrayrenderItem\Bootstrapper\Table::renderItem()Renders an itemmixedarraystring$itemmixed$headersarrayignore\Bootstrapper\Table::ignore()Creates a list of columns to ignorearray\Bootstrapper\Table$ignoresarraycallback\Bootstrapper\Table::callback()Adds a callbackstringcallable\Bootstrapper\Table$indexstring$functioncallableonly\Bootstrapper\Table::only()Sets which columns we can returnarray\Bootstrapper\Table$onlyarray__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJzNWEtv20YQvutXTAwjkgzFPvRmW0r8ahOgiAtbaA+uYazElcmG4qrcpWXD0X/vzD6oFR+i6ORQHmKFnPm+ee1+S55+XISLTidhcy4XbMrhXAglVcoWC56edDpHBwcdOICLlDPF5fop/AJTMV/EEUsUKDaJuUQ7Mv2EMN/Y4yYSPjjqTGMmJYzJGPiz4kkg4Qb/5SkPrif/8KnqvHY6gJdmpQuZRSIVkcxECggXLXiQE2qTI/13SnYwPjv//erhdnzz5Y+rSxhCV1t+sH7dk+3wE5HqYJrwz69vLq9ufALn2cRggEGFTEHInjiwBNhURfgrFE+cMsQ61xJ/vv7z6mbNql2aKNE/4Ilszuri+uvl1ddbP63ct4Lk0xMzDUkeYRxyUC8LDmKGuXHDtEG0SIXCBmMU+2RYAzePntGC0JAZB0TJnRCdcQ0qS1P2AmcQR5gr4k1FnM0T7IKA6DERaS2ueSqxHnf3u2KzOJ7gApADFzn2YA5dw9mF4QhmWYIdF0mvX5uPA9nGPBEi/m7pExvHZnKPXB3CryyWHKIZJCLhh3WMIolfkGxGxmU+s0hlqRF5PClXWZrYadjkyCZxNM1zhlRD2dRfjSle+0yh7yRTutoJX8JZfqN319U7hy7enuaH130VRvLDiGZptXfftzFrKDuTQ9g7dcZr9NVoz7PFsvQskpuhvheVD3c4BGtpUriw9j3kdrarchTo1j090nGMuh6zrZg1MxCrUuFvufKqrpdYsfQLlrK5W4d6be2yGgtdkVyN0aGn/Uu9WZcahm757havgAl3m3bNzGj07cEZ//LMmLhc7JLHs+PjDQHoVxScnFqF77b2N8fvANok4BTmxzNoVJn2CWmMNtlo2fopzcgF6c3B5whtEsil8c1JbNOzwlrWW/n3cYqNS6XOPRe4emk8hL/oULWgQ5SF2+HiEQKkejycfugfiE13WyDl/jwW/2YYHsxFwGPZvkFLjCnfXPPMa5qV12JYOgXs2iJf3Hbq0haxS6MnXFhFtVtLRTGJkDPNnWsLSvZnc69XrWndU0VOo1OVkp44AzxkcDYNUc0cJJMGHt22SBpKZDh6dYYrVKqQBNJZrur0LB2RKQXSrQhTG6mJCF6qYyz0jkKNFJ8X4yR1fhfJBz1bPWNStNG09IRqSH91Db3DgyfPXv8rIt5Q9y+IZBgHeZf6O9TF5dxS539z24Trnp0/V6KaEdSF2T6B/kDVTx8dMv/Pbcpj0hwP3/iLtEQ6Kvx/FSEFFiUuLjQauCbbg31lmHRRzlGS8ZPS01Uli4XVp+j37+FdNSs9/mmUJQ43pXUEzuDunnqAPk1MK2/cy9Phd8IOintrqW3K2xpSXZnChLQuSUM5KpN3i9m6NikKyirNaLXKm1ddsybwImHXv/GcY7agqlPBes2Ovc0CXTLJc/vW+uRvdps0pS3D16EfEKAnFmf0MhFJPG0Z6jtnfN+Hj1C4BcfQ7Z6UZ8m4F8bPQ6psvCOv9+sZm4Hd7+omw6+I0dIAtVS7kpIGOyrpDnJRnDD3OY41ftOoniL3YUNPnf4dOIT2BzYD0NuErjmvrb+oOMOWp7WzIKC0XdOqs7QVJsnB+X6mZ+bgTBkCfes0H+Po3iaQQ6Db5uidpzn2rPPkB81H5GUY4bqQocjigF5hvM9Czc75t6J9EzyOZCqW/cP2XXKh90xNBvD3RSxklnop1p2x1wtEu+oN0/m85X3IVMRN7JLKmljvrVNL+tk+cfLqeQg1WdovYNqkIalV5z+cQkdT\Bootstrapper\Facades\BootstrapperFacadeInputGroup\Bootstrapper\Facades\InputGroupFacade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.LARGE\Bootstrapper\Facades\InputGroup::LARGE'input-group-lg'SMALL\Bootstrapper\Facades\InputGroup::SMALL'input-group-sm'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\InputGroup::getFacadeAccessor()__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileNo summary for class ""No summary for method ""eJxdjbEOgkAQRPv9iu3Qgi9AYzBRYoKNtjaXZUUSuLvcLokJ4d+Fg0KdYqr3ZnYH//IA1nQs3hDj0TkVDcZ7Do+zIVOxZADUGhG8WN9rEVzvkd/KtpIffsFhAMAp5KwolvmtOOEek2Z203qW07ZOsi/mfs3L8p+RbmIi5INTJuUKRY02hM/ekjbOYs26fOZELOLCZhuNIfacwNoHuy7H4fV5BBjhA6unUgA=\Exception\ExceptionModalException\Bootstrapper\Exceptions\ModalExceptionModalException for use in ModalsNo summary was found for this fileeJx1jkEKwkAQBO/zijnvJQ9QMAge/YGXYTPGYNwZtlcIiH93EyFCwGtX0d37g9+ckjwULlH5aFZQsrhrvpymqF4GS9gR0RPKa1KDJgTiwGfrZFxzvlrm2RzSl6A6s9bW+rv0fxcWB7rhS0VFDcVRgO2YTkVTh98tehG9+QOCK0kV\Illuminate\Routing\UrlGenerator\Bootstrapper\RenderedObjectNavbar\Bootstrapper\NavbarCreates Bootstrap 3 compliant navbarsNAVBAR_INVERSE\Bootstrapper\Navbar::NAVBAR_INVERSE'navbar-inverse'Constant for inverse navbarsNAVBAR_STATIC\Bootstrapper\Navbar::NAVBAR_STATIC'navbar-static-top'Constant for static navbarsNAVBAR_TOP\Bootstrapper\Navbar::NAVBAR_TOP'navbar-fixed-top'Constant for navbars that are stuck to the topNAVBAR_BOTTOM\Bootstrapper\Navbar::NAVBAR_BOTTOM'navbar-fixed-bottom'Constant for navbars fixed to the bottom$brand\Bootstrapper\Navbar::brandstring$url\Bootstrapper\Navbar::url\Illuminate\Routing\UrlGenerator$attributes\Bootstrapper\Navbar::attributesarray()array$content\Bootstrapper\Navbar::contentarray()array$type\Bootstrapper\Navbar::type'navbar-default'string$position\Bootstrapper\Navbar::positionstring$fluid\Bootstrapper\Navbar::fluidfalseboolean__construct\Bootstrapper\Navbar::__construct()Creates a new Navbar\Illuminate\Routing\UrlGenerator$url\Illuminate\Routing\UrlGeneratorrender\Bootstrapper\Navbar::render()Renders the navbarstringrenderContent\Bootstrapper\Navbar::renderContent()Renders the inner contentstringrenderHeader\Bootstrapper\Navbar::renderHeader()Renders the headerstringwithBrand\Bootstrapper\Navbar::withBrand()Sets the brand of the navbarstringnullstring\Bootstrapper\Navbar$brandstring$linknullnull|stringwithAttributes\Bootstrapper\Navbar::withAttributes()Adds attributes to the navbar\Bootstrapper\Navbar$attributeswithContent\Bootstrapper\Navbar::withContent()Adds some content to the navbarmixed\Bootstrapper\Navbar$contentmixedinverse\Bootstrapper\Navbar::inverse()Sets the navbar to be inverse\Bootstrapper\NavbarstaticTop\Bootstrapper\Navbar::staticTop()Sets the position to top\Bootstrapper\NavbarsetType\Bootstrapper\Navbar::setType()Sets the type of the navbarstring\Bootstrapper\Navbar$typestringsetPosition\Bootstrapper\Navbar::setPosition()Sets the position of the navbarstring\Bootstrapper\Navbar$positionstringtop\Bootstrapper\Navbar::top()Sets the position of the navbar to the top\Bootstrapper\Navbarbottom\Bootstrapper\Navbar::bottom()Sets the position of the navbar to the bottom\Bootstrapper\Navbarcreate\Bootstrapper\Navbar::create()Creates a navbar with a position and attributesstringarray\Bootstrapper\Navbar$positionstring$attributesarray()arrayfluid\Bootstrapper\Navbar::fluid()Sets the navbar to be fluid\Bootstrapper\Navbar__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJytWEtv2zgQvvtXTI0Asos4Puytjdw6QbEboJsUqds9JEFAy7TNjSwKFJUHsv7vO3xIoixLtpzokFjivOfjzJCnX+Jl3OlEZEWTmAQUzjiXiRQkjqn43Ol00oTCRRimKxYRSW+veSpZtLj9JcI/aUQFkVyRDT9+7MBHOBcUiZJCCPwBAV/FISORhIg8TolIkFDRfkV1D2RR1ogLw04QkiSBS00N9FnSaJbANf6lgs6upv/SQHZeOx3AR+tVD+rmUSKVmjkXwKJHKtDyXKWmGer/gSKEy/Hvs/H1/cXl72/XP7+BD56hHVhW73OzBvwlWbBbwc/JeHJx7sg3jAPJ410qrGyQSyKBCIo60+ABJMcvFP/F9VonVz8clXP2TGdtNGqGTNGUS8lX9brOriaTq78r6gzbFo1fH4kKn0AYwUTJFySaAZ9rZUZESVksuMSUo0FHmrRGootIGMN3IsgjDeHX9XdYZN/r5KYirJFKhCAv2kwi0eRpquC9l60OvQ83dzvlY0wR6TITrhfqZGe0DYKdAMuXmO5ns6YsEjmjc5KGco8cxjxhkvFoPzUZdY3cKech/LOkKEhoaZm7DJEZpgzBglDlsk68ofFhTsKEbkG8LVIEIvpky4xdy82IET2rMqQUSPbDVToNsTLM0yjQIbm/19tFpIHsVST2NcurEYDPkVyyZDBSunyLS/V5XfHC1MOkGu3cB0FlKiKbpUYLhZbVq9hSgrAK1jj/0MupHKsL+uPS8k3pTT2ervEe+CPoGuvh1QpRGFznbxlU1t3jqhDBQ6plKMCyBVGEXonsLn/rWyBocy1yfeieztgjKissX4+6nyuEJ37mosHWl5ISI0R75HsKq4Rhigea1Bt14dMe1F6zWpOhvyjRedpNeW52TA1p93SINozM364TGAsZS7oP9FiExmcbtAUC8926AcLc8E0sOinDZGfxs4Uq4GFI4kRVCvPDK7mFrY2SYAk9G6OsnpAEjpikq76jSD1sDj2W3JOeXj0Gzx1Rbm8vC7D1N1m1rYprMDK2uSkw4SyROvlTXAXtugpXkzkU+8acLTWM3iFZGR4bcuVg3ebKaC/hfTiE8WxmS73NJG5GyaPtMTBruq/5nnnxNrRIvlio4jAjktgXtdssOuxnIhZU+t7JBoq80SnOwlEmMREDHoUv3miixUBRa06Hiq5MzRBcA5SGQt5hdWi8c4OlwGlxrMehTQSWIkU2wqI5PFgKOve9V1fMjRey6MG7W3ujje+G5259OiSuHesafB5WU35SacBZPw1uNGer1FhguPJpcoM0SsPwP0t/pNwETap+ncDFXM0SkFAJTxTsyKNmX7WsOCTPxNU/3tCDNNHUKNjt8pv7S8e2sRs/Mbk8U170jFvH1mZf+7G52RQcPrAEze9pskpFypiLyQJ7LO+hxf3t1cZJPrKp4xvBycXCAIuhxkl/S4YVY11+cX8n7ghtzxZNCXbHj6Yx3J2UW4bZmWccbTUzWWkacsgPiUTCV8VYu0csVvpAls/94+gFVWi04dEwwAoypYESSey2+KBg/cJTiNVRmkVAmjFcanBFfwOuT9u4MbwwhBV5wDNoKmizLCY9PVybsS5vFieHpSgbCDLfa5JjV2/uVG7sS8vE5CXIWo5pmdLsJqGmW+72wfJXm6SxG/ftBNtYL6Hh/NOn8qVE2z2WO5CfxhSy8muC9rabq4oJjxus/2F1lT0wtx4HO1B7Yt3eA8y5dftR9wTGSZKuqL1GKRYGTSiOsUGyZ3XgVIdQekDobF61aTXRs6dtTfLmVLeIVs5Tf3KvRm1XD7RBfZfI5ZjKTa2JYG68X7lUeKdIVm/b2nskD9hAk6sfb9/+Wz0pXee1d8awt/bHXBK2dcm5qjE+qI6Ab7mHakYpOvGesIfdV1YZr5k7SqPIHneBLcIZaA8LoB9XLg73iHSxTWriOxg1TDvt+qG+1TgYPZq7DjzZvZ0U6a56uO78D95V/UU=\Illuminate\Support\Facades\Facade\Illuminate\Support\Facades\FacadeIcon\Bootstrapper\Facades\IconFacade for Icon classgetFacadeAccessor\Bootstrapper\Facades\Icon::getFacadeAccessor(){@inheritdoc}stringNo summary was found for this fileeJxtjrFuwzAMRHd+BbekXvwBCVC3Q4HMWbMINOMIdSRBpIAChv+9tKwsRbkQujve0/k9PRIABPdkSY4YP2NU0exS4nz7cuRGlhNAEcbLPJenD075di0pxayvQNuW67sOsMP9jfeY8UIxIM1OxIzNG4zz7ab/UTUg/MfcOszpofbslfyjHEZpKFgA0Kbyt+lwGXx4cPY6Rlqb+PKGzFpyQCP4MDW1rzvlqEzKo5lOPeG9BFJvxIl1h30QsUjMx7d6sez3Nq314O2Dh1OVV4D1Fxuebms=\Bootstrapper\RenderedObjectAccordion\Bootstrapper\AccordionAccordion Class
Creates Bootstrap 3 compliant accordions$name\Bootstrapper\Accordion::nameString$contents\Bootstrapper\Accordion::contentsarray()array$attributes\Bootstrapper\Accordion::attributesarray()array$opened\Bootstrapper\Accordion::opened-1integernamed\Bootstrapper\Accordion::named()Name the accordion\Bootstrapper\Accordion$namewithContents\Bootstrapper\Accordion::withContents()Add the contents for the accordion. Should be an array of arrays
<strong>Expected Keys</strong>:
<ul>
<li>title</li>
<li>contents</li>
<li>attributes (optional)</li>
</ul>array\Bootstrapper\Accordion$contentsarraywithAttributes\Bootstrapper\Accordion::withAttributes()Set the attributes of the accordion\Bootstrapper\Accordion$attributesopen\Bootstrapper\Accordion::open()Sets which panel should be opened. Numbering begins from 0.\Bootstrapper\Accordion$integerrender\Bootstrapper\Accordion::render()Renders the accordionstring__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJydVttu4zYQfddXTNMAkrNxvEX3KbG9mwYFWhTYFpsCfQiMBS2NLTUyKZDUJobhf++QulEXK/XyIRaGc+M5c8n8YxZnnsfZDlXGQoRfhNBKS5ZlKO88b3Z15cEV3IehkFEiODykTCkjepDINKrGAH6GUOyyNGFcA6sMjK5R/0Ten9m2HcBesFzHQgL8xbRMwmf4IhTSxcwLTSgnNL5q5JGCL/QXJUZ/rv/FUHsHzwM6NlNzyOU3JuGRvPEtmJeB2ICO6ccaQJArjOAlRg6heYRRM9dpwp/VpHQys7+ZFJpMSP3SOLobjMSkZHv4mzyEglOKWlUBaxROOa0NFvC0GvN+r+k569wA/n99s8bktPeEuPonTsIYMsYxhSDZAOP7CahY5GkEa0ItQ47RqSjFLUWY/nTXI+KzAX8o2TqHjEm2K8C1CLp0dY3gk0SdSw6XOk5UO6F8nSYhbHIealMqxk0UWLcFoYdCnY41ni5toEVFa33rRigQO/ZedR9FNr+avA2VbyvhG3is4WO8pJBeZT+qzGFObSD4dvnra1aA+Qfu1XxWSm9rtTxd1t9pstSJTnE+oy9XWiXTu3DKIBCZQYelk7bWrInQIabIvC7T84l4SXT8UFoHHW8nmHF6olY9k6FH1AUhb3ZNtxAdi6atHaEWkJvx9D04ND1cIdE4PoFFq4cd9bfwGABE0cRr+rzb3jfwOd+t0Y7MNW4TTlUtxQ7e35wAigYHbtEOkPPRMDGDysWJp9eDpdI7swaKLaHGWS8dKbsrRlOW1l3QTZbGZfCDM1Imzp3zmHLa/IYpbT11e7ult0lan7/TkDIak7va6tgA0WKf44uzBYKhKI3+dev6yber1IfFEnzL/3QrRZ751+AnkRU7ea5q24kD+WWBESVyMY+Sb3BwsjsuL5r8qWdzWioLeN/IaEAio9oLui3OFNGrcdeDzQjv3efbjvn6jPuv+Joo3QHAHL9JyL/u3VqPLekEPhbSJ9dyBbd2Wb6RzhgbAxb9fPqcFJ05jXDD8lT7q3ay3YxKOm4aPtoRW5wMWtj4i7IeYmQR3fqjVvGHtpHdROMmDCKm2VSL7TbFhR+KNGWZQr8Q0yyhMlj4Px6c+jv6EEvcdKXTQ1FZR395KGkr4q+O8xkbTWIWfxi/JziMQltjLaL9WZw/9STmVB12Mfyai35pWKtex1bQQY1hz3C8ZMyo6szWRdmt3fYbeD9Nlyiy//wHfsL9SRvO45vV2fZ2ZnUa44b2anpY5kvqTvr6PgWLyrt3g1N5tHKqzVQo1bvp6P0H5Yq0FA==\Bootstrapper\Facades\BootstrapperFacadeCarousel\Bootstrapper\Facades\CarouselFacade for Bootstrapper Carousel$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Carousel::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtjkFqw0AMRfc6hXZpvPEBUqjbQk+RjZAVZ2g6M0gyBIzvnvHYLTXkbwRf/z/p9S1fM0CkH7FMLPiRkpsr5Sx6/iKmXuwE0DYNYIOrgZekuyB+kqbR5FYyS6wrqG8antNqwERw0S7wj9IC38jsD4xyd4m97QorECaABVVfXNTg1IV4FQ3eJ55/zU7FR41Y2iEOm9vWmTW5sEtfluSB8TJG9pAiDuLrlXdmMUv6cqyNae0XbdQDb58eTnU1A8zwADW5biM=\Bootstrapper\Facades\BootstrapperFacadeTabbable\Bootstrapper\Facades\TabbableFacade for Tabbable classPILL\Bootstrapper\Facades\Tabbable::PILL'pill'TAB\Bootstrapper\Facades\Tabbable::TAB'tab'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Tabbable::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtj7tuwzAMRXd+Bbe0XvwBaVEnQ4ECGTpk7ELTjCPUlQSRAQoE/vdKsoM+UC4C7pGOLh+e4jkCePoQjcSC+xBMLVGMkt6eiWkQ3QK0TQPY4BLgKSQ8Ut9TPwnyRKoZFt5lxzuN/2vqBZU/8ObJtIXq+lbLp4kf9NeDRQZXwDwcvBq+vhwO+Iib6KZps/0Bjrt9yY36HNe87lGmwWvn/FmSsyHwvIY31iWxS/KYP3V+XNO2njEFEzYZMiRzjKeLZ3PB4yi2lNsxi2pId/f1xVK1zGotheqCa9kZYIYvHFd3Yg==RenderedObject\Bootstrapper\RenderedObjectRendered Object abstract class__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestringrender\Bootstrapper\RenderedObject::render()Renders the objectstringNo summary was found for this fileeJyVUsFOwzAMvecrrGrS2oqtd9aVAeLAASHBFWlKW68NdEmUZHTTtH8nTdbSARd8aO3k+fnFdnoja0k43aKWtEC4E8Joo6iUqBaEJHFMIIYX5CUqLOE5f8fCAM07jHWKhmptER1oZQk+aHXJYS8Scgkf2DwZORIC1lypzmK4p02jwdQIykFhi6YWJQjuDoXLm8PjBigH3BcoDbN3rMtRouVXPRGzJakpatSdS3kJJdOyoQftMpUSHbfWVvU5pc9cKTQ7xcEKZ7w6nybuL3d5wwrY7Hjhyq7XRrw6WBg5wNHDrRl1GEWdnWknpmZ6lvnnhdFiwJy8YAjfHoZ3TTD6wTLxjVxChWbt/NCCFn9VCtKSfWap9L1fTvNq1lLFrVowuDd9MM1ux60Um+CCbA4BmINESAtRYnb0Ak5p4kJoad96aJmp3ZTOfb3+TdRz4Cyz+p88Lox6tjTpFAejnhD//bkmfo/0aCf+PcRhM4dpfo+EnIB8ASr76bA=\Illuminate\Config\RepositoryHelpers\Bootstrapper\HelpersHelper class$counts\Bootstrapper\Helpers::countsarray()array$config\Bootstrapper\Helpers::configThe config repository\Illuminate\Config\Repository__construct\Bootstrapper\Helpers::__construct()Creates a new instance of the helpers class\Illuminate\Config\Repository$config\Illuminate\Config\Repositoryslug\Bootstrapper\Helpers::slug()Slugifies a stringstringmixed$stringstringcss\Bootstrapper\Helpers::css()Outputs a link to the Bootstrap CDNbooleanstring$withThemetruebooleanjs\Bootstrapper\Helpers::js()Outputs a link to the Jquery and Bootstrap CDNstringgenerateId\Bootstrapper\Helpers::generateId()Generate an id of the form "x-class-name-x". These should always be
unique.\Bootstrapper\RenderedObjectstring$caller\Bootstrapper\RenderedObjectNo summary was found for this fileeJy1Vdtu4zYQfddXDIwAUrKR1d23eqPsJQW224cusC360CQNaGls0UuRKknFyQb+9w4p+iJbCdwC1YMtkTNnLueQc/GuqZookqxG07AC4aNS1ljNmgb12yhqDcJnIdqaS2bx5krJGZ/ffMVGGW6VfiST7OwsgjP4GQW5QCGYMfTtlt4T4jc274PSRhZ5q+BioqcI6PE47iHHe6aBac0e4fcKQbb1lKDVDCynPAFZUXWBoGIGpogSCiYElgEg8/+N5veUNBjLLC/gpFCttAZyuPbbt5T7XlwXrPAlgt6UGDZ7ud281JO9JJTFwmLp4jtDirof9kojARlgIHEJXFLCkqhw9VJCVdeldWf7yTRMs/rldNaB+2m1U0E9mbWysFxJuLsjI6KoLWxy6HrqfTqa3HNiK27Sy9CqfFua21wd1PebaOd8xn2FFIPL+XAZ3R6c9GzgvUbbagk1f9gnuCsi8LupxVC4JIDsZx6wGo3zO6JYkOSTOLv+60P6J0u//5D+mN6+yuJziFP6IQirhFqi3sCdPlfjl9Y2rXUVCi6/gVWeu43w4eqnX4eLniol4GTJbUXqqxE+IaE43+nG1/oNUvoShdhvS69Zw+QWxiQ7EXIgnvGA03sSmbPO+/Sml3O0STzdOcKTyebrj84pDn3xQIHGHEYXvhcaRR4b+yjQVIg2hkrjLI+zTKItJRtvwIpSjgtVZ5uF7Gmd1SqjIrYbYxL7mFbiy9E2MJ/BTpmnO7XtpjX+P/NKPVWD2QXJ7IgwZPTvFPXL3y3SwWSyfFlcx6tjYZIDLSy6KMdIoTMd0sFWwP9VUvsdG12YQvPGgtFFHlfWNpMsK1SJ4y4Lz1L3mj6FIlaejQWRcZF13pc9lOPo3ryvssW+DnvYo+fo/IQStRtHTAIv15f7TOkaRg+pv9xTN4bTh9HYDSIavKZSrSiBiSV7dGNuDdVKTqWNh++TryhL1Fh+mS5o7tDV7Aaj9qNNdUu2YjbMS3C0DGsGPoQ4lO0xt+481Pe5TIZTOBBZN8Fz8rR3/j1ZW+4w7w41N4b0YlDMJpMwxa8779vTg2Pu9wl10Pxtz3bQBF7l8Hrn2AIKouKZIK+PAczhzUvXQNfIycSPLV43gvScxEDz57pDOg+tOg9xb7dTaBX9A58w860=\Bootstrapper\RenderedObjectButtonGroup\Bootstrapper\ButtonGroupCreates Bootstrap 3 compliant Button GroupsLARGE\Bootstrapper\ButtonGroup::LARGE'btn-group-lg'Constant for large button groupsSMALL\Bootstrapper\ButtonGroup::SMALL'btn-group-sm'Constant for small button groupsEXTRA_SMALL\Bootstrapper\ButtonGroup::EXTRA_SMALL'btn-group-xs'Constant for extra small button groupsNORMAL\Bootstrapper\ButtonGroup::NORMAL'btn-default'Constant for normal buttonsPRIMARY\Bootstrapper\ButtonGroup::PRIMARY'btn-primary'Constant for primary buttonsSUCCESS\Bootstrapper\ButtonGroup::SUCCESS'btn-success'Constant for success buttonsINFO\Bootstrapper\ButtonGroup::INFO'btn-info'Constant for info buttonsWARNING\Bootstrapper\ButtonGroup::WARNING'btn-warning'Constant for warning buttonsDANGER\Bootstrapper\ButtonGroup::DANGER'btn-danger'Constant for danger buttonsRADIO\Bootstrapper\ButtonGroup::RADIO'radio'Constant for radio buttonsCHECKBOX\Bootstrapper\ButtonGroup::CHECKBOX'checkbox'Constant for checkbox buttons$contents\Bootstrapper\ButtonGroup::contentsarray()array$type\Bootstrapper\ButtonGroup::type'button'string$vertical\Bootstrapper\ButtonGroup::verticalfalseboolean$size\Bootstrapper\ButtonGroup::size\Bootstrapper\Therender\Bootstrapper\ButtonGroup::render()Renders the button groupstringsetSize\Bootstrapper\ButtonGroup::setSize()Sets the size of the button group$sizelarge\Bootstrapper\ButtonGroup::large()Sets the button group to be large\Bootstrapper\ButtonGroupsmall\Bootstrapper\ButtonGroup::small()Sets the button group to be small\Bootstrapper\ButtonGroupextraSmall\Bootstrapper\ButtonGroup::extraSmall()Sets the button group to be extra small\Bootstrapper\ButtonGroupradio\Bootstrapper\ButtonGroup::radio()Sets the button group to be radioarray\Bootstrapper\ButtonGroup$contentsarraycheckbox\Bootstrapper\ButtonGroup::checkbox()Sets the button group to be a checkboxarray\Bootstrapper\ButtonGroup$contentsarraywithContents\Bootstrapper\ButtonGroup::withContents()Sets the contents of the button grouparray\Bootstrapper\ButtonGroup$contentsarrayvertical\Bootstrapper\ButtonGroup::vertical()Sets the button group to be vertical\Bootstrapper\ButtonGroupasType\Bootstrapper\ButtonGroup::asType()Sets the type of the button group\Bootstrapper\ButtonGroup$typerenderContents\Bootstrapper\ButtonGroup::renderContents()Renders the contents of the button groupstring__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJy1WNtu4zYQfddXEEEA2cG6eehbfNk6XjcNmnUKOd3dIggKWqJtdWVSIKlcGvjfS44ombIky/a6fEgi6cyZC4czw/Q+xsvYcSheERFjn6BrxqSQHMcx4V3Huby4cNAFGnGCJRGbr+hn5LNVHIWYSnSdSMkouuEsiYWCa4lfFNt3vCgSqg+Xjh9hIYwMiCDyKgkNBPLUT8JJcD/7h/jSeXccpBaYoJcifcYcYc7xG3pYEmUBVYJSIDZHUj3PUjsWmtSIXMLvmDOpGEmAznOZPnp86lZrUOaGdAEq5FtMivR1xIDsIzdFuTXUM8Yi9HVJFB8H0oCzOGAvFIklS6IAzQh6JlyGPo4Q44gyWacwh/XRHEeC1GjUXojw3z290Mgy0YhRIfVOz5VJEeaLYqxFgc3XYHQ39G7GEA9JO4DqRIuKqBSoxQpHUSP19PPw7q5ILVZN1CrHON5Twfjbgzf8u0LNq2hSQxlXKoyGKu7Jvad4M9qAzHESySbWmIcrzN920P7h3X4een9lvEagMd6J7xN1GOt5p3+ORuPpNOM1Ak28IZ2zHaS3k1/vM0YNbaJ7wZzqA1nP+HXoTW4nNxmpEWjiDTBdqGNYT/tpOLkZe/lmAbyJlOMg3OW8N/x0C94DsInNXxL/+4y97iAc/TYe/X59/01zZvAK2rS4irpCmdcMTmTCqamBxTKRzKLQR/OE+jJU4hwYW234+J5C1TrHUskqFUQXWUpe0DB/0cpRej0WnvRyoTm4qD9QBXUZis4gr3If7YOYvXXRlfXa/VAmDLDEHckWi4gAranPwi1An/KntomcXuEctYwZui62LSe3HO0McBCMtO0FgW6OX29Y7RZkwGkkR+Z9y7bBbMdZLwif0bulcj14z5nWvUv1eXCW6luX9n5KZLrx5UZQnQQx5niVdoOdKSCInCpMC5ClRNhEQruatpYGA22jkGS6HUK/qclSULHTQpAu56gxzZgvSDS/uoKWVRF7AB9jOXSboy0H6f0sh1Z1Ssutbnm0/cAx3d8Jq+ue0hUos9X5nU6S+Sk63EXgbm3RbDtrs6k6IR7UoGhchl7Q7gxeQrnMT/+G6Bh3cd4y/iefM/ofcDvrWD/g+R6j/6kdL5ja4Lzx2q702d8nTO2sCx59RDOCugNqXTEkT8ixppcvUTu7joYf7ovJMJCuccdc0QByoC/29HRI7h06TW1mgG0XrFxy3eohJfVvcwfdHljUQEmwv8zxOSUW6DyUZLUtUFT8Uz9FdQuY9WbGQURdQ0+hE3zSH9VNQs/CPlGhTv9jUAVPzYR/KxgTO4MFkZAP7W41/BlHCSnAv+g3tfi9h9qCVE5uodvlKTVbj67eQnv81c9Plfg6Q+3tOutFeEYiBLHp60FZjZDwsHYHvZDGiSzNlBAYNVCCZDZS2qtymyvVV2QLENTlT/lIboqmAayd/wADjhzv\Bootstrapper\RenderedObjectInputGroup\Bootstrapper\InputGroupCreates Bootstrap 3 compliant input groups (for forms)LARGE\Bootstrapper\InputGroup::LARGE'input-group-lg'Constant for large input groupsSMALL\Bootstrapper\InputGroup::SMALL'input-group-sm'Constant for small input groups$size\Bootstrapper\InputGroup::size''string$append\Bootstrapper\InputGroup::appendarray$prepend\Bootstrapper\InputGroup::prependarray$contents\Bootstrapper\InputGroup::contentsstring$attributes\Bootstrapper\InputGroup::attributesarray()arrayrender\Bootstrapper\InputGroup::render()Renders the input groupstringrenderAddon\Bootstrapper\InputGroup::renderAddon()Renders an addonarraystring$addonarraywithContents\Bootstrapper\InputGroup::withContents()Sets the contents of the input groupstring\Bootstrapper\InputGroup$contentsstringwithAttributes\Bootstrapper\InputGroup::withAttributes()Sets the attributesarray\Bootstrapper\InputGroup$attributesarraysetSize\Bootstrapper\InputGroup::setSize()Sets the size of the input groupstring\Bootstrapper\InputGroup$sizestringprepend\Bootstrapper\InputGroup::prepend()Prepends something to the inputstringboolean\Bootstrapper\InputGroup$prependstring$isButtonfalsebooleanprependButton\Bootstrapper\InputGroup::prependButton()Prepend a buttonstring\Bootstrapper\InputGroup$buttonstringappend\Bootstrapper\InputGroup::append()Appends something to the inputstringboolean\Bootstrapper\InputGroup$appendstring$isButtonfalsebooleanappendButton\Bootstrapper\InputGroup::appendButton()Append a buttonstring\Bootstrapper\InputGroup$buttonstringlarge\Bootstrapper\InputGroup::large()Makes the input group large\Bootstrapper\InputGroupsmall\Bootstrapper\InputGroup::small()Makes the input group small\Bootstrapper\InputGroup__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJy9V99P2zAQfs9fcaqQmiJYH/YGLaOgCU0CbYJJe0Bochu3zUjtyHZgG+r/Pvvs/HKbtOmmRYK28d13d999vjijD+kyDQJGVlSmZEbhinMllSBpSsV5EAyPjwM4hmtBiaKyXIX3MOOrNIkJUxCzNFOwEDxLJYRzLkD/reRAexrnSw38TBZ1bL0wDGYJkRI+Gfcb4w30p6IsknCv/1NBo8/TH3SmgrcgAH1hMubSCXEmlYltoiVEaPRqFs5siJ8zYwu3k/ubjzCGPtqdot1psuift2PLFUmSXdgPd5PbWx9brrZgX74QjalEzBbwdUlBxr8p8DmoZa2AWoxUcKVZoBEcobmO04RMhCC/4NuSKHjV4EueJREYvlnUBGlXu+ClgrYBuuXdtWvudLeV7FB/7tKarsEmSseZZkaz+6NXnMbw+LQZxMpSNuAVqQiqMsFcqfVg2TSJZzDP2EzFnIFAwHCAi2/WVF9eJn3cJ30YX0CvojB4O1LLWJ5eGFWsezrf7f6MvsKkuBE6p9LkpGo/cFUjjGvWGHqjKH7R8Uq79UWvjBfPIYzld6Q/x3cyGAwqdVVB343BWVoSJlHEme9chlhvplUieLJoSslK/bCMnO+uhHqjoWbKcFOsOjU4IwuwbpQWYUBMXF9TKRFk5QR+hBZW5/hNcaekfSRY6N1ToS23GmFDlqUevOZb+8d+LK8ypTjrP7WQ3BvpRw0DFPW4NjKnivWruloDTSQ9BAnzqWNt1Y/L+4UkGe1Xd1CtpSbKPj31m/pAlR0Wu0ed12gXvhh42GyzkfMbfqdRpq2z5jVWy2vnHRbAGz2u7yjda3/oVus3xk2KLoovh0a7qMuZlRe7zxTvyEBlEG7EbeCiNkwr5ofy0f7MbxACOuW8mB/dy5dUPWjHELEaanUHDDTpWN8XO7MlSL6i2lBnredSUWR7eW7gA5aIu9E4108auc+U88RknA8bfT7R8ajAWNY31oMUprjanScXNcyTOqmEGsOc6JHUwF5ehXlm25FintklTjkf8X7+6+kwpv0SG6i1Nkis+7qF2a7k2MRDB+7TUUUrWMmNT0CJjA6aipukh6vIPqTBU1Ht/Pu/RGSDhi6l/SXkSvAUlKP8IwFZjv9GPx6nHWnpop6cyL3Ec0ee6cbx3L4fNhzSd6eM3ptHdDcv3UyVNJmfneE75qBjM7bnjO+dB+eM3vvljO+uu3JeB38AuMWf1g==\Bootstrapper\Exceptions\ControlGroupException\Bootstrapper\RenderedObjectControlGroup\Bootstrapper\ControlGroupCreates Bootstrap 3 compliant control groups (for forms)$attributes\Bootstrapper\ControlGroup::attributesarray()array$contents\Bootstrapper\ControlGroup::contentsarray()array$controlSize\Bootstrapper\ControlGroup::controlSizestring$label\Bootstrapper\ControlGroup::labelstring$labelSize\Bootstrapper\ControlGroup::labelSizestring$help\Bootstrapper\ControlGroup::helpstring$formBuilder\Bootstrapper\ControlGroup::formBuilder\Bootstrapper\Form__construct\Bootstrapper\ControlGroup::__construct()Creates a new instance of the ControlGroup\Bootstrapper\Form$formBuilder\Bootstrapper\Formrender\Bootstrapper\ControlGroup::render()Renders the control groupstringwithAttributes\Bootstrapper\ControlGroup::withAttributes()Set the attributes of the control grouparray\Bootstrapper\ControlGroup$attributesarraywithContents\Bootstrapper\ControlGroup::withContents()Adds the contents to the control groupstringnull\Bootstrapper\ControlGroup\Bootstrapper\Exceptions\ControlGroupException$contentsstring$controlSizenullnullwithLabel\Bootstrapper\ControlGroup::withLabel()Sets the label of the control groupstringnull\Bootstrapper\ControlGroup\Bootstrapper\Exceptions\ControlGroupException$labelstring$labelSizenullnullwithHelp\Bootstrapper\ControlGroup::withHelp()Adds a help blockstring\Bootstrapper\ControlGroup$helpstringgenerate\Bootstrapper\ControlGroup::generate()Generates a full control group with a label, control and help blockstringstringstringintegerinteger\Bootstrapper\ControlGroup\Bootstrapper\Exceptions\ControlGroupException$labelstring$controlstring$helpnullstring$labelSizenullinteger$controlSizenullintegerrenderArrayContents\Bootstrapper\ControlGroup::renderArrayContents()Renders the contents if given as an arraystringrenderLabel\Bootstrapper\ControlGroup::renderLabel()Renders the labelstringcreateControlDiv\Bootstrapper\ControlGroup::createControlDiv()Creates the div to surround the form controlstringsizesAreInvalid\Bootstrapper\ControlGroup::sizesAreInvalid()Checks if both the label size and control size are invalidintegerintegerboolean$labelSizenullinteger$controlSizenullintegersizeIsInvalid\Bootstrapper\ControlGroup::sizeIsInvalid()Checks if the size is invalidintegerboolean$sizeinteger__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJy1WVtv2zYUfvevODO8ys6cemnflthtmm1dgQID1r6lQUDLtK1VlgSSctol/u87pCiJpChZSVsBSWzx3Hj4nRtz8SrbZoNBQnaUZySk8CZNBReMZBll54NBzu1Xn/74EtJMRGnCP12liWBp/JaleVa9Rp7ZyckATuCKUSIor9nhJYTpLosjkgj8pJhhI7k5jNcpA/zZ8QnySvbXaM5nsrHV48JsEMaEczC1A/0iaLLi8A/+poyu/l7+S0MxuB8MAB9lkHxQ6p4wIIyRr/BxS4EIwaJlLs2UBlhGaZaZ+puxVKBEuoKRwTOH65vzYzqkUJoIDukahP5e77xNS8XVoQO9EiUbpYRH/1Gvgi75SPQB+Y5Lj8mSxlJ8L9GK+nEmK5ZOef0M3dI4A4FoUMcpJUdJlos2yZK8ReifiEV4TxjZ0zhQ6NjBMo/ilQShX5qkeVOQNIWW0UAgoXdoFRckCav9m2DWHJU1GRqxK+wxVcBl0hBjhkqHyfkyjkJY50koIxZub/FYkS0PxbihZqJY7gsB+IzENuKnC9OQubN1SXZoOKAITd6K0Gq/jIqcJfpUOw1nSuS4YaIVodLdl9WLcUVlbKamn1rL14FKNQHMFxDILZ4qg4ObimpyXmvVMJzD8GIV7eHeMOOwGGpEyCdaw1hrVtCeGLabkp7PSwOLjb6XxGND5cEr04js45JDBUsNv9+jfYf4iN+qpGbqkRlq0tf+S8l9pbksRUBjrDNHbdWsXgub5EZwP8lDw4sZnqM8uW51NV21qiGsidoi4gMVKhoMuHZkcCcfFPXFhLpTzxSBG1TKAZ0xdReJrREuDTUt+cAKOYPc4xTJ0OaSy9WqzhCq/Im0r0f0idSVE5+j9deRkeRxLDdlIAQeImxX3IKlkqum6nIyvBZblt7Z7UrVLMG7NUTcVscRFSRZQZIKWFJxR2kCZ6W0jkfynL04erZV/FV+mtr658oJ7jEXCQBtG4+s6Hn2rESA9M47/i7Zkzha2VRukCmXqMTs9Yqdo+UTfNwSUR5kcQ7otigJU8aw+MIpRAJ2OZceq52mXRJY4vz5zckwEsPNbNPMHiWd3Uj1BTvGP6+7n0fEfon0gq/EudlDuXiuWig/mm3WJ8O41vI0EPeEcFEHC21TU+tR6FakHcCtab4TbItT+nGgLeTPq77bt1yC1W2l+0JV5WVStNfLOA0/dwNT0VX9eJTIbEmkj55Wj/5CKWMltKX6KDVzq5/vu7O3NKFMd+ZrGS1W/Cn1uKKxVq7JM+rrizpI28PULF1SfknrrTIeVxviqwnIoZdhD1YmgCNpwOYzs94PKoZRIU1Klu2LnN1UTHbiY6PPr44+nRjq79oy443Gi8wWU4fPSCRNEcaiWps4acbIKPyS0WZOsWvtd8kw1Ewwv1QQVV+/JbuY53e66Mq7E0taQWu3GdL79s49LEaU950hVa1Gx2+iPe6OIGoSq+/tM1NW87szVjrTipt4qmkvCGr3YSBQEm7BHZGkaaNI0J174EZtksvXgXJqcNNAhqkTZ46QxPFtzim7lVbruazBUD7XzaF9CqWqaSubbZKXbALPIQDDA8a51WLkFQzauFF9VSFUvQtubMaR+JqpMlVzXAfynUuYJ4XLGmSTc0f3Y13mdZWyy+MowwA3oNqsCC6WDGaLoDPkusdGMwjMjN0H7N4LFH2v0IlwX5ozuilniPY2ys2Xr37DXIR9kCvPdZ/d52SMbm4ZzWIS0uYBDmfqzmY+Dh4+DSfj5yeT4tMsGjYPkGe4RbEeF/c889H92WF0/+KAuSU+5bvTn/no/uUhmDYMnHiwYJD06d0a1xVO99YPC+WtosSCvHTCaZnnDIsGpvmWyvwEmDQviRyslKK0O4sLsMKnQeXLYDGcelDQmuyvtjT8rNL7MsUmTNiVThYyq9Y1GwZPJ/Ok9qez9/HfJmiHLNO07Va7cm57s1C2IX3m89lMDmHKUdIRau5D87B/xpaQ7NE9oMQrdVYw/+SdjX7yDPtumOtNrknMqRfkaNSHFOQIRAk2ImlSeo2rUahqo0pTGpb4yuVjpzbDUsFy6paq6pP3DtI8i187bkaP+qrd8i6ub7LdBo3fervJa/MptpWjx0Vs2ccXE++xoORmYPliCD7i7l25aBw2y2eQMgw+maDkP3ywATw7m5YyjEehFDA+KLuLOO0TlYYreNWzNpJeYf0FGvLwoL8s0IbSR4f/AWAJRg8=\Bootstrapper\RenderedObjectPanel\Bootstrapper\PanelCreates Bootstrap 3 compliant panelsPRIMARY\Bootstrapper\Panel::PRIMARY'panel-primary'Constant for primary panelsSUCCESS\Bootstrapper\Panel::SUCCESS'panel-success'Constant for success panelsINFO\Bootstrapper\Panel::INFO'panel-info'Constant for info panelsWARNING\Bootstrapper\Panel::WARNING'panel-warning'Constant for warning panelsDANGER\Bootstrapper\Panel::DANGER'panel-danger'Constant for danger panelsNORMAL\Bootstrapper\Panel::NORMAL'panel-default'Constant for default panels$attributes\Bootstrapper\Panel::attributesarray()array$type\Bootstrapper\Panel::typeself::NORMALstring$header\Bootstrapper\Panel::headerstring$body\Bootstrapper\Panel::bodystring$footer\Bootstrapper\Panel::footerstringrender\Bootstrapper\Panel::render()Renders the panelstringwithAttributes\Bootstrapper\Panel::withAttributes()Sets the attributes of the panelarray\Bootstrapper\Panel$attributesarrayprimary\Bootstrapper\Panel::primary()Creates a primary panel\Bootstrapper\Panelsuccess\Bootstrapper\Panel::success()Creates a success panel\Bootstrapper\Panelinfo\Bootstrapper\Panel::info()Creates an info panel\Bootstrapper\Panelwarning\Bootstrapper\Panel::warning()Creates an warning panel\Bootstrapper\Paneldanger\Bootstrapper\Panel::danger()Creates an danger panel\Bootstrapper\PanelsetType\Bootstrapper\Panel::setType()Sets the type of the panelstring\Bootstrapper\Panel$typestringwithHeader\Bootstrapper\Panel::withHeader()Sets the header of the panelstring\Bootstrapper\Panel$headerstringrenderHeader\Bootstrapper\Panel::renderHeader()Renders the headerstringwithBody\Bootstrapper\Panel::withBody()Sets the body of the panelstring\Bootstrapper\Panel$bodystringrenderBody\Bootstrapper\Panel::renderBody()Renders the bodystringwithFooter\Bootstrapper\Panel::withFooter()Sets the footerstring\Bootstrapper\Panel$footerstringrenderFooter\Bootstrapper\Panel::renderFooter()Renders the footerstringnormal\Bootstrapper\Panel::normal()Creates a normal panel\Bootstrapper\Panel__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJyll99P4kAQx9/7V0zIJYA55cE3pZzoqWdyogEvl4vxYSlb6F3ZNruLSkj/99tf9BesraUPGujMZ2Z3Zne+9L/Fi9hxCFpiFiMPw2UUccYpimNMzx2nd3TkwBFcUYw4ZtlbOAUvWsZhgAiHGBEcMmEnTS8E5h+aF0niRc/xQsQYPEpjwO8ckxmDsfiLKZ49TP9ijzsbxwHxqKjyEZEjwrgM4kcUYhosEV2nAZVJT/33pB08ju/uh+M/4EJb2Rwbj/b5x2C28jwskrOCJ7+urq4nkwxsPKrAAfEjO/VudPOQIaVtFe8NURKQuR35ezge3Y1uM6rxqALPEJljaud+H45ur8cZVttXUrGPViG3Y0cP4/vhzxxWO+zhXrwiCohStIanBQbEOQ2mK9mUkQ9cfEPQazBHPIgIRLqb8uFiGnHxHZ7Bl5yrC88vllCideVGy1h8HeNtFJWmjawMXWA49M/O9NKq6QuMxBGoxdem1chpNFvXAkrDapwvTnLNDLXpLlKfc7YDSENSzFeUmKhF+moaBh74K+Kp4lKF6nTVy402FU+xrAS/wTD9opNaKUu+CNjxILP/Wnj93FYXVRvcAbRUrrAxLrK+SeslNe+eZ+HNfrnQ6s+CV+GS8ZNBy+yIfAIfOoan69nNrSKPOnG3qeol/1DWnVzQZC9VFrUu81LYVhN1Vesyb5S1hZpzavV7YqcKe2O6wBhpQLLTTBPMdSftXgJ7eytGFC3N3ZFvk+I9Um5FtaYPO/Et4Itck+0E2GnRcuOJbsmZ79kH6WDbhe1MRsWxaDlY1asxlN2DpbNmmD+J9u/oy80M2m7jnAsTt3HOhlIvZzPDG+dMctO8ccYSUS9dKQ4OyLWgFBqnayj1Mjba44Ck8yqkcc4aUi9lLWs+m3F6AdmUQenqMXee1gfy1pHjSX44gSFjqyXOAMfiHGI/eG9wFszCVBTL4o1AUSZN12zXK5ZVG4dM6zS7ac34MzjLAk0st6SV6i4yL1MKudbRKakKKkmV7dwuZ1xSDEp1uEYHy+BStcvpWHZQo3NxWnTgAQ9xe7Ap7EPS7y1OLYi2nr7t5tPXpjItbaDMt+q0WQsotaJAlvKrGG5B1zYpfS7DQwqvxVUpU8PZU3MZNaug/JSkCqmiFFqgfbz/RsVvr5+CyyfrYBSeQVpqYeK5pR8FTeqxf3kNKrKVprVroiNnVdGfq+qSyRwS0SUKDxxoGlJvoOlfnVUDLXH+Ay3V6ws=\Bootstrapper\RenderedObjectDropdownButton\Bootstrapper\DropdownButtonCreates Bootstrap 3 compliant Dropdown ButtonsDIVIDER\Bootstrapper\DropdownButton::DIVIDER"<li class='divider'></li>"Divider constantPRIMARY\Bootstrapper\DropdownButton::PRIMARY'btn-primary'Constant for primary buttonsDANGER\Bootstrapper\DropdownButton::DANGER'btn-danger'Constant for danger buttonsWARNING\Bootstrapper\DropdownButton::WARNING'btn-warning'Constant for warning buttonsSUCCESS\Bootstrapper\DropdownButton::SUCCESS'btn-success'Constant for success buttonsNORMAL\Bootstrapper\DropdownButton::NORMAL'btn-default'Constant for default buttonsINFO\Bootstrapper\DropdownButton::INFO'btn-info'Constant for info buttonsLARGE\Bootstrapper\DropdownButton::LARGE'btn-lg'Constant for large buttonsSMALL\Bootstrapper\DropdownButton::SMALL'btn-sm'Constant for small buttonsEXTRA_SMALL\Bootstrapper\DropdownButton::EXTRA_SMALL'btn-xs'Constant for extra small buttons$label\Bootstrapper\DropdownButton::labelstring$contents\Bootstrapper\DropdownButton::contentsarray()array$type\Bootstrapper\DropdownButton::type'btn-default'string$size\Bootstrapper\DropdownButton::sizestring$split\Bootstrapper\DropdownButton::splitfalseboolean$dropup\Bootstrapper\DropdownButton::dropupfalsebooleanlabelled\Bootstrapper\DropdownButton::labelled()Set the label of the button\Bootstrapper\DropdownButton$labelwithContents\Bootstrapper\DropdownButton::withContents()Set the contents of the buttonarray\Bootstrapper\DropdownButton$contentsarraysetType\Bootstrapper\DropdownButton::setType()Sets the type of the buttonstring\Bootstrapper\DropdownButton$typestringsetSize\Bootstrapper\DropdownButton::setSize()Sets the size of the buttonstring\Bootstrapper\DropdownButton$sizestringsplit\Bootstrapper\DropdownButton::split()Splits the button\Bootstrapper\DropdownButtondropup\Bootstrapper\DropdownButton::dropup()Sets the button to drop up\Bootstrapper\DropdownButtonnormal\Bootstrapper\DropdownButton::normal()Creates a normal dropdown buttonstring\Bootstrapper\DropdownButton$label''stringprimary\Bootstrapper\DropdownButton::primary()Creates a primary dropdown buttonstring\Bootstrapper\DropdownButton$label''stringdanger\Bootstrapper\DropdownButton::danger()Creates a danger dropdown buttonstring\Bootstrapper\DropdownButton$label''stringwarning\Bootstrapper\DropdownButton::warning()Creates a warning dropdown buttonstring\Bootstrapper\DropdownButton$label''stringsuccess\Bootstrapper\DropdownButton::success()Creates a success dropdown buttonstring\Bootstrapper\DropdownButton$label''stringinfo\Bootstrapper\DropdownButton::info()Creates a info dropdown buttonstring\Bootstrapper\DropdownButton$label''stringlarge\Bootstrapper\DropdownButton::large()Sets the size to large\Bootstrapper\DropdownButtonsmall\Bootstrapper\DropdownButton::small()Sets the size to small\Bootstrapper\DropdownButtonextraSmall\Bootstrapper\DropdownButton::extraSmall()Sets the size to extra small\Bootstrapper\DropdownButtonrender\Bootstrapper\DropdownButton::render()Renders the dropdown buttonstringrenderItems\Bootstrapper\DropdownButton::renderItems()Render the inner itemsstring__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJy9WW1v2zYQ/u5fQQQF5ATN/GHfWtur62SBgTYp7GzdEAQBbdG2NloSSCppFvi/7/hqSRYly8uiD0lE3T13z/Hu+JL+L+k67XRivCE8xQuCPieJ4ILhNCXsY6fTOzvroDM0ZgQLwndf0c9okWxSGuFYoAuWpGHyFKPPmRBJzEFDKn0CwL/xqogJH3qdBcWcOzWthcgPQeKQoyn8JIyEN/O/yEJ0XjoIHuWHfM7QRfQYgQDYj7kA82a8p36rQXQx+X1ycTlFA3TSpxFS5gZBqBWDYb9Ho+EJsCshjw0iWiYMpSzaYPaM5pbTnpVv08nX0fRPsBLMRXxuFIIG3BDHK/DeD3sxur5SvitULd4E+oRZHMWrGtTvo+n15PrKwhqFJlyeLRYEpsqPO/ttPL6czSyuUWgMAlnijIoa3Oub6dfRFxcFLd8EG8XLpAZzcv3rjUWUok1wFDPIXj/el9H06tIC0uZgbjCldaEEwo4x3zTBQb0w3Ah6+cftdPRQgP5RNT2fHjF4KJjMots1Ae5zQpUdsY5sAhTwU5YIKFASondK2IOJGcPPChIcggoXHCVLACUotG2jHtypDdDdfbPj4jkl1kI9sJJsTLAyPo/+ORBfSnrw5klC0fc1ARDmYoEioIr4OsloiOYEweQS6JjQeJsMQR8WwGSJKT/Yooa05pT9LPVZkJ+z1G9iRoQC1VlTFR3nTIoZ3piUcYOMiIzFMCWQa0UfsjmNFmiZxQsRgbtKjZKwqwFOlZBeIuSjAM6H2o1BMTHlk7fzUY1uvVzK6VpHRyf5LlUPT/cW3J8isR4b0G7JoicQudpxou3DwZX/3sIqxcLUii6v2opswZ0TcQswXYXqIWvqWYkcS9Jb3R6SSr62LbQjOQOYrkL1kFR2BoXmcjBJ2SZ4DbXDHZVIXZ+HphsJlh09DaY5iaTUmFB7X3Xr8jnrGtsR3tpNMUZxwmAZ9lW4J3V0k3JrbXtm2qrphHIhC3wzYoqHE7r88EHvrE49ZE3zzLXYZvp2q1zN//+ib6y25m+27a8ZALOnf1v+2mhr+vp48Zrs7eHjbekbq635m4PQawbAnpLeNgDGausAmBPbawZAnbvelr002Zq6PAD+d97FzQKsUeqcePwKpdS9q6nZE2gC6sTpY+D8bXRYHRqPd1ipH+awOng2Otzkb+6oe7zXCmR2uOu5k3NbAvoKi9ds+8vu67qo9Z8p0D3foyXqFjYzp7mPipypOXkZFkaP9jZMnnpXLIHNj1YL5I2Y1dkiAue8lkBFhF1wsQA9YE/kMSQmT2jkBroFA3eFN/kEykaABkN0AnbQS26rv3WhPRfJakXJyft9/RALbD4rlMDqBBXCElVL6bkKCiL37i2fDrnwq117OWY78udDHIZjyaegkA9ZJarcTu/PqRwdHRpYFdxcLHNe2eH79xX87wsoOVerfHBI4AxkygMjKcULsu9JUJ64qrmoGPMarPdSJ+1PMmvNseKljLQdvuTXgG2/pyXzCe0HwzmcPk9xbCtjgaG65XWzHBxWgdbWmd9K0VvU1uguzwqmMupuyu38bEicBYgllAwC/TdmET63K+X8GWS/yJdC7edQjaO6d00E2fDuaaXgSb+XUQ8IfIN+427s5WO7sBaq78OqDUdxDH9F0oMWLdjdgJW6sGFSXkZcgwyCHZFlAvukxdoVtLuTwRy9kw6Vi1sWf8Qf1A1PV0uURfYCRKNhH6M1I8tB8KJ07oKM0eB+Gwztu5o1GOn3sPsXSB6wMhnL8ymhSmpViVU9P9vOv5AqQvw=\Bootstrapper\RenderedObjectButton\Bootstrapper\ButtonCreates a Bootstrap 3 compliant ButtonNORMAL\Bootstrapper\Button::NORMAL'btn-default'Constant for default buttonsPRIMARY\Bootstrapper\Button::PRIMARY'btn-primary'Constant for primary buttonsSUCCESS\Bootstrapper\Button::SUCCESS'btn-success'Constant for success buttonsINFO\Bootstrapper\Button::INFO'btn-info'Constant for info buttonsWARNING\Bootstrapper\Button::WARNING'btn-warning'Constant for warning buttonsDANGER\Bootstrapper\Button::DANGER'btn-danger'Constant for danger buttonsLINK\Bootstrapper\Button::LINK'btn-link'Constant for button linksLARGE\Bootstrapper\Button::LARGE'btn-lg'Constant for large buttonsSMALL\Bootstrapper\Button::SMALL'btn-sm'Constant for small buttonsEXTRA_SMALL\Bootstrapper\Button::EXTRA_SMALL'btn-xs'Constant for extra small buttonsBLOCK\Bootstrapper\Button::BLOCK'btn-block'Constant for block buttons$type\Bootstrapper\Button::type'btn-default'string$block\Bootstrapper\Button::blockfalseboolean$attributes\Bootstrapper\Button::attributesarray()array$value\Bootstrapper\Button::value''string$icon\Bootstrapper\Button::iconstring$size\Bootstrapper\Button::sizestring$disabled\Bootstrapper\Button::disabledboolean$appendIcon\Bootstrapper\Button::appendIconboolean$url\Bootstrapper\Button::urlstringsetType\Bootstrapper\Button::setType()Sets the type of the button$typesetSize\Bootstrapper\Button::setSize()Sets the size of the button$sizerender\Bootstrapper\Button::render()Renders the buttonstringnormal\Bootstrapper\Button::normal()Creates a button with class .btn-default and the given contentsstring\Bootstrapper\Button$contents''stringprimary\Bootstrapper\Button::primary()Creates an button with class .btn-primary and the given contentsstring\Bootstrapper\Button$contents''stringsuccess\Bootstrapper\Button::success()Creates an button with class .btn-success and the given contentsstring\Bootstrapper\Button$contents''stringinfo\Bootstrapper\Button::info()Creates an button with class .btn-info and the given contentsstring\Bootstrapper\Button$contents''stringwarning\Bootstrapper\Button::warning()Creates an button with class .btn-warning and the given contentsstring\Bootstrapper\Button$contents''stringdanger\Bootstrapper\Button::danger()Creates an button with class .btn-danger and the given contentsstring\Bootstrapper\Button$contents''stringlink\Bootstrapper\Button::link()Creates an button with class .btn-link and the given contentsstring\Bootstrapper\Button$contents''stringblock\Bootstrapper\Button::block()Sets the button to be a block button\Bootstrapper\Buttonsubmit\Bootstrapper\Button::submit()Makes the button a submit button\Bootstrapper\Buttonreset\Bootstrapper\Button::reset()Makes the button a reset button\Bootstrapper\ButtonwithValue\Bootstrapper\Button::withValue()Sets the value of the button\Bootstrapper\Button$value''large\Bootstrapper\Button::large()Sets the button to be a large button\Bootstrapper\Buttonsmall\Bootstrapper\Button::small()Sets the button to be a small button\Bootstrapper\ButtonextraSmall\Bootstrapper\Button::extraSmall()Sets the button to be an extra small button\Bootstrapper\ButtonwithAttributes\Bootstrapper\Button::withAttributes()Sets the attributes of the button\Bootstrapper\Button$attributesaddAttributes\Bootstrapper\Button::addAttributes()More descriptive version of withAttributesarray\Bootstrapper\Button$attributesarraydisable\Bootstrapper\Button::disable()Disables the button\Bootstrapper\ButtonwithIcon\Bootstrapper\Button::withIcon()Adds an icon to the buttonboolean\Bootstrapper\Button$icon$appendtruebooleanappendIcon\Bootstrapper\Button::appendIcon()Descriptive version of withIcon(). Adds the icon after the text\Bootstrapper\Button$iconprependIcon\Bootstrapper\Button::prependIcon()Descriptive version of withIcon(). Adds the icon before the text\Bootstrapper\Button$iconasLinkTo\Bootstrapper\Button::asLinkTo()Adds a url to the button, making it a link. This will generate an <a> tag\Bootstrapper\Button$urlgetType\Bootstrapper\Button::getType()Get the type of the buttonstringgetValue\Bootstrapper\Button::getValue()Get the value of the button. Does not return the value with the iconstringgetAttributes\Bootstrapper\Button::getAttributes()Gets the attributes of the buttonarraygetValueWithIcon\Bootstrapper\Button::getValueWithIcon()Gets the value with the iconstring__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJzdWdtu2zgQffdXEEEA20WaPOxbE6d1LhsEm0vhZLe7KIqCtmhbG5kSSCptN/C/7/AmUbIoWUobFBWKJpGGhzOHM0Ny5uhtskx6PYpXhCd4RtBJHAsuGE4Swg57vYNXr3roFTplBAvCEc6/o9/QLF4lUYipQCepEDEFSSn8DoAe8KKIBR8OerMIc26EEfkqCA04msD/hJHgdvovmYneU6+H4FETywcmjykXcpZ5zFBA5jiNBJoqEG5kDtTPmRREN7eT6/EVGqH+VNDXRr5/WA+bsHCF2bca2PeTy+vx5B+LawY04fJ0NiNgsx/37s/T0/O7O4trBjThhnQe14Be3vx+axGlaBPcF8xoSBc1iB/Gk5vLmwsLagY04QaYLgirgT0b31ycT7LFUuJNoBoNRSF9qIK8urz5wwJKmSa4CDPwVb+KV+PJxXkG2GgyX+EoqltvcM7MO/mqCQ6ihOFG0PO/7yfjzwXor40+NI3i2UMN6MnV7WnGpBKuQHz3iMFmwaT33C8JEt8SguI5EkvLaQE5YbGAKCcB2lWSjVGq8KdxHKEPSwKgzEFGocxIrhkIzKKx8E2pRUdojiNOPHNhxvA3ZQoWYBbgQt7byiBHfoQ+fmrmCmiGFCi2hH/EUaoI22IVQoDeQ+EcxZQgvozTKEBTglJOAh+8HNIMzMP/tlxeKdlyOXNFg5DjaeRX1n6vm+CeAV2hVlUa58DjuTAzC4gv73rCvkWDy614SVmERKxykvyppgXvhH/qVT1VMHhzhjsCjiHqIirTJcEMr0xAOTpR8qVi8D4ac57Cdg/vsNAfIAItWOFJGJmHX6UVcqlIUf90GoUzNE/pTISSXSLuYbKBUmOoRJ56FmhXsvH62IS8EjlUH9d+u72uVrZbCZbs3hz8A+2+g8kGSg2P3UqbkY2Jarv1MYjXmMuISBm1lmKZ+/TvtfoxhTsoa3ZwIJlGaQIGUB5CMNmjFc+1t29kPuvLReuj0TFkbKVefw/11YFOvdwBMtGTs87rHZsB5QMBMTAfwduHjiJGmTFFR/gYCbywcQp5HC3xI0Sr9uIsvRaGphQWYJBpatT8NDzMpNa5FsUULf1knL2w6uUiezkBQ8cUqWwQaA/DNDD7D2yrIuXSTkpIYDNX0XLlISXTHZVg7iA4lYwWBlRa4qCq+beD5SSav3mj9vVqWGNbljI3zcm2ITO7Entr/1oQ8Zf8/iEUS5k4B0P0xn5TA4s8Sg+0qVxxCb5RZaKVqbHyY98K9T/JTTL7q4m+CncswC4hFyjIXN5Hnb4lKfZYuFgK6c1OKgDXdlGAtT7uAz82nhxuTKjvHD3JYWsIrFyl9fGTXoT10YH+fLzjSyr5vc1ssV9gYZC+hu07By9FvtR7ET4Smh1MqhOuSUC72fHFf5ap+lSZcZ2nkPyyrHdSsYOWMh2NGRyTB7le8qzky8hmt9IRoa+Mw80FMNKSNeXXOfiwkXLq49zeNX8Fzo0tXUg3F+qXYt3exH8F1o0tXVg35YaXYl3VKX4Q5R2Ik+p0YU3WU16KMluL+XlYMxp1Ic6UjV6KO1Nv+nmo0wp1YU5Xxl6KOHVL/Xlok+p0IU3W/r4PZdk11BAGl3pZOChUmzwXNDVbrXkKZONK5p7nwWTBCsdlF9yn9DV+IAWt4YaYTleheK7CGsWnsXtc1tcvuWJ6TMWptq0JjMAiP9cCBdLOADWkrf6Z3+h70jb1Cy1ZKmD4h7cw2nH4vHro4SC715Xvaa2sLkWLW1vvvHQKxLd0tvxi4l/W6n0JoK3ybtG9e+RIkO2UV+X776Q8rWgcdLZBQd1tb4jTjehsTkPxvRxDjrgu4I+p+QVGOx+BHhwE7SmQkeTUijS0M2tjYoHIUoM+r4j05t1Cmaks3Ja165jJ8h2fsTARsHmjR8K4VBuML2pepo8TUi1hmd2wtNwa6cooDGpD6OZO7pbuCtRVc3SmC0JbFFibdTfFJV80ZCWtTpv4OAjUSU1V1oDdJt/XMytpVO4BlVdHj1DtEdPeKPRhym2SIJB1uUKzBMXMolU9UzKPs4J5y/hSBcNd3bqy2mkGPTwrdUe2dVX6mHdvpIj+q+VKnPkjShc39/ViZdRV9pU2Yk2OLecvzXz94m0fWpnpms7mWHKpV4R/N0q0Q3g5+RHmJ4w8x37VHPYSoKPT9vvy2NxDK/wg1YfDNlb3l32wJORADWzAC0IJk7VhnLU5PExIYG9fsYMr8CsYeh8PJLAnjOQcI7cLuW18XBCxZYey0LqqVXhh7nP1a1bXQLRaVZyg99FZDDuA7CwZvFxQ3Yit2z5Lf33irjfAHLK9FrQ7BBlstYk2aedsm/Uq5pM36tmWweItp6hx1hbfoDRvKpX0dro5eeorN3Uq+Edv0c6T+2KddTClCeudvHlV3GLWiECOaDeBQkTF6fwTGMbXvf8Bi+BDUA==\Bootstrapper\Facades\BootstrapperFacadeDropdownButton\Bootstrapper\Facades\DropdownButtonFacade for DropdownButton classDIVIDER\Bootstrapper\Facades\DropdownButton::DIVIDER"<li class='divider'></li>"PRIMARY\Bootstrapper\Facades\DropdownButton::PRIMARY'btn-primary'DANGER\Bootstrapper\Facades\DropdownButton::DANGER'btn-danger'WARNING\Bootstrapper\Facades\DropdownButton::WARNING'btn-warning'SUCCESS\Bootstrapper\Facades\DropdownButton::SUCCESS'btn-success'INFO\Bootstrapper\Facades\DropdownButton::INFO'btn-info'LARGE\Bootstrapper\Facades\DropdownButton::LARGE'btn-lg'SMALL\Bootstrapper\Facades\DropdownButton::SMALL'btn-sm'EXTRA_SMALL\Bootstrapper\Facades\DropdownButton::EXTRA_SMALL'btn-xs'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\DropdownButton::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtkV1rwjAUhu/zK4I33QqjP8CPtdoqBe1G3ScMRkxiDatJSNLpEP/70rQdVnZuAud9znuSvKN7uZMAcLSnWiJM4VQIo41CUlL1MUcYEaqHAAS+D6APmwbcCgVjJSQRBz6tjBEc4hJpbZGaCq3TFyr+N3OApldi380yAXCO12vo0VBOdG+4MQYnAG1hwbWBcfqSxkkOx3AwKllzubFH2DcjVHmTUVCyyWB4MfCYp6sof7cD3sbwO6nYHqkf7xKJo2zhLB1BEC+s1SXwGuVZmi064oAUZ7zoIevn2SxZrztEVxhTrXtIms0fOp3xreiJyyhfJJ1aXnmvouXyz3nf05K3pzz67BHHeq1DXLZ1+fAUMr6jihki8LltdlqoqKkUh/bb7bPabuBOqYSh2FBiRWQYhtuKY8NsXgU1TTyRe6lQN7duogmrrtbVI23QGxd0e/szAGfwC3D3zXs=\Illuminate\Config\RepositoryIcon\Bootstrapper\IconCreates Bootstrap 3 compliant Icons$config\Bootstrapper\Icon::config\Illuminate\Config\Repository__construct\Bootstrapper\Icon::__construct()Creates a new instance of Icon\Illuminate\Config\Repository$config\Illuminate\Config\Repositorycreate\Bootstrapper\Icon::create()Creates a span link with the correct icon linkstringstring$iconstring__call\Bootstrapper\Icon::__call()Magic method to create icons. Meaning the $icon->test is the same as
$icon->create('test')string$method$parametersnormaliseIconString\Bootstrapper\Icon::normaliseIconString()Replaces underscores with a minus sign, and convert camelCase to dash
separatedstringstring$iconstringNo summary was found for this fileeJydVE2P2jAQvedXjBBSEkQ2qnpbvtpy2sP20PbUpUImMcHaxI5sB1oh/nvHjknCBuiqPkAyfn7z3sw400W5Kz2Pk4KqkiQUvgihlZakLKmceF6lKDzleVUwTjRdLQXfsmz1jZZCMS3kH4TEo5EHI1hKigjVEsBHSERR5oxwDU+J4AphBvkJE72S7DIXbsRekhOlLNY7eh7gsuRm4bE9kbC6JwZ+7CjmNFGQTdSdj+1/KYWmiaYpDGvgpJfnbIQApwdgXGnCsTBiWwurUY2okkhS/EOWS/UeedUmZwlsK55oJjis16ZuWlaJDvqEoT1zrBlwDfWOqWjuUsxai2bzdMcotp5DzvgrHJjegbY6pcRCAUMOu3XdOGpjPIOhhRl/9sGMUwOUVFeSO+Rdt4kVFFiynrcNUXRp52N2aTSaZ1QH/qYzTI+PhmJdSrplv/1w0rJYeQ0BF7IgOVPUdPa7Feiyu7Ewy+kfTG2V7IjO/GOr5wTdl+hoCU7+fBqbA/PBrfI/kwzNF1TvRApaOPe2gOoBninhprKmF5YxmmOvsB/KhhRWGIg6czmEK6BvkH54vWNDl9Gs6w1zOPtHNZXK4trXB/gqNOCXIf2PHuNEkzwPnIpxN83bljvSc7PdcNQHw1tVxVuS43dMQcVT5MQxxmc71QTwglYKFMv4GAhPzV3cU6khQQH5Elto2pAStTuTKWrU6cboneF/Tykk25sON7W4PX5vKhHH5oNhfPVttaa6cGMPLwNXW8wBWymK1mWdyY6cCUUJxqKu3s5FwbAWuThQGTR7tRearZ2myx2z/DhYTGer1SEMFrOXz9HPX2Hsj3uwQTT8MOiHMWdD7a/9MfgR/nQKc17t25X7avHnKTl5fwEhkAkJ\Exception\ExceptionMediaObjectException\Bootstrapper\Exceptions\MediaObjectExceptionExceptions for the MediaObject classNo summary was found for this fileeJx1jk0KwkAMRvc5Rdbd9AAKiuBSvICbOP209WcmTFIoiHd37KItgtsvj/ey3mirFOUJUwngXUpunkUV+bQfAtS7FG1FRL2Bp6UMdVURV/NkfEmZvQUf0HRyPN8QnMNDzAr3RbclcZfr38rIGH7uC1sBahqNy8YkYAyO2Nj8E72I3vwBbsFPOQ==\Bootstrapper\Exceptions\ImageException\Bootstrapper\RenderedObjectImage\Bootstrapper\ImageCreates Bootstrap 3 compliant imagesIMAGE_RESPONSIVE\Bootstrapper\Image::IMAGE_RESPONSIVE'img-responsive'Constant for responsive imageIMAGE_ROUNDED\Bootstrapper\Image::IMAGE_ROUNDED'img-rounded'Constant for rounded imagesIMAGE_CIRCLE\Bootstrapper\Image::IMAGE_CIRCLE'img-circle'Constant for circle imageIMAGE_THUMBNAIL\Bootstrapper\Image::IMAGE_THUMBNAIL'img-thumbnail'Constant for thumbnail image$src\Bootstrapper\Image::srcstring$alt\Bootstrapper\Image::alt''string$attributes\Bootstrapper\Image::attributesarray()arrayrender\Bootstrapper\Image::render()Renders the imagestring\Bootstrapper\Exceptions\ImageExceptionwithSource\Bootstrapper\Image::withSource()Sets the source of the imagestring\Bootstrapper\Image$sourcestringwithAlt\Bootstrapper\Image::withAlt()Sets the alt text of the imagestring\Bootstrapper\Image$altstringwithAttributes\Bootstrapper\Image::withAttributes()Sets the attributes of the imagearray\Bootstrapper\Image$attributesarrayresponsive\Bootstrapper\Image::responsive()Sets the image to be responsive\Bootstrapper\Imagerounded\Bootstrapper\Image::rounded()Creates a rounded imagenullstringnullstring\Bootstrapper\Image$srcnullnull|string$altnullnull|stringcircle\Bootstrapper\Image::circle()Creates a circle imagenullstringnullstring\Bootstrapper\Image$srcnullnull|string$altnullnull|stringthumbnail\Bootstrapper\Image::thumbnail()Creates a thumbnail imagenullstringnullstring\Bootstrapper\Image$srcnullnull|string$altnullnull|string__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJztWMlu2zAQvesrpkYAyUGWQ29Js7ip0RpInSJLgSIJClqiY7ayKJCUkyD1v3dIypRky1Jr9NRWhySUZt68mXnc8uYknaSel5AplSkJKbzlXEklSJpSceh5may+uus/hTRVjCfybjAlD9SN0Xh/e9uDbTgTlCgqCz94DSGfpjEjiQKmvSTaadNTjPkdx5UY+GHfC2MiJZgQQJ8UTSIJl/iTChpdjL7RUHkvngf4mKj6wchIS+kgYy5AYEY4ZjNqY+ZG++Z3qC1h8LH3vv/1sn/16WJ4NfjchyPw2fRht3D1D1uC8Aw5RS6rdSEubobv+u8cvvVqAw+ZCOM29meDy7Nzx9y6tAGrSTYdJYTFLdjXH24+vh32BucLeOdYE+F0RgRgD1nyANeTnDZInomwGiEVXGH/sGpbUoTtQCRWoFADOfW6gpQgtTWyXUeQCEGeLazCEKNMK5WPfwG3MD+C2/tVeKtOuYLkwguqMpHkmbm3aiL4Y650N5lgUGKU1xCYhIQrkFRVOWajmIUwzpLQuArDI+iajy/WFB82huDVlpowuXuMZe+WPunH0ICEPi4xCTpfeAbTDDUhUxqy8bMhZil1uocOZO65P6u10pg99yKoRM35FPY7lc+3PjL14egYCuI74GOLyy9xeO/cuocFj7zgnTcoXXgpsZofdyzx+UoXr6iSpQzrpOFalxJBpgulbuUO142+TgWGe2MfH5maXBmgIMdebmlRFCxzbrOavrFqTddNsl9PWLtct7j+Zr69WAUad02mdm5rg43TbJz0S4nataKkmw2TKsRfwlqXYnnqlMw3TdiuIIrDiJZ2xDVLU3s+BcTKArNIIIrO9N4dSBqPDw6Wt9ia+dmYyOIwQapbbX3DkiyOf7j5iNNizWTcg0/6dKHNdWn0IQe/LcDWPamgM8YzCTMSZw6wssHVEmmcJ6tU2mho1yqVDdpoaxls2bVDR99ZbJ168Fu9tWebcmPNXsMk7lQmQnd5s8nDFutXeRupA9FLwgpIvhq4paF2LyqXZPe4sqYiMfvGrTrtIqw5kv3X4GYatKX8IxK0Z+B/Q4H1Z/f/ItxMhK6af0SH7r70N0uxF0VmJTQXdOxU9VjVfGS0TloD9q9HitcD3NMRBgu6QKseIFmiqEhIDEMupiSOn9HLjxZaLV0tgJv/CwAONHDEE1/BhMyahUTCkNpEmMI8QNcGUo5R4WA3aBSP04DNq/VEd+sbO/8eO5X3cq1JF06ab0oF2B508HZjRvMOHFTdzGvXyrn3E8OiAiY=\ExceptionCarouselException\Bootstrapper\Exceptions\CarouselExceptionExceptions thrown by the Carousel ClassNo summary was found for this fileeJx1jEEOgjAQRfdzir9mIQfQRCNx6Q3cFBiFCG0z0yLEeHeLiZCYOKuf+e+/3d43nqzpWb2pGEfnggYx3rNcTmPFPrTO6pYozzJChvWH0Ih7WJRTSozCiIvKHYrOqCZ0pg9Jeje3v94Po/zTf1WpzamadYt9mYLHwLZWrDZ6EiFdnqOIImxDN4F7H6YNzmZCyRDu3cA1WguDawxRGAOLzmt64Q2oWl1b\Bootstrapper\Facades\BootstrapperFacadeLabel\Bootstrapper\Facades\LabelFacade for the Label classLABEL_PRIMARY\Bootstrapper\Facades\Label::LABEL_PRIMARY'label-primary'LABEL_SUCCESS\Bootstrapper\Facades\Label::LABEL_SUCCESS'label-success'LABEL_INFO\Bootstrapper\Facades\Label::LABEL_INFO'label-info'LABEL_WARNING\Bootstrapper\Facades\Label::LABEL_WARNING'label-warning'LABEL_DANGER\Bootstrapper\Facades\Label::LABEL_DANGER'label-danger'LABEL_DEFAULT\Bootstrapper\Facades\Label::LABEL_DEFAULT'label-default'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Label::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtkW9LwzAQh9/nU9y7aUH6Aaa4bnZjUKt0DhEEiem1C3ZJSK6ojH13s7RS//TeBO733MNxubw2O8OY4nt0hguEudbkyHJj0D4vueAluiljcRQxiKBrQKUt0A4h46/YgGi4cz49ATMveeP1uCcADv+EQeKjmAVRL8UPQlW6X2inYQfGwJfQyhFkyTzNXu6L9W1SPMEVTJrT+IWxcs/t52T6D91sF4t0sxlQ1wqBzo2g63x5N3BSVXoEekyKfJ2vBu6dWyVVPYLeJPkqLQay5KpGOwamy2SbPfwgseJtQx4NbPiNU0VwmEm1Qyup1OLYN7+zmUVqrQJ/P79Q343Da6wmFISlDzlJAVWrBEmtoEbq7pyEs2h7dh4mDt28r97ardZvf2TsyL4ASEWxNw==\Bootstrapper\Facades\BootstrapperFacadeProgressBar\Bootstrapper\Facades\ProgressBarFacade for ProgressBarPROGRESS_BAR_SUCCESS\Bootstrapper\Facades\ProgressBar::PROGRESS_BAR_SUCCESS'progress-bar-success'PROGRESS_BAR_INFO\Bootstrapper\Facades\ProgressBar::PROGRESS_BAR_INFO'progress-bar-info'PROGRESS_BAR_WARNING\Bootstrapper\Facades\ProgressBar::PROGRESS_BAR_WARNING'progress-bar-warning'PROGRESS_BAR_DANGER\Bootstrapper\Facades\ProgressBar::PROGRESS_BAR_DANGER'progress-bar-danger'PROGRESS_BAR_NORMAL\Bootstrapper\Facades\ProgressBar::PROGRESS_BAR_NORMAL'progress-bar-default'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\ProgressBar::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJx1kVFLwzAQx9/zKe5tWhj9AFNsO7cx0HZ0iC/CONNrV5xJuaQolH53s7aKs/ZeEu6f349LcnNXHSshFL6TqVASRFpbYxmrivhljRIzMgshfM8T4EHfgFwz7FgXTMZEyC45h4ETvGHxv6M7YOhPeCnxhTyhMb/VQJ+WVGYusF4pGiHAldTKWNilySZd7feHKEwP+6fl0u3hFmbV4Jq/Is9NLaXbzxZT4DZeJyOqVLmeRp7DNN7GmxH1gaxKVUyD92G8WaUjLkNVEE9jcZI+hg9jjHKsT9ZxHdj917k8aIJSHYlLm2nZDs3vLGCyNStwL+tmHbp+tzq7JWkpcyHaUkJeK2lLraAg2/9A2L2m5qvrjmh63tVg/ZnQDThcqBWiFV8T18Rh\Bootstrapper\RenderedObjectLabel\Bootstrapper\LabelCreates bootstrap 3 compliant labelsLABEL_PRIMARY\Bootstrapper\Label::LABEL_PRIMARY'label-primary'Constant for primary labelsLABEL_SUCCESS\Bootstrapper\Label::LABEL_SUCCESS'label-success'Constant for success labelsLABEL_INFO\Bootstrapper\Label::LABEL_INFO'label-info'Constant for info labelsLABEL_WARNING\Bootstrapper\Label::LABEL_WARNING'label-warning'Constant for warning labelsLABEL_DANGER\Bootstrapper\Label::LABEL_DANGER'label-danger'Constant for danger labelsLABEL_DEFAULT\Bootstrapper\Label::LABEL_DEFAULT'label-default'Constant for default labels$type\Bootstrapper\Label::type'label-default'string$contents\Bootstrapper\Label::contentsstringrender\Bootstrapper\Label::render()Renders the labelstringwithContents\Bootstrapper\Label::withContents()Sets the contents of the labelstring\Bootstrapper\Label$contentsstringsetType\Bootstrapper\Label::setType()Sets the type of the label. Assumes that the label- prefix is already setstring\Bootstrapper\Label$typestringprimary\Bootstrapper\Label::primary()Creates a primary labelstring\Bootstrapper\Label$contents''stringsuccess\Bootstrapper\Label::success()Creates a success labelstring\Bootstrapper\Label$contents''stringinfo\Bootstrapper\Label::info()Creates an info labelstring\Bootstrapper\Label$contents''stringwarning\Bootstrapper\Label::warning()Creates a warning labelstring\Bootstrapper\Label$contents''stringdanger\Bootstrapper\Label::danger()Creates a danger labelstring\Bootstrapper\Label$contents''stringcreate\Bootstrapper\Label::create()Creates a labelstringstring\Bootstrapper\Label$contentsstring$typeself::LABEL_DEFAULTstringnormal\Bootstrapper\Label::normal()Creates a normal labelstring\Bootstrapper\Label$contents''string__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJzFltFu2jAUhu/zFEdVJSga42J3hbKmjFZIjE6BatrVZIID2YIT2c4oQrx7bcdJCBQ8MmC+AELO+X/7y3GOW5+jWWRZBM0xi5CL4SEMOeMURRGmTctq1GoW1KBDMeKYwTi9C5/ADedR4CPCIUBjHDARJ0PvhcxvNC0qiRsNyw0QY9CXwYBfOSYTBo74xBRPnse/sMutlWWBGMpVDuEcEsaliRdSiKg/R3SZGaqQhvp2ZRz07Ydu/+c3p/fVdn7AHVRUZF3nVZqH5VnsulhM0SA/fOl0usNhLq/zTPI+8UKTdm/w+JwLywyT6gJR4pOpSfi77Qx6g6dcW+eZ5CeITDE1qX+xB09dJxdPsoza2ENxwI3i3Uf7pT/aUE/y3pG//4PEY+RUAhnNMPBlhCH0gIvfKrdgEtGQi6rDE7hWgSUMxDxFIXP2VyZp8K5ssg3YjkRmSzGPKdHORf14HPgueDFxuR8SoEqqeqNurpJQMbTAVUtscwJqK94lq4XVNZ/5rN6WDNaVdnqZznbdasic9lVTia13Jj/EPJn5IRjZSiJE0TxFmCFRMAleHNTIMKgZHqSw8Pmso6Wqmcs2lK2VigLYfkYb6FSwkcFOxX0Em7FYvF7FX4jn/9dFZWDPfwWfAQrE+3WyBIb5YVxKPUUlL44nIzxGIrGqtPYA0btBhRwJIu0UqPiyPqIKTlQB2j5/+HJ7V/YsOIXCcODd3ha6yM0eAPX2nhozkyn0mcuT0fblyegGeHoyZKNHXp6L9C4PRXbuM9RKob1fnom2L49FnzvOQGbzZHJ5MIl7eS7JiekMWE7L4532I0d2tuIhxKxEF3LVfPOFfciOYAVIycnPgDXpZKcnSUI6R8H/KrDE/R8KTLMry2VtvQFk+w5/\Bootstrapper\Facades\BootstrapperFacadeControlGroup\Bootstrapper\Facades\ControlGroupFacade for Control Groups$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\ControlGroup::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtjsFqxDAMRO/6Ct22zSUfsAtNW+j+RC9G0WZNt5aRFCiE/Ps6dgpt6VwMM5rnOT3lawZI4ZMtB2J8EXFzDTmzvr8FCiPbEaDvOsAOm4EXUXyV5Co3PKvM2Uq45UNhfITpf0w9MP4T7pyKKRc90C2Y4U8b+cs5jfar2KCwAGBR3bepw2WI6coafRRad/M7G5R91oQFEtO0u319s4ozOY8lDB4JL3Mij5JwYm+fPROxmejDY20srV+0Uw/URk/b6MOxxivACnfPCnDF\Bootstrapper\Facades\BootstrapperFacadeModal\Bootstrapper\Facades\ModalFacade for the Modal class$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Modal::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtjrEOwjAMRHd/hTegSz8AJAoDG3/AYjmmjWiTKHElpKr/TpqWAYlbIt29O+d0Dl0AcDRICsSCV+81aaQQJD5uxGQkHQHqqgKscDXw6SNqJ3j3hnrknlLK6QI0eeRF7f+dDNRQ6K0pbxVn0g+8sjABYFa5u6jCqbGuk2jVeJ4385s1UXSMDvOIde3m1uUN0auwiskhqWV8jo7Veoet6Hrswiwp+bg/lMa09rO21d2w/HZ3LP4MMMMHwCteRg==\Bootstrapper\Exceptions\MediaObjectException\Bootstrapper\RenderedObjectMediaObject\Bootstrapper\MediaObjectCreates Bootstrap 3 compliant Media Objects$contents\Bootstrapper\MediaObject::contentsarray()array$list\Bootstrapper\MediaObject::listbooleanrender\Bootstrapper\MediaObject::render()Renders the media objectstring\Bootstrapper\Exceptions\MediaObjectExceptionwithContents\Bootstrapper\MediaObject::withContents()Sets the contents of the media objectarray\Bootstrapper\MediaObject$contentsarrayasList\Bootstrapper\MediaObject::asList()Force the media object to become a list\Bootstrapper\MediaObjectrenderList\Bootstrapper\MediaObject::renderList()Renders a liststringrenderItem\Bootstrapper\MediaObject::renderItem()Renders an item in the stringarraystringstring\Bootstrapper\Exceptions\MediaObjectException$contentsarray$tagstringgetPosition\Bootstrapper\MediaObject::getPosition()Get the positionarraystring$contentsarraygetImage\Bootstrapper\MediaObject::getImage()Get the image of the media objectarraystringstring\Bootstrapper\Exceptions\MediaObjectException$contentsarray$altstringgetHeading\Bootstrapper\MediaObject::getHeading()Get the heading of the media objectarraystring$contentsarraygetLink\Bootstrapper\MediaObject::getLink()Turn the image into a link/divarraystringstringstring$contentsarray$imagestring$positionstringgetBody\Bootstrapper\MediaObject::getBody()Get the body of the contents arrayarraystring\Bootstrapper\Exceptions\MediaObjectException$contentsarray__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJytWG1v2zYQ/q5fcTWM0gmSekD7abHdrcFeCnTYsAUYhjQfaJm2OMuSJlJJA8P/fUdSokSRip20+hA7JO/43NtzJ8/eF0kRRRndMVHQmMGHPJdClrQoWHkVRZVwlz7/9CVmheR5Jj7/xlac/r78l8XSrqLI9Pw8gnO4LhmVTLTS8BbifFeknGYStCwYYYHHlcQPCGBLN+6FuDGN4pQKAZ37gH2RLFsJ+BP/spKtzHK0jyLAR0NQDyq9pyXQsqSPcJMwRJChoBSQr0Hi/zuNIzfSRmSqP4syl7jGVjC2MnO4vbsK37DM8xT+ThjqLLXilItBhWrP12NMEUOw7HUlk1WZATqIZxu7KpMyf3B8ZGMCXNtaMuACstz6wIVXLVMew7rKYi1TajSTM725N0fxQVWTsUy4uFwoK846W+qpsdUnjI5PeG5ydmXPHSJH26v6cIOqr1IbBhl7CNo2cc6qZ/RPXuFx9LPMYcPvmXaocSWIfNfmwMiRDSMMGfRRst2kh/oCyIrfk1rJwQvuX0yayJ6QgDamBS3prk7eNgtPTGObKBrpk7F+4DK5rjVOetf1E6BnN9aEPXrVum06heuExVsVYS6JAJrVdiBg/UX0Nap0Qm1cCCYnVuftd3dnV+FwDLn657yMmecVlQ1LFqv4025xPt9bVJiMDjumNkOWFXsm7qb+n4TnVH2fWHrFG4ZpNCDE0axKQTPrnGhPXap7yWLUFsI6RxKPE+hnO/oAxhzLoF+sjfY381DJKAkslJQTp9gCwqPZtEoVEs+D5sxRHyLp4WXAM50IjteC5dVmcW+7xjSWdKMrT31iKj2ohqZU19e8nJ1Pi6V2YK80LzQqL8BFLriWtDHYMPlHvdhWVicE44TRlUmKVuJXsxYW4DvVp7vHP6qVSRdbrbQrlvJs60h9wgVHSCu+aI3oSi/z1aMj/QEXHHzBLN8rLx2cTHeSvJuzCmBwZzRDenerRcEhTo7q5tiYPVwZo1nyzlVVy5DFvhE/zKbJuy7Kg2+cAqxADACeIuLFbGrMf0Et/cKkzvAmFCd1p3AdIIem6WXJN4mshxGrFbbsEdh/FU0F6ANvzOGUrW0ny9X08sAFO1Yr3UQ/0sdUrPq9hjSgyN0ZvH4NwR2Yz4FopGRg+iGtteSpoYJYQ0kdnOEgmIJ75sxwlNRoKjWpqU+JI3Vzgb7t2w2cBjz6+oT4GR7xmQ4hhkL4youhvgwD+E3myF2F3bxQLx/YSVRT0ZYg/+u2aCLwxBjZfGv50sPZJS0q0cXLSr01zTXSH+2Ci++WaPogMF9ATSEGC8H2KspYbzRcStB1ZgG/3Fk9gbFqNOO7Dew7OA4NBQ1nZtM7XjrPvmzC6TSoI4Veq/XypOFcLPX3EFqH74GQIetvlM62MHmGOaEGt2yraPe0onQneb07UKfmEnxuvOJ0D1pWvfGJ+/ke1t3ZL0WvR59Crco1gaq0mUchKdl6TvaezIE0zXJvrzyoVqlxYKOkA33S6u607gEVqlUezXQ9f9RpHgzbVyT6KXxqAKh+mVDFqxJfaFh2Iq/qWemEnugTqp5zvp5Picen1iSXT8kwnwbmOw9obx7zzMkYvuT45ozr18R536TuTxfdq9X0ZWQuF84LtH/Xk78suEPYIfofaM6k7A==Default config valueseJyzsS/IKODi0tfS4lLQUnBJTUsszSlRSM7PS8tMVyhLzClNLQZK6HMVpZaUFuUpRHMpAIF6Un5+SXFJUWJBWGpRcWZ+nrqCrZ2CurGeoZ6hug5ESVZhaWpRJYq8EVDeACafCbQjvqAoNS2zAiKbnlNZkAESVeeKteYCACJZK7Y=\Bootstrapper\Facades\BootstrapperFacadeTable\Bootstrapper\Facades\TableFacade for the Table classTABLE_STRIPED\Bootstrapper\Facades\Table::TABLE_STRIPED'table-striped'TABLE_BORDERED\Bootstrapper\Facades\Table::TABLE_BORDERED'table-bordered'TABLE_HOVER\Bootstrapper\Facades\Table::TABLE_HOVER'table-hover'TABLE_CONDENSED\Bootstrapper\Facades\Table::TABLE_CONDENSED'table-condensed'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Table::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtkFFLwzAQx9/vU9zbtCD7AFPsZisKskpXfBIkS25tcSYhuYlQ+t1N04pz7l4C9//dj9xd39rGAmjxQd4KSbgyhj07YS2513shhSK/AJgnCWCCYwN3xiE3hJXY7gnlXngf0gFIg+Rd1Oc9EfB0EkZJiOYQRZOUvpi08n/QUQMdAIaSRnvGarl6yt82Vfn4nGd4gzMexq/CSGtJzRb/0FVRZnl5zG6NU+TOwg/FS17+ko35JHcGuyvWWb7eHEtDrEj7aI18vOBQCXZpqxtyLSsj+6n5k6WO+OA0DgvoeurO42udYZJMKoSCW4m7g5bcGo018XibpZTkvXEXl3GiG+dDTdbxc9MGPUAP33Hvm3k=\Bootstrapper\Facades\BootstrapperFacadeHelpers\Bootstrapper\Facades\HelpersFacade for the helpers class$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Helpers::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtkMGKwzAMRO/6Ct3SzSX3dmGzPZR+xF5cRU1Ms7axVFgI+fd1bRfa0rkYZkZPwp9fYQoAzvyyBEOMe+9VNJoQOP4cDJmBZQfQtS1gi8XAs4+oE+PEc6oJ0mxEUn6r9AlzMeN7Ui4Iv4THgklhBxmF1UH+U3aDPNULChYATMqH3dTi0ls3cbQ6eFqrec/6yHqNDhPEurG6XX5D9MqkPKTQqCU8Xx2p9Q5H1rLsm4hFfNx85ImlzCdVanN6uG+7rd/S7HJvhRX+AW95cOw=\Bootstrapper\Facades\BootstrapperFacadeImage\Bootstrapper\Facades\ImageFacade for Image classIMAGE_RESPONSIVE\Bootstrapper\Facades\Image::IMAGE_RESPONSIVE'img-responsive'IMAGE_ROUNDED\Bootstrapper\Facades\Image::IMAGE_ROUNDED'img-rounded'IMAGE_CIRCLE\Bootstrapper\Facades\Image::IMAGE_CIRCLE'img-circle'IMAGE_THUMBNAIL\Bootstrapper\Facades\Image::IMAGE_THUMBNAIL'img-thumbnail'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Image::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtkFFLwzAQx9/zKe5tWpB+gCm226oWtk4255MgMbm1wTYJSSpC6Xc3TbuBunsJ3P+XH3d3e68rTYikDVpNGcJCKWedoVqjeXugjHK0c0LiKCIQwdiAozKQN7REYDW11idDmHjB59C85AiAxT9hkPgoJkE0SfHboeT2FzpqSEcI+GJKWgf5Jn3M3nfZ/nlb7PPXDO5gJpryxvhdPCC+cDb/j28PxSpbnVnVSo78ArjMd8v12cmEYfUl38vTYbMo0nx9Il3VNh+SitrDgQ63GyqCLhGyQiMcV6yfmqcsMehaI8FvLGQ5dePwaqMcMofch9QJBsdWMieUhBLdeJmUMbRWmavr8KMb//uarH40f9pp/p6QnvwAMyiZHA==\Bootstrapper\Facades\BootstrapperFacadeAccordion\Bootstrapper\Facades\AccordionFacade for Accordions$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Accordion::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtjkFqAzEMRfc6hXZJZzMHSKDTLnqKboSsTExb20gKFIa5e23PpCVQbQT/6z/983O5FoBEX2KFWPA1ZzdXKkX0/Y2YgtgJYBwGwAE3AS9Z8YU5a4g5WTWaN9X8B83/I/qBiWCbh4NfTj0ZgT/J7I+N8u2Sgj1ENiQsAA3Wm7UZcJliuopGD5nXXbx7k4rfNGGFxDTv6th30ezCLqGa5JHxckvs7fssvj2rhcQs6/GpJ5YtX2enHuje+HDq3gor/AC712uL\Illuminate\Support\Facades\Facade\Illuminate\Support\Facades\FacadeForm\Bootstrapper\Facades\FormFacade for FormFORM_HORIZONTAL\Bootstrapper\Facades\Form::FORM_HORIZONTAL'form-horizontal'FORM_INLINE\Bootstrapper\Facades\Form::FORM_INLINE'form-inline'FORM_SUCCESS\Bootstrapper\Facades\Form::FORM_SUCCESS'has-success'FORM_WARNING\Bootstrapper\Facades\Form::FORM_WARNING'has-warning'FORM_ERROR\Bootstrapper\Facades\Form::FORM_ERROR'has-error'INPUT_LARGE\Bootstrapper\Facades\Form::INPUT_LARGE'input-lg'getFacadeAccessor\Bootstrapper\Facades\Form::getFacadeAccessor(){@inheritdoc}stringNo summary was found for this fileeJxtkd9rwjAQx9/zV+TNrSC+68bsRF3BtaNVhCFIlp42rE3CJWVj4v++NG3HpruXI3ef+/XN3YMuNCGSVWA040AflbLGItMacLdgnOVgJoTUBmhUlnUlJLOwy2qtFdoe6LzjRkFAaEDbNz0opAuFlQs10amb8M6O/w/xgIHLZFs9IrxkxvhmFD4tyNx0Q8iJUGdcSWPpIkmf909JGr0m8Tpc0Xs6cDtUw0Kh+FLSsnIwucSjeBXF8x9UyFJIuMayzWw2z7KGK5gZmppzMOaa24ZpHMXLnvtgKIU8XnPzNE3SngJEhX+YKH7ZrPerMF361YTUtR2WTR8PeZ0bC+hpKmQBKGyu+LkL9rkpgq1RUqenW6KLjrzXqCxwC7lLMis4PdSSW6EkPYJtpQ39iQpvbn1FK3RjXdfB26+vGo8b+bobzoScyTeVFLjO\Bootstrapper\RenderedObjectModal\Bootstrapper\ModalCreates Bootstrap 3 compliant modal$attributes\Bootstrapper\Modal::attributesarray()array$title\Bootstrapper\Modal::titlestring$body\Bootstrapper\Modal::bodystring$footer\Bootstrapper\Modal::footerstring$name\Bootstrapper\Modal::namestring$button\Bootstrapper\Modal::buttonstringrender\Bootstrapper\Modal::render()Renders the modalstringwithAttributes\Bootstrapper\Modal::withAttributes()Sets the attributesarray\Bootstrapper\Modal$attributesarraywithTitle\Bootstrapper\Modal::withTitle()Sets the title of the modalstring\Bootstrapper\Modal$titlestringrenderHeader\Bootstrapper\Modal::renderHeader()Renders the header of the modalstringwithBody\Bootstrapper\Modal::withBody()Sets the body of the modalstring\Bootstrapper\Modal$bodystringrenderBody\Bootstrapper\Modal::renderBody()Renders the bodystringrenderFooter\Bootstrapper\Modal::renderFooter()Renders the footerstringwithFooter\Bootstrapper\Modal::withFooter()Set the footer of the modalstring\Bootstrapper\Modal$footerstringnamed\Bootstrapper\Modal::named()Sets the name of the modalstring\Bootstrapper\Modal$namestringwithButton\Bootstrapper\Modal::withButton()Sets the button\Bootstrapper\Button\Bootstrapper\Modal$buttonnull\Bootstrapper\ButtonrenderButton\Bootstrapper\Modal::renderButton()Renders the button\Bootstrapper\Attributesstring$attributes\Bootstrapper\Attributes__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJytV81v2jAUv+ev8Fg1h6odh/VUCN06aeoOU6Wt2gVxMMQQbyGJHKddhfjfZz87ifNJQOUACn7v975+7/lldpcEieNEZEfThKwpuo9jkQpOkoTyqeNMLi8ddIm+ckoETctT9Amt410SMhIJtIt9EkoxJflZovwl2yqQPJg465CkKfqhZBH9J2jkp+in/Kac+o+rP3QtnL3jIPkBo+oj4Z4JR4Rz8oqeAoqIEJytMumKEZjAb8JjIfWpjy5KCeShxXLajigdY9EWIAUTIUXxBgn5YCJphwbJ44Cr2H8dhKcEj8NtZB4pHwSoRY9DqmoPAlSCAwLOhIijYSGDaBNS8yBtABQmORUZj4zVKnq2CtkabbJoLZh0gwOUO4bDvRaVnyoxIvqCvhR/uBciYOn1vBS5QgsMfMXImyMMLuHl2DgOeCYBHjLK2u49BOha1tqUPnpoNPPZM9pbgoc5/AVmPW3y2mckjLe45WQdR7KFBJ6P2vErXj1QAjmZHpW8l5wcIvcNqOZ2BjeRDs/tb9tNU0yjoI0dGpz4RYUmRKPpC1YkhJOdGQ92gYHkssTWXy3sLFgFkfWS6oWJwOJLw2KDbXVCKZ6UTy25UApHM9E5q2oZMZXQE+u8aJ+UqqsROqLT3njVwTg0JrvjA6Bnb1w9/V9Ml9oIyEnfcN64jXFJc7ZBrh3V2FKwlIDawU21E+EIz/e2/mE2CW4U53OAQyM7o2ZP6zzIbjcTVbwm1MP6Aeei6zBOKUY+EUSOh3THCn0sO4GR64D5Po08LHgm3fogmLzap7OJhlFuGgdNVx6hXNdt1sE4EM/br0v3RCrCTALkDiKCHa9yoZ5DQ6X+BrzTI7Tmqe2LcfiujQLqpOSSesorhW4LxvaHobeANwgkn/G9oZj1pDUYfVaGo58HBST5ZwVzAgGNwlM9ESdyzsRu4Dp4Z2x5tc1rKPeKHuvaxzpCBPG+Pe6EWBWE7wJkR5BgxMt3wdpheaUtMPPxshQ8LxN6SLWHr1erfIe0N08RozihUZkHKOGZw0YvcDVjcmPMwrCeIbg1tETzwtANnKsXm28ucEA0TGldqzQnx6dxxd6xeqCv58r93yTMqIsfVTrgVQuP+y6h4bOxpzDlYtRYwgYuYCeNV52VdqNtFXpXSVi9UMYDexmw0gT68oalwl7pNdfHjZq3dMMDDeX7b3p7u6UR5fId+ruvF432slRcle3l+9bWWTG2wLABiHi7lduH9ZZyhcwJ4Vsq4GT0ft/w7TBaFnjjfKuvcK12ZRmXSkHt+sH5DzIenhs=\Bootstrapper\Facades\BootstrapperFacadeNavigation\Bootstrapper\Facades\NavigationFacade for the Navigation classNAVIGATION_PILLS\Bootstrapper\Facades\Navigation::NAVIGATION_PILLS'nav-pills'NAVIGATION_TABS\Bootstrapper\Facades\Navigation::NAVIGATION_TABS'nav-tabs'NAVIGATION_NAVBAR\Bootstrapper\Facades\Navigation::NAVIGATION_NAVBAR'navbar-nav'NAVIGATION_DIVIDER\Bootstrapper\Facades\Navigation::NAVIGATION_DIVIDER'divider'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Navigation::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJx1kN1qwzAMhe/1FLrrFih5gG4sCd1GoGRjK70aDNdWE7PMNrYbBiHvPsfJfml1I6Hz6YDO1Y1pDIBi7+QM44SF1t55y4wh+3LHOBPkVgBpkgAmOC3woC36hrBinayZl1ohb5lzARmpLDi9sfq0WQQc/RN/nIKeQnT7bU8fnpRwf44mQ+gBMBTXynms8l15n2/Lh+r1sdxsnvEaF4p1SyPb1i1Wp8ltXnyDnu3PcmEs8qeZ3DO7DO0cuy535fo2wkJ2UpANZERjlGMl2GdSNWSlF5oP8/JLyyz5o1UYvpWqnrdp7MZqT9yTCGKIh+PhqHiMqSY/pZJzTs5pe3EZL/rpPtTsOn4wZzt/MAAM8AnnlqDH\Illuminate\Support\Facades\Facade\Illuminate\Support\Facades\FacadeBootstrapperFacade\Bootstrapper\Facades\BootstrapperFacadeFacade for Bootstrapper classes. Have to use this because Laravel is a bit
too clever for our liking and gives us the same instance each time. This
is not helpful when we're using something like this and we have several
instances of the object in use.$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()array__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarraygetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestringNo summary was found for this fileeJylVVFv0zAQfs+vOKRKpNPo1o6nlQFj0qAST4y3rqpc59KaJXZkO+0Q2n/n7Djp0oaggR8Sx/f5u7vPvsu7D8WmiCLJcjQF4wiflLLGalYUqO9vGWcJmmkUlQZhlmVlLiSzeH9XFoXStgaEN+HOTk4iOIHqG1KlW4TAM2YMmhF8YVsEq8Dx2o0wsELO3MdXpsmUAS0xWAnr2KxStBO3ROAYVakhEw9CroHJBNZii4aIiAfBUCIgpLFMUjLI+AasyHEE38mJ4yJeqSxsMCvSMoPdBiXs8LVGYnCMRuVIAdGMXITYnJcdwsbFbFwYLPNUwY0BlXrnavUDuaV1l9aIIA71kWR9YOtuZQlwFnlRWuYgHz5alIkJaka/IqDhFXaDqLdMA9Oa/YRr4JQr1pGQQSiSpAkxbDnz76JcZYIDmSy9Bvs8rmC+oEM8cHPDssydRsA7fVQSjE0oBZ1bThDtpBtUGBId2/AaVwUNA6bXhtYdjqZljtKaBqrRllpCLh4xoQRbF6mSuiertJTcCiVhueQU/51fjUNgp5Xnod9XyerGIPVCX3PSwtBFuwpkl5drtLctWzwMOvl9zYW7onuqJD7fNwu2+ID9OYHZCUs3NeaqlDauYhs+C8wNzqg6zi9ba24ElZoY3rwPSbZCbBjGL2HwkczPF51Mk39hCsrPx92cF//HWc8m3exvX8J+BHWjcdljHfdaJ73Wi8WR8TCTBFNWZvaPqbjbvqT+o5euBJa+0uLq2WR5WlfosK6EaUP3FFXPwy7wGS01wn1vVaWtu81M3ZwC1Yub+zaUNLD+NlFVhC//MGWhOrqbgAP+tQ1osaVf1FEf6CjFw/oXKcSvBP2gbFwX8L45zsOmxVFl9mC7Wsg3SiBuCd5MQ7I9hNNwOk/wG6UXPeI=\Bootstrapper\RenderedObjectTabbable\Bootstrapper\TabbableCreates Bootstrap 3 compliant tab elementsPILL\Bootstrapper\Tabbable::PILL'pill'Constant for pill tabsTAB\Bootstrapper\Tabbable::TAB'tab'Constant for tab tabs$links\Bootstrapper\Tabbable::links\Bootstrapper\Navigation$contents\Bootstrapper\Tabbable::contentsarray()array$active\Bootstrapper\Tabbable::active0integer$type\Bootstrapper\Tabbable::typeself::TABstring$fade\Bootstrapper\Tabbable::fadefalseboolean__construct\Bootstrapper\Tabbable::__construct()Creates a new Tabbable object\Bootstrapper\Navigation$links\Bootstrapper\Navigationrender\Bootstrapper\Tabbable::render()Renders the tabbable objectstringtabs\Bootstrapper\Tabbable::tabs()Creates content with a tabbed navigationarray\Bootstrapper\Tabbable$contentsarray()arraypills\Bootstrapper\Tabbable::pills()Creates content with a pill navigationarray\Bootstrapper\Tabbable$contentsarray()arraywithContents\Bootstrapper\Tabbable::withContents()Sets the contentsarray\Bootstrapper\Tabbable$contentsarrayrenderNavigation\Bootstrapper\Tabbable::renderNavigation()Render the navigation linksstringcreateNavigationLinks\Bootstrapper\Tabbable::createNavigationLinks()Creates the navigation linksarrayrenderContents\Bootstrapper\Tabbable::renderContents()Renders the contentsstringcreateContentTabs\Bootstrapper\Tabbable::createContentTabs()Creates the content tabsarrayactive\Bootstrapper\Tabbable::active()Sets which tab should be activeinteger\Bootstrapper\Tabbable$activeintegerfade\Bootstrapper\Tabbable::fade()Sets the tabbable objects to fade in\Bootstrapper\Tabbable__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJy1V0tv4zYQvutXDLYBKKdx3KI3x1Y2m0sLBG3RDdCDYyxombbZMKIgUskGgf97+RL1pJJsuz4kNvnNx5nhvLi4zA95FGX4gYgcpwQ+cS6FLHCek+IiimanpxGcwnVBsCSi3oVfIOUPOaM4kyDxBggjDySTQqG1wEdFdo/3bT61MYtShoWAW7zZ4A0jQL5Kkm0F/KX+koJs/9j8Q1IZvUQRqI85Xn+UCjwTUp+24wXklDF9rHC7M/M/1RD487ebG1gC0hh0Mc6jNQ/Q3F590ixqd4Dk4yMu4Hf8SPdYUp7B7YFAVv/ERYGfW5x5waWyi2zhhNHsXgQojaBhU0pI7U/gO5At9nP4fOAl28KGAHZnKVTFY36LM3ii8mAkd5wx/kSzPdAsIwXck2cxr9CNz6JkydAyo4mkUl3V1NDZ704rp+VipkABWQdx0jiVJWZvkcNSFnRT6qiLea4Nx2yiWHD2DPVekGFWW9O7Ae/bJazWgZugSuW/DzQ9mBgR3uM8JxnsaCFkiF2ZSB+J4v4pQK3SQd+GvmX5nJMQj95TLIKw3XyuojHAtuGcKU2J8m4BT6RSdYe3RBkBKsgzHtTVoJYKzAQZSBWX9Rgy8lSnLLcpakFelxwX+KGZEzbQ4aqZGC1Rp025YTSFXZmlBvLli8m/okxl3GObGJGXqLrmE3mgYprYk5YONE1wKXnBVXzExrLJNNHZcOWjJvYE+rNCBWcEwTIx6c6okGjtEZML8/XY846tWMImxbhvCiLLInMXP2p9YUjjnp0uZpaVxRZX+yd2ajbB5x30tQt7jfVgp5qTCdlaRUKVzKa4YGO2CqP6goeDwpaoOu0a9a3rIqOwXxSk3UDuaoPnc8836lBd3eN2xo8F0TQxAk1v2t1ANjZdaIHaNd7T/uBgFAU8axrcO/363X2plXqfM63EK97UDfv/cudnIkWzM4m3ReRV3UddA/3uzmwZ1tEn4NSG4z004LjxotWZKMDc1juKlm8gnbrVrEejcWH+xZVZJgVq2RuzORmqUi2Sqla+llrvMHZscPO2BvTtGlw1JT1i+MWUlyrJzWxQrak5lGA1Z8TdW8bCkkwarDXzaq25Wxv6g/Sm7WU/IDiHXwlT8Snmc8HKfWxEV8jMcGg9OeuL2y0t38YOQPV+3VONTF8fg2z1V9SnMqAtlngq+X5fnV+Xip7AkDp27rKizs2+Adq9lkzjVoxTrciPS/i53jj2AtAN73ZzbCII1Z9vyKq6b/dySvWqeiawcenQt66NDYwQaLGlj2DeYcs7fSNTp+wdStBgXOpjdDSqL71grIeND4b3RaNWqB7R0fqYuEV3jlpZzBQ2+dB09dD8giwOffPA0riK5kPvP+R9y7+BCwml/Ntynkry0HOzXqyTTdFRIYiMzXrb2xO47CXHAAzmPZR/DHkx3DxRPwJCM/SAjv0UVQGgg85XgmmOM4LOANGtWevUKqtzVavWLbpJR1O6877Ub5qu+zrGqIKw3V5rXWKk4WjSLgbHIHn1uFu6e337QQ3t4FKZnEFVsOa+do2rYaIrVPar1DLlz3rOZ9tQsWzX7YbK3SL5lirZ79NK09ER7Wngad0s0t2BTT/HT1qAwclseNSycrGTD0wm/tnuYO8crPzg2XkKqkVePcYDxed1A7R8aKJyT3j1YH5N5WP0LwRbcvM=\Bootstrapper\Facades\BootstrapperFacadeButton\Bootstrapper\Facades\ButtonFacade for Button classPRIMARY\Bootstrapper\Facades\Button::PRIMARY'btn-primary'SUCCESS\Bootstrapper\Facades\Button::SUCCESS'btn-success'INFO\Bootstrapper\Facades\Button::INFO'btn-info'WARNING\Bootstrapper\Facades\Button::WARNING'btn-warning'DANGER\Bootstrapper\Facades\Button::DANGER'btn-danger'LINK\Bootstrapper\Facades\Button::LINK'btn-link'LARGE\Bootstrapper\Facades\Button::LARGE'btn-lg'SMALL\Bootstrapper\Facades\Button::SMALL'btn-sm'EXTRA_SMALL\Bootstrapper\Facades\Button::EXTRA_SMALL'btn-xs'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Button::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtkdFKwzAUhu/zFLmbFmQPMMVlsxvFrUqrTEGQLM26sC0JySlOxt7dNG2GEc9N4Xxff5L8t/d6qxGS9MCtpozjiVJgwVCtufmYUUYrbkcIDZME4QR3C7xRBk8aACUx21NrHWrp2CXsaP1/iBcs/wO7FMeGyCeFWH4ELisbyV0QOiHshilpAT8X2ZIU7/gOD9Ygb7QRB2q+B6NfSvk6naZlGRTbMMatjZQsnz0FLuRGRXBFijzL54F/USOFrCPlgeTztAhGRWXNTSQssvwx4L2QuxiSYp5eaJxcLslicTn6IWLp20tBPiPj2N7LK76vdhJ8Ggu55UZApdi5XwY2NhwaI7F7Ynepfjv0X20UcAa8cpCCYHjTSAbCdVNz6Kog/imVubr2f3TFtNOnDta+zP7UZ4TO6Af7e7oC\Bootstrapper\Facades\BootstrapperFacadeBreadcrumb\Bootstrapper\Facades\BreadcrumbFacade for the Breadcrumb class$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Breadcrumb::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtjjtuwzAMhneegltaLz5ACtTt0FN0YSjGFtpIAkkDAQzfvYrsPtF/EfA/PvHhsUwFINFFrBALPufs5kqliL6+EFMQOwL0XQfY4WbgOSv6VMsqFFjnywn5ncxq5dYaKumNxv9hrWDyJ/wm1byHRvuJl6tLCvZrtAFhAcCqduFNHS5DTJNo9JB53c3PbFDxWRNWSEzj7vbtLZpd2CXUkDwynufEHnPCUXz77IlZzLLe3bfFsu2rdurh9HXy4djCFWCFD2Bib80=\ArrayAccessAttributes\Bootstrapper\AttributesSimple attributes bag$attributes\Bootstrapper\Attributes::attributesThe attributesarray__construct\Bootstrapper\Attributes::__construct()Creates a new instance of the attributesarrayarray$attributesarray$defaultsarray()array__toString\Bootstrapper\Attributes::__toString()Renders the HTML attributesstringoffsetExists\Bootstrapper\Attributes::offsetExists()(PHP 5 >= 5.0.0)<br/>
Whether a offset existsmixedboolean$offsetmixedoffsetGet\Bootstrapper\Attributes::offsetGet()(PHP 5 >= 5.0.0)<br/>
Offset to retrievemixedmixed$offsetmixedoffsetSet\Bootstrapper\Attributes::offsetSet()(PHP 5 >= 5.0.0)<br/>
Offset to setmixedmixedvoid$offsetmixed$valuemixedoffsetUnset\Bootstrapper\Attributes::offsetUnset()(PHP 5 >= 5.0.0)<br/>
Offset to unsetmixedvoid$offsetmixedaddClass\Bootstrapper\Attributes::addClass()Adds to to the class attributes\Bootstrapper\Attributes$classNo summary was found for this fileeJy1V01v2zgQvetXDAQjloPU6qWXOk7rDRbbwxYtmhR7aAODlkY2EYkSSCppYPi/d0hKsmz5I6mzQmAnGs6bN/OGQ+byQ7EoPE+wDFXBIoS/8lwrLVlRoBx5Xnh+7sE53PCsSBGY1pLPSo0KZmxOBmP7SH73bL7pSobQi1KmFEzWThYlQ6EV/JxIyZ4mUYRKeUvPA3psMPOcw+2iHa16Wxs/PjAJzPhXb0L7XchcY6Qxht7addSBvpbIDBkGAh+BC6WZoMTzBPTBoAWTLHNh2wF222NMWJlqtUmwnKU8gqQUkea5gOk0yim8LCMddHAvtqFgDD/uBhZo6WDp6ekFV2+uWsKMnd80QznHoPG+aGMPRg0ATyDgSqEOWvYffStd/24AZ2dQmWuktXHQIrKTTLOUWNG7LNhYbh5/2cVdwXIXl5W/4d3KYeW5z22lv6GIUSqr66fbz/8eEFeiLqUAEoOL+RHRdH5jlwUdMZw7Jev7a3ZJTg0XLSDoasUU9FzbjK+g98DSErdravRxFhiPod/ftpuHukhzUeJow7Lq4HA1dQwDF7UjoE2iCmZqMZVYpDQVAr/vX4D/03xWNEf7HRc6S2mPc81RBVb2ymeXU1Wy4di0gmW1GveXzmHVB38rJ8BU4SHWfx7chexEbHVZ82vVLQ7egVTw3SYMvn76Cu/gbK5HY3g3fDt8O7icyfCqtv+3QOpPmmc0gRLaaIC/uNKdBk25uKfkdPE+DGlkDwXqMGOiZGmIIrRbntlhOnQwDmVopnsN4Tot47/MhKyCXRYNkZ3PRNS0dA7RAqN708/Dgz6X4Rq03lizPE+RmZKRSrSLVGnJQi4hYUZSepcwnpYSnw++e8ERuzlZKlKuZx55msIMIWLKnB2UZ02WJweRRC7e1EsfaSs7VIzrBHbPD1fOv608QSXD9iCp+LlBfo9PU9xYftGdtH/cfl8adSmo5PiAp3beHPXJbWdEyjvMXt52Luo1CVSXlLR2suunAtVzpPrHHH4Hdeqee9X6u9NVoa9TBVGvLgidx3wu7LlaFTN/gTYb8Z3/s+LXoUxNXt4KDzmPn6H2zVrt5qw7dudq5Kbzx7mcrnspXkF5C/LK2jvM/6v834Xav91KZ9xb/r1DcBLHynA3P5SM+7/k2E2/55ZVd4Tbxs/0fxxv52dZHUyQnK4NQOCAj3dV6/JcXcH3LhnAh0MAQ/DpTm3/Wvnwvkpt1LnQWIi6iCvvNzQ+08A=\Bootstrapper\RenderedObjectAlert\Bootstrapper\AlertCreates Bootstrap 3 compliant alert boxesINFO\Bootstrapper\Alert::INFO'alert-info'Constant for info alertsSUCCESS\Bootstrapper\Alert::SUCCESS'alert-success'Constant for success alertsWARNING\Bootstrapper\Alert::WARNING'alert-warning'Constant for warning alertsDANGER\Bootstrapper\Alert::DANGER'alert-danger'Constant for danger alerts$type\Bootstrapper\Alert::typestring$contents\Bootstrapper\Alert::contentsstring$attributes\Bootstrapper\Alert::attributesarray()array$closer\Bootstrapper\Alert::closerstringsetType\Bootstrapper\Alert::setType()Sets the type of the alert. The alert prefix is not assumed.\Bootstrapper\Alert$typerender\Bootstrapper\Alert::render()Renders the alertstringinfo\Bootstrapper\Alert::info()Creates an info alert boxstring\Bootstrapper\Alert$contents''stringsuccess\Bootstrapper\Alert::success()Creates a success alert boxstring\Bootstrapper\Alert$contents''stringwarning\Bootstrapper\Alert::warning()Creates a warning alert boxstring\Bootstrapper\Alert$contents''stringdanger\Bootstrapper\Alert::danger()Creates a danger alert boxstring\Bootstrapper\Alert$contents''stringwithContents\Bootstrapper\Alert::withContents()Sets the contents of the alert box\Bootstrapper\Alert$contentsclose\Bootstrapper\Alert::close()Adds a close button with the given textstring\Bootstrapper\Alert$closer'×'stringwithAttributes\Bootstrapper\Alert::withAttributes()Sets the attributes of the alert\Bootstrapper\Alert$attributes__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJy1Vk1z2jAQvftX7DCZGjIlHHoLmIbSNJML6UA6OWRyELbAaozskeSQDMN/71oW/sA2JGXiQz6k3bfv7Wq1GnyP/MiyOFlRGRGXwo8wVFIJEkVU9C2rd35uwTmMBSWKynwXvoEbrqKAEa6ABFQomIevVKJxYn+FWM9kWYbTGyRWfigAfhMlmPsM01BS3OhZbkCkhJGGoq+Kck/CFH9SQb27+V/qKmtjWYCf5pR8yCvkUiUUFojJ+CJMuUiz39O/3cQIbie/7sABWxt0E1u7fxhPxq5LkVMj5OzPeHw9m+WoxuMY8JoIzviyGfhhNJ3cTm5yYONxDNgjfElFM+7P0eTmeprDpvY1qFcvBPVjhZDlvU9BvUUUwgUo/Fu7lsAjESqsD/XgLDE8DodssMBKvgtyZ9wAS4QgbxqVKIwwj5Nz+h7cgrkDj0+HWT/4RIH0wzjwYE0hlpiTEJaUU4GNAQTcIEzWyLJRRmIgqlFmFPOg6nJ8karSHREJumCvwCTwEBtOynhFvQuDkRGOiCCrtAiGeLYlqIoFxz2flU9GFM8D5sIi5q5iIQdJ1T36tzVKR5tsUgf8tHt3qAM4pWonXzFGX69uK3LTlpaV8uwTLdGvZyo0VLvCsVRYTtcwyhbamVVBTW7/tbT9aOs7yQZnCK20DJtCAratp8y8U8gCW0DbmKU17xTI7RHchXhCpri2KvM75FAx7MAF2GD6mskVk5LMA2r36yRnDehAa4DACtOZaHLs9B8bdBjH1gpsvFgU2aE66eWBsQQjXZ95HuWOrURM7eGmJHw76KVw+bqJu23ltLaVA9QaeOwFc53L3lYRBj00GraaztluYhFemAvJjKrvGdPm2WXz8b5JorTPCom17f2TWcTqDneNJmmwuLxMxlOnO1wz5Y8NRo7WOaqyPKw+U6cJdIJUMzZPUVuaoJ+p1gQ6Qa2Z5aeoLY71zxSbxjlBa/q++LjUbAbWPgyaJZ9S2HqG9fOukJD958h+SpokjjxPZs8Ec+MmHLTMJXuheAHjs/dIafW1+nGx2q9t3JOqflEMH/z9SnFL17dWW3y1vFdrVs7DL7L9YubW/1fOwpgvYDVILD0SCuZHpG6tfyhLxSI=\Bootstrapper\Facades\BootstrapperFacadeAlert\Bootstrapper\Facades\AlertFacade for Bootstrapper AlertsINFO\Bootstrapper\Facades\Alert::INFO'alert-info'SUCCESS\Bootstrapper\Facades\Alert::SUCCESS'alert-success'WARNING\Bootstrapper\Facades\Alert::WARNING'alert-warning'DANGER\Bootstrapper\Facades\Alert::DANGER'alert-danger'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Alert::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtkM9qwzAMh+9+Ct26BUYeoBtL1rWllwwaxi67GEdJzTrbWAoblLz7/CejC0wXg36fPyTdP7qTE8LITyQnFcKTtUzspXPo33dSyQ5pLURZFAIKyA3orV+AUJ/RMwUiQlUQfcjhf1cCCBFiLYDkCHEp1FkSZSfgN6PpaIFmlbiI6FDWEMOh2b3AA6xk/HSnTW9X6z9x+7rZbNv2StCoFBItoLf62Bya/RX6kt5oMyyg57rZb49XppNmQB+QxKQzxSrgUmlzQq+5s2qam79Z5ZFHbyAsFPxzt0yv85ZRMXYhlKwV9KNRrK2BATkvXqfRrb+5TT/yGWLN1jzZPPUkxCR+AKQ3k9o=\Bootstrapper\Facades\BootstrapperFacadeThumbnail\Bootstrapper\Facades\ThumbnailFacade for Thumbnails$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Thumbnail::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtjkuOwjAMhvc+hXdANz0ASJRZcAKWszGuaaOBJIpdaaSqdydNeQiJfxPpf3zxbh/7CODpJhqJBX9CMLVEMUr6PRJTK7oFqKsKsMLFwEtIeOqH29mTu2oO5qzJ+z/qviNKQUVw1kfhxcmVGvhKqm82yr+Jb/VjsiBhBJhh5bJZFY6N870kZ23g6Wk2SWxIHvPa+e7h1uWNKZiwSZtDMsd4GTybCx47seWXA7OohrTelMW47LMe1JU9T11tSzYBTHAH/+5rCQ==Created by PhpStorm.User: patrick
Date: 15/06/14
Time: 11:48\ExceptionAccordionException\Bootstrapper\Exceptions\AccordionExceptionNo summary for class ""eJxFyrsKwkAQheF+nmLqFK6BKBIF8dYLamezbgYS4maHmSki4rubbbQ83/k3W24ZXFEAFngQ8kYNPl54bvliSeIs+01JamRv0oU+w3HKaiwXbr50ZZXl2sUsZV2tpukABh9J2QfCfUqmJp6Z5H4aA7F1adA1AISnV8VdCEmayX4n0mg0NIr/Ht4AH/wCvn820Q==\PhpSpec\Exception\Exception\PhpSpec\Exception\ExceptionControlGroupException\Bootstrapper\Exceptions\ControlGroupExceptionException for use in the ControlGroup ClassNo summary was found for this fileeJx1jr0KAjEMx/c8ReYu9wAKioe4Cq4upUZ7eDahycGB+O62DtYbzBSS3/9jvZEoAMk/SMUHwh2zqWUvQvm8nwOJDZx0BTAp4THKSSi0R9sK0TkH6PB7witnrLIhoUXCnpNlHg+ZJ8F+9KoFr4ptib7729/0D6NEWGfB/FoWqoNQbRdJrQ7NRumirSA8AV74BkYIWsk=\Bootstrapper\Facades\BootstrapperFacadeNavbar\Bootstrapper\Facades\NavbarFacade for Navbar classNAVBAR_INVERSE\Bootstrapper\Facades\Navbar::NAVBAR_INVERSE'navbar-inverse'NAVBAR_STATIC\Bootstrapper\Facades\Navbar::NAVBAR_STATIC'navbar-static-top'NAVBAR_TOP\Bootstrapper\Facades\Navbar::NAVBAR_TOP'navbar-fixed-top'NAVBAR_BOTTOM\Bootstrapper\Facades\Navbar::NAVBAR_BOTTOM'navbar-fixed-bottom'$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Navbar::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJx1kMFqwzAMhu9+Ct26BUoeoBtLMjroYcloQ0+D4TpKarbaxlZLoeTd59gpdGuri0D/9/9IenoxW8OY4jt0hguEQmtyZLkxaD/fuOANuhljaZIwSCAOoNUWSn7YcAvihzvnpUHNfMI3726HBMDhPzGmeC1lIekci0dC1bg/cAxiJwa+hFaOoMzXRb78WpTr+XI1h2eYqOCfSnVA63Ayu4ZXdV4vXi9YR5ykmJI2t/C6+rhgW3nE5h5aVHVdvV/RG02kd94QHOGTQyVwyqTaopXUaNGPw7OWWaS9VeCPl6obp2noxmpCQdhA3BzavRIktYIOKT4pFwKd0/bhMTjiy4YaU8cFxyN6xnr2C0JtoGY=\Bootstrapper\Exceptions\ThumbnailException\Bootstrapper\RenderedObjectThumbnail\Bootstrapper\ThumbnailCreates Bootstrap 3 compliant Thumbnail$image\Bootstrapper\Thumbnail::imagearray$caption\Bootstrapper\Thumbnail::captionstringrender\Bootstrapper\Thumbnail::render()Renders the thumbnailstring\Bootstrapper\Exceptions\ThumbnailExceptionimage\Bootstrapper\Thumbnail::image()Sets the image for the thumbnailstringarray\Bootstrapper\Thumbnail$imagestring$attributesarray()arraycaption\Bootstrapper\Thumbnail::caption()Sets the caption for the thumbnailstring\Bootstrapper\Thumbnail$captionstringrenderImage\Bootstrapper\Thumbnail::renderImage()Renders the imagestringrenderCaption\Bootstrapper\Thumbnail::renderCaption()Renders the captionstring__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJylVEtvGjEQvvtXTCMkL4iWQ2+B3aSNeuillZregIMxBtyyD9neJBXa/17ba7xr82ii+sDDM9/MN9+MZ3ZX7SqECpIzWRHK4HNZKqkEqSompgjVMrxafHmhrFK8LOTi567OVwXhe3+nAZPRCMEIHgQjiskOCx+Blnm156RQ4JHa1Xjf69S/yTZMpQ0TRPdEys4f2ItixVrCD/3JBFt/X/1iVKEDQqCPTW6ODvlEBBAhyB+NZsBzHd7ZJva7EqXSULaGgTVOz4fQbHixtTEosUVeiuLMp3FarhKUjqG6yq3R5xJM1aJw6fyt2onyuVe/Vxr4xsaz1IFLKEoFsmKUbzhbhxTr1Z5T2NQFtUhh6SRDazy0rvrogMk7LiVTyUDtuHyf2dhzbL/wcjjsOZtjuZ2hdntrEd9K9XjkkwynHtog/3PgxE0Bz9b8CWyz0wX2Ii1whqcn7h9ScAzbUr6adCZFUItzcV2JyV+K9dC6h4TPgPBsohkbdt7qOuicWnxzMgyPTMle5zaluD4XFREkP05hO6ltOj/VIMtaUBYh2tGHAVEauqrNWzSI7m88eVaGq4NjsyUth3EQOYX5Mp6n/hBpB/P4CVWJG6cx4A6Ph2dkNPB/iui6+1YZjzCjSMGeo5f9BkkcMDlGvCDCMV8ab4nXFtxfIf1VdnV9xBsq2gDu2cSMg7YacT75iyR8QsGW6HVzOQ785lgKiiHN4OxeWXrn3ptz5dzMeL6FQ49Tk928RqOwof+jkl8IkU6eYbe4sMuKs0PY96ZdFp55g/4CyiclCA==\Bootstrapper\Facades\BootstrapperFacadeBadge\Bootstrapper\Facades\BadgeFacade for Bootstrapper Badges$instances\Bootstrapper\Facades\BootstrapperFacade::instancesarray()arraygetFacadeAccessor\Bootstrapper\Facades\Badge::getFacadeAccessor(){@inheritdoc}string__callStatic\Bootstrapper\Facades\BootstrapperFacade::__callStatic()Calls a static methodstringarraymixed$methodstring$argsarray\Bootstrapper\Facades\BootstrapperFacadegetInstance\Bootstrapper\Facades\BootstrapperFacade::getInstance()Get an instance out of the IoC, or the cached instancestringmixed$facadestring\Bootstrapper\Facades\BootstrapperFacadeNo summary was found for this fileeJxtjj1uwzAMRneegltaLz5ACtTJ0FN0YSjGEdJKgsgAAQzfPfpxBwP9FgEfH5/48ZluCSDQr2giFjzHaGqZUpL8/UVMTvQIMA4D4IC9wGvMOxDP5GbRQlRoKqI7zf+7GqAiWLMDmqOMR+AfUu1OlKdJcLpDuwoWgCppp9UMuEw+3CR7c5HXrfybTVnskQMWiQ/z1o7tTTmasIkrQzLPeH0ENh8DzmL9sxOzqMb89t42lr5fslkPl3rt4dj6FWCFF7NKab4=\Bootstrapper\RenderedObjectProgressBar\Bootstrapper\ProgressBarCreates Bootstrap 3 compliant progress barsPROGRESS_BAR_SUCCESS\Bootstrapper\ProgressBar::PROGRESS_BAR_SUCCESS'progress-bar-success'Constant for success progress barsPROGRESS_BAR_INFO\Bootstrapper\ProgressBar::PROGRESS_BAR_INFO'progress-bar-info'Constant for info progress barsPROGRESS_BAR_WARNING\Bootstrapper\ProgressBar::PROGRESS_BAR_WARNING'progress-bar-warning'Constant for warning success progress barsPROGRESS_BAR_DANGER\Bootstrapper\ProgressBar::PROGRESS_BAR_DANGER'progress-bar-danger'Constant for danger progress barsPROGRESS_BAR_NORMAL\Bootstrapper\ProgressBar::PROGRESS_BAR_NORMAL'progress-bar-default'Constant for normal progress bars$value\Bootstrapper\ProgressBar::value0integer$visible\Bootstrapper\ProgressBar::visiblefalseboolean$type\Bootstrapper\ProgressBar::type''string$striped\Bootstrapper\ProgressBar::stripedfalseboolean$animated\Bootstrapper\ProgressBar::animatedfalseboolean$visibleString\Bootstrapper\ProgressBar::visibleStringstringrender\Bootstrapper\ProgressBar::render()Renders the progress barstringsetType\Bootstrapper\ProgressBar::setType()Sets the type of the progress barstring\Bootstrapper\ProgressBar$typestringvalue\Bootstrapper\ProgressBar::value()Sets the value of the progress barinteger\Bootstrapper\ProgressBar$valueintegervisible\Bootstrapper\ProgressBar::visible()Whether the amount should be visiblestring\Bootstrapper\ProgressBar$string'%s%%'stringsuccess\Bootstrapper\ProgressBar::success()Creates a success progress barinteger\Bootstrapper\ProgressBar$value0integerinfo\Bootstrapper\ProgressBar::info()Creates an info progress barinteger\Bootstrapper\ProgressBar$value0integerwarning\Bootstrapper\ProgressBar::warning()Creates a warning progress barinteger\Bootstrapper\ProgressBar$value0integerdanger\Bootstrapper\ProgressBar::danger()Creates a danger progress barinteger\Bootstrapper\ProgressBar$value0integernormal\Bootstrapper\ProgressBar::normal()Creates a normal progress barinteger\Bootstrapper\ProgressBar$value0integerstriped\Bootstrapper\ProgressBar::striped()Sets the progress bar to be striped\Bootstrapper\ProgressBaranimated\Bootstrapper\ProgressBar::animated()Sets the progress bar to be animated\Bootstrapper\ProgressBarstack\Bootstrapper\ProgressBar::stack()Stacks several progress bars togetherarraystring$itemsarraygenerateFromArray\Bootstrapper\ProgressBar::generateFromArray()Generates a progress bar from an arrayarraymixed$progressBararray__toString\Bootstrapper\RenderedObject::__toString()Calls the render method on the object. If an exception is thrown,
it catches it and displays an error messagestring\Bootstrapper\RenderedObjectrender\Bootstrapper\RenderedObject::render()Renders the objectstring\Bootstrapper\RenderedObjectNo summary was found for this fileeJzFWG1P20gQ/p5fMYpAdlAg9O4bEGjotajSHVRJT3xoEdrYm8RX2+vbXScgxH+/2Rc7dmwnhCDOH8DJzswz+8zL7uTsIpklrVZMIioS4lG4ZEwKyUmSUH7aavUODlpwAJ84JZKK5Sr8Dh6LkjAgsYSEsymnQsCYcIHiSuMjWvtFpmWDuNBreSFB0W9W55JwoA+Sxr6AIf6lnPo343+oJ1tPrRbgo11QD7rBYiEV4oRxEKnnKdAVdC3Z0/89JQ7fhjdXw8+j0f3lYHg/+vvTJ3yHPjiZ3iHqHVpjzul6zCCesO0Av15/uamgKTOboBaEx0E8fd02bwfD66/XVxVga3QTtk/iKeXbQf4xuL76PKwgGlObAGPGIxJuB3h9M/xr8GcVkE5IGsoaxI9zoiIo4fuMwpyEKQU2AYkfirglWFyQmIrUhz2j0IfjBsNjxkK4nVG0x0FiSoOYsTT0YYxggQjGIW00bZbR+ISEgjYAYBGpfFDOy8dkK9+1PBLVRErZ9xWjhX0oFxLqN8HY5Q37eCkYiYMIm04jWrb+MtpuZ0RqtIxs+32OtyE4Iy1exTA9SzSFIneFU5ny2KKWsdJxGHgwSWNPBiwGri26Hb34ZETx2bMO96F95gdz0G20n+e+c962zmlhIlF6nKqe3YeYLmCQf+HmUur54WhDDvTPMU9mgTg8V9ly1y1LlT6pp6BWqj+nWxXlLKRlyQZBwgNyqAstZgut0X6yTulvn9trlaIgNjDH641H5MHIfTiulRTy0TpcBIcLaC8CX85OoOzUfhtOsLZKdu7yT51CWIIJuFbV1kqnEGH1FAKXReYOjrB0oXxcGW2s50zxuRYlq5GXwxBMwjmtN5yl4FGWg08FO8/lBFyKZlzZursoOSISFJMTtyxkiq1bor8DJyXN9hleWOKsDAQ/ZHH46JyvhMbcUqikZz0l3uRj+6yH+9li1ZazFTJsPVeaw4hK0xk2NOy8SySEkyhrTaZtZ/1+tZPofa5tJILK76joajuVdrKsdegbqJrtKaGNm9t0lK7sTp3A9jRdexBXVjM71acGdAueNIZrXGqgKTv8jdCWRBXPOhKxNG6+GjQkQuHot6+SKRsL9V+ZTQXlR3BLFbmUxyQMH5vZUs8iCEOllRXg0iBupAuCwSNLIUqFXG8niL0w9XFfsC9QK6IL3ClV+gsKHtYn8X1tEyVfERlDjrs8+5x9sb/vNEUpv0dJrqJUvzzKbOXFu1U0s1GI1N7Md0v5V9S48cFdXk8buMmagaDh5OSkbibqNBBhsz8rkI28xNUp6b1ZUQ7sRIma2t6Kj3yS+z8ZsT7sRIodKt+Ml5op871pMS7sxIqZe9+MlJpJ+L1JMS7sRIqZzXckJb9glG4FeFBVJtFX9E2jX52ySrfz/CR53cWoxu+VoXZ7xzMDTZ4XpuI1ruc7dJvZl8T7hWc6nVO++tMMbmaq7zT1qUk4J4+wF0gaCZ2cJeUjGBVmfCuMiatfRHfdfWMxC7wZCqr7RhgIqdQidIT56tzxQcPjZR9BVpl9weAt1I7dovPNM7hTmMF/5mPtT+e8MDlNGFY1+utaJoiAvUzykvDKTFYZmaY0Ru4l/cJZNFBuuSX94oxWY8QxU4uz9dRyZWFVOyql8AT9yEO2NvQFN2FQiHEWrEUgZ9iycCLHC5lQEyun/6YBp/7a+JuHTsHRnaP/m9PFud5mvLMa8ih4aPz1KA96lePqFippoMgwP6tgzsjAK1C8DHqRAxX6fFSuBJ4+JCHzdc3aV9fp49YKKqdlDcOjusNmuj+O71Zk5qpQ+xAI7NPuUu7DXQcuoPgZTiBOw7Csrn5EsKrKUGfV6YyHw3PrjJUrW3kGGuKQsUl1VauQ2PlrrwfXZuDhNGJzqjssQ244YJqLmho1GNnPaTWjfV91hXtOk5B4SHljSWOSqWgYrYKvTXZ03dnq6+Z1WLSwoSKfW/8BnzssUQ==
================================================
FILE: phpspec.yml
================================================
suites:
bootstrapper_suite:
namespace: Bootstrapper
src_path: src
spec_path: tests
spec_prefix: spec
abstract_suite:
namespace: DummyClasses
src_path: tests
spec_path: tests
spec_prefix: spec
extensions:
Akeneo\SkipExampleExtension: ~
================================================
FILE: src/Bootstrapper/Accordion.php
================================================
name = $name;
return $this;
}
/**
* Add the contents for the accordion. Should be an array of arrays
* Expected Keys:
*
*
title
*
contents
*
attributes (optional)
*
*
* @param array $contents
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets which panel should be opened. Numbering begins from 0.
*
* @param $integer int
* @return $this
*/
public function open($integer)
{
$this->opened = $integer;
return $this;
}
/**
* Renders the accordion
*
* @return string
*/
public function render()
{
if (!$this->name) {
$this->name = Helpers::generateId($this);
}
$attributes = new Attributes(
$this->attributes,
['class' => 'panel-group', 'id' => $this->name]
);
$string = "
";
return $string;
}
}
================================================
FILE: src/Bootstrapper/Alert.php
================================================
type = $type;
return $this;
}
/**
* Renders the alert
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
['class' => "alert {$this->type}"]
);
if ($this->closer) {
$attributes->addClass('alert-dismissable');
$this->contents = "{$this->contents}";
}
return "
{$this->contents}
";
}
/**
* Creates an info alert box
*
* @param string $contents
* @return $this
*/
public function info($contents = '')
{
return $this->setType(self::INFO)->withContents($contents);
}
/**
* Creates a success alert box
*
* @param string $contents
* @return $this
*/
public function success($contents = '')
{
return $this->setType(self::SUCCESS)->withContents($contents);
}
/**
* Creates a warning alert box
*
* @param string $contents
* @return $this
*/
public function warning($contents = '')
{
return $this->setType(self::WARNING)->withContents($contents);
}
/**
* Creates a danger alert box
*
* @param string $contents
* @return $this
*/
public function danger($contents = '')
{
return $this->setType(self::DANGER)->withContents($contents);
}
/**
* Sets the contents of the alert box
*
* @param $contents
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Adds a close button with the given text
*
* @param string $closer
* @return $this
*/
public function close($closer = '×')
{
$this->closer = $closer;
return $this;
}
}
================================================
FILE: src/Bootstrapper/Attributes.php
================================================
attributes = array_merge($defaults, $attributes);
if (isset($attributes['class']) && isset($defaults['class'])) {
$this->attributes['class'] = trim(
"{$defaults['class']} {$attributes['class']}"
);
}
}
/**
* Renders the HTML attributes
*
* @return string
*/
public function __toString()
{
$string = "";
foreach ($this->attributes as $param => $value) {
if ($value == '') {
continue;
}
if (is_string($param)) {
$value = str_replace("'", "\'", $value);
$value = htmlentities(trim($value));
$string .= "{$param}='{$value}' ";
} else {
$value = htmlentities(trim($value));
$string .= "{$value} ";
}
}
return trim($string);
}
/**
* (PHP 5 >= 5.0.0)
* Whether a offset exists
*
* @link http://php.net/manual/en/arrayaccess.offsetexists.php
* @param mixed $offset
* An offset to check for.
*
* @return boolean true on success or false on failure.
*
*
* The return value will be casted to boolean if
* non-boolean was returned.
*/
public function offsetExists($offset)
{
return array_key_exists($offset, $this->attributes);
}
/**
* (PHP 5 >= 5.0.0)
* Offset to retrieve
*
* @link http://php.net/manual/en/arrayaccess.offsetget.php
* @param mixed $offset
* The offset to retrieve.
*
* @return mixed Can return all value types.
*/
public function offsetGet($offset)
{
return $this->attributes[$offset];
}
/**
* (PHP 5 >= 5.0.0)
* Offset to set
*
* @link http://php.net/manual/en/arrayaccess.offsetset.php
* @param mixed $offset
* @return void
*/
public function offsetUnset($offset)
{
unset($this->attributes[$offset]);
}
/**
* Adds to to the class attributes
*
* @param $class string The class to add
* @return $this
*/
public function addClass($class)
{
$this->attributes['class'] = isset($this->attributes['class']) ?
trim($this->attributes['class']) . " {$class}" :
$class;
return $this;
}
}
================================================
FILE: src/Bootstrapper/Badge.php
================================================
attributes, ['class' => 'badge']);
$string = "{$this->contents}";
return $string;
}
/**
* Adds contents to the badge
*
* @param $contents
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
}
================================================
FILE: src/Bootstrapper/BootstrapperL5ServiceProvider.php
================================================
publishes(
[
__DIR__ . '/../config/config.php' => config_path(
'bootstrapper.php'
)
]
);
$this->mergeConfigFrom(
__DIR__ . '/../config/bootstrapper.php',
'bootstrapper'
);
$this->registerAccordion();
$this->registerAlert();
$this->registerBadge();
$this->registerBreadcrumb();
$this->registerButtonGroup();
$this->registerButton();
$this->registerCarousel();
$this->registerConfig();
$this->registerControlGroup();
$this->registerDropdownButton();
$this->registerFormBuilder();
$this->registerIcon();
$this->registerImage();
$this->registerInputGroup();
$this->registerHelpers();
$this->registerLabel();
$this->registerMediaObject();
$this->registerModal();
$this->registerNavbar();
$this->registerNavigation();
$this->registerPanel();
$this->registerProgressBar();
$this->registerTabbable();
$this->registerTable();
$this->registerThumbnail();
}
/**
* Registers the Accordion class in the IoC
*/
private function registerAccordion()
{
$this->app->bind(
'bootstrapper::accordion',
function () {
return new Accordion();
}
);
}
/**
* Registers the Alert class in the IoC
*/
private function registerAlert()
{
$this->app->bind(
'bootstrapper::alert',
function () {
return new Alert();
}
);
}
/**
* Registers the Badge class into the IoC
*/
private function registerBadge()
{
$this->app->bind(
'bootstrapper::badge',
function () {
return new Badge;
}
);
}
/**
* Registers the Breadcrumb class into the IoC
*/
private function registerBreadcrumb()
{
$this->app->bind(
'bootstrapper::breadcrumb',
function () {
return new Breadcrumb;
}
);
}
/**
* Registers the ButtonGroup class into the IoC
*/
private function registerButtonGroup()
{
$this->app->bind(
'bootstrapper::buttongroup',
function () {
return new ButtonGroup;
}
);
}
/**
* Registers the Button class into the IoC
*/
private function registerButton()
{
$this->app->bind(
'bootstrapper::button',
function () {
return new Button;
}
);
}
/**
* Registers the Carousel class into the IoC
*/
private function registerCarousel()
{
$this->app->bind(
'bootstrapper::carousel',
function () {
return new Carousel;
}
);
}
private function registerConfig()
{
$this->app->bind(
'bootstrapper::config',
function ($app) {
return new Laravel5Config($app->make('config'));
}
);
}
/**
* Registers the ControlGroup class into the IoC
*/
private function registerControlGroup()
{
$this->app->bind(
'bootstrapper::controlgroup',
function ($app) {
return new ControlGroup($app['bootstrapper::form']);
}
);
}
/**
* Registers the DropdownButton class into the IoC
*/
private function registerDropdownButton()
{
$this->app->bind(
'bootstrapper::dropdownbutton',
function () {
return new DropdownButton;
}
);
}
/**
* Registers the FormBuilder class into the IoC
*/
private function registerFormBuilder()
{
$this->app->bind(
'collective::html',
function ($app) {
return new HtmlBuilder($app->make('url'), $app->make('view'));
}
);
$this->app->bind(
'bootstrapper::form',
function ($app) {
$form = new Form(
$app->make('collective::html'),
$app->make('url'),
$app->make('view'),
$app['session.store']->token()
);
return $form->setSessionStore($app['session.store']);
},
true
);
}
/**
* Registers the Icon class into the IoC
*/
private function registerIcon()
{
$this->app->bind(
'bootstrapper::icon',
function ($app) {
return new Icon($app['bootstrapper::config']);
}
);
}
/**
* Registers the Image class into the IoC
*/
private function registerImage()
{
$this->app->bind(
'bootstrapper::image',
function () {
return new Image;
}
);
}
/**
* Registers the InputGroup class into the IoC
*/
private function registerInputGroup()
{
$this->app->bind(
'bootstrapper::inputgroup',
function () {
return new InputGroup;
}
);
}
/**
* Registers the Label class into the IoC
*/
private function registerLabel()
{
$this->app->bind(
'bootstrapper::label',
function () {
return new Label;
}
);
}
/**
* Registers the Helpers class into the IoC
*/
private function registerHelpers()
{
$this->app->bind(
'bootstrapper::helpers',
function ($app) {
return new Helpers($app['bootstrapper::config']);
}
);
}
/**
* Registers the MediaObject class into the IoC
*/
private function registerMediaObject()
{
$this->app->bind(
'bootstrapper::mediaobject',
function () {
return new MediaObject;
}
);
}
/**
* Registers the Modal class into the IoC
*/
private function registerModal()
{
$this->app->bind(
'bootstrapper::modal',
function () {
return new Modal;
}
);
}
/**
* Registers the Navbar class into the IoC
*/
private function registerNavbar()
{
$this->app->bind(
'bootstrapper::navbar',
function ($app) {
return new Navbar($app->make('url'));
}
);
}
/**
* Registers the Navigation class into the IoC
*/
private function registerNavigation()
{
$this->app->bind(
'bootstrapper::navigation',
function ($app) {
return new Navigation($app->make('url'));
}
);
}
/**
* Registers the Panel class into the IoC
*/
private function registerPanel()
{
$this->app->bind(
'bootstrapper::panel',
function () {
return new Panel;
}
);
}
/**
* Registers the ProgressBar class into the IoC
*/
private function registerProgressBar()
{
$this->app->bind(
'bootstrapper::progressbar',
function () {
return new ProgressBar;
}
);
}
/**
* Registers the Tabbable class into the IoC
*/
private function registerTabbable()
{
$this->app->bind(
'bootstrapper::tabbable',
function ($app) {
return new Tabbable($app['bootstrapper::navigation']);
}
);
}
/**
* Registers the Table class into the IoC
*/
private function registerTable()
{
$this->app->bind(
'bootstrapper::table',
function () {
return new Table;
}
);
}
/**
* Registers the Thumbnail class into the IoC
*/
private function registerThumbnail()
{
$this->app->bind(
'bootstrapper::thumbnail',
function () {
return new Thumbnail;
}
);
}
}
================================================
FILE: src/Bootstrapper/Breadcrumb.php
================================================
attributes,
['class' => 'breadcrumb']
);
$string = "";
foreach ($this->links as $text => $link) {
$string .= $this->renderLink($text, $link);
}
$string .= "";
return $string;
}
/**
* Set the links for the breadcrumbs. Expects an array of the following:
*
*
An array, with keys link and text
*
A string for the active link
*
*
* @param $links array
* @return $this
*/
public function withLinks(array $links)
{
$this->links = $links;
return $this;
}
/**
* Renders the link
*
* @param $text
* @param $link
* @return string
*/
protected function renderLink($text, $link)
{
$string = "";
if (is_string($text)) {
$string .= "
";
if ($this->label) {
$string .= $this->renderLabel();
}
if ($this->controlSize) {
$string .= $this->createControlDiv();
}
if (is_array($this->contents)) {
$string .= $this->renderArrayContents();
} else {
$string .= $this->contents;
}
$string .= $this->help;
if ($this->controlSize) {
$string .= "
";
}
$string .= "
";
return $string;
}
/**
* Set the attributes of the control group
*
* @param array $attributes The attributes array
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = $attributes;
return $this;
}
/**
* Adds the contents to the control group
*
* @param string $contents The contents of the control group
* @param null $controlSize |int The size of the form control
* @return $this
* @throws ControlGroupException If is $controlSize set and not between 1
* and 12
*/
public function withContents($contents, $controlSize = null)
{
if (isset($controlSize) && $this->sizeIsInvalid($controlSize)) {
throw new ControlGroupException(
'That content size is incorrect - it must be between 1 and 12'
);
}
$this->contents = $contents;
$this->controlSize = $controlSize;
return $this;
}
/**
* Sets the label of the control group
*
* @param string $label The label
* @param null $labelSize |int The size of the label
* @return $this
* @throws ControlGroupException If is $labelSize set and not between 1
* and 12
*/
public function withLabel($label, $labelSize = null)
{
if (isset($labelSize) && $this->sizeIsInvalid($labelSize)) {
throw new ControlGroupException(
'That label size is incorrect - it must be between 1 and 12'
);
}
$this->label = $label;
$this->labelSize = $labelSize;
return $this;
}
/**
* Adds a help block
*
* @param string $help The help information
* @return $this
*/
public function withHelp($help)
{
$this->help = $help;
return $this;
}
/**
* Adds validation error if occured
*
* @param string $name
* @return $this
*/
public function withValidation($name)
{
if ($this->formBuilder->hasErrors($name)) {
$this->addClass(['has-error']);
$this->withHelp($this->formBuilder->getFormattedError($name));
}
return $this;
}
/**
* Generates a full control group with a label, control and help block
*
* @param string $label The label
* @param string $control The form control
* @param string $help The help text
* @param int $labelSize The size of the label
* @param int $controlSize The size of the form control
* @return $this
* @throws ControlGroupException if the sizes are invalid
*/
public function generate(
$label,
$control,
$help = null,
$labelSize = null,
$controlSize = null
) {
if ($this->sizesAreInvalid($labelSize, $controlSize)) {
throw new ControlGroupException(
'The label size + control size must be between 1 and 12'
);
}
return $this->withLabel($label, $labelSize)
->withContents($control, $controlSize)
->withHelp($help);
}
/**
* Renders the contents if given as an array
*
* @return string
*/
protected function renderArrayContents()
{
$string = '';
foreach ($this->contents as $item) {
if (isset($item['label'])) {
$string .= call_user_func_array(
[$this->formBuilder, 'label'],
$item['label']
) . ' ';
}
$input_args = $item['input'];
$type = $input_args['type'];
unset($input_args['type']);
$string .= call_user_func_array(
[$this->formBuilder, $type],
$input_args
);
$string .= ' ';
}
return $string;
}
/**
* Renders the label
*
* @return string
*/
public function renderLabel()
{
$string = '';
if ($this->labelSize) {
$this->controlSize = $this->controlSize ?: 12 - $this->labelSize;
$this->label = preg_replace(
"/class=('|\")(.*)('|\")/i",
sprintf('class=${1}${2} col-sm-%s${3}', $this->labelSize),
$this->label
);
}
$string .= $this->label;
return $string;
}
/**
* Creates the div to surround the form control
*
* @return string
*/
public function createControlDiv()
{
return sprintf("
", $this->controlSize);
}
/**
* Checks if both the label size and control size are invalid
*
* @param int $labelSize The size of the label
* @param int $controlSize The size of the control group
* @return bool
*/
protected function sizesAreInvalid($labelSize = null, $controlSize = null)
{
// If both are null then we have a valid size
if (!isset($labelSize) && !isset($controlSize)) {
return false;
}
// So at least one of these is null
if (isset($labelSize)) {
if ($this->sizeIsInvalid($labelSize)) {
return true;
}
} else {
$labelSize = 0;
}
if (isset($controlSize)) {
if ($this->sizeIsInvalid($controlSize)) {
return true;
}
} else {
$controlSize = 0;
}
return $this->sizeIsInvalid($labelSize + $controlSize);
}
/**
* Checks if the size is invalid
*
* @param int $size The size
* @return bool True if the size is below 1 or greater than 11,
* false otherwise
*/
protected function sizeIsInvalid($size)
{
return $size < 1 || $size > 12;
}
}
================================================
FILE: src/Bootstrapper/DropdownButton.php
================================================
";
/**
* Constant for primary buttons
*/
const PRIMARY = 'btn-primary';
/**
* Constant for danger buttons
*/
const DANGER = 'btn-danger';
/**
* Constant for warning buttons
*/
const WARNING = 'btn-warning';
/**
* Constant for success buttons
*/
const SUCCESS = 'btn-success';
/**
* Constant for default buttons
*/
const NORMAL = 'btn-default';
/**
* Constant for info buttons
*/
const INFO = 'btn-info';
/**
* Constant for large buttons
*/
const LARGE = 'btn-lg';
/**
* Constant for small buttons
*/
const SMALL = 'btn-sm';
/**
* Constant for extra small buttons
*/
const EXTRA_SMALL = 'btn-xs';
/**
* @var string The label for this button
*/
protected $label;
/**
* @var array The contents of the dropdown button
*/
protected $contents = [];
/**
* @var string The type of the button
*/
protected $type = 'btn-default';
/**
* @var string The size of the button
*/
protected $size;
/**
* @var bool Whether the drop icon should be a seperate button
*/
protected $split = false;
/**
* @var bool Whether the button should drop up
*/
protected $dropup = false;
/**
* Set the label of the button
*
* @param $label
* @return $this
*/
public function labelled($label)
{
$this->label = $label;
return $this;
}
/**
* Set the contents of the button
*
* @param array $contents The contents of the dropdown button
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the type of the button
*
* @param string $type The type of the button
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the size of the button
*
* @param string $size The size of the button
* @return $this
*/
public function setSize($size)
{
$this->size = $size;
return $this;
}
/**
* Splits the button
*
* @return $this
*/
public function split()
{
$this->split = true;
return $this;
}
/**
* Sets the button to drop up
*
* @return $this
*/
public function dropup()
{
$this->dropup = true;
return $this;
}
/**
* Creates a normal dropdown button
*
* @param string $label The label
* @return $this
*/
public function normal($label = '')
{
$this->setType(self::NORMAL);
return $this->labelled($label);
}
/**
* Creates a primary dropdown button
*
* @param string $label The label
* @return $this
*/
public function primary($label = '')
{
$this->setType(self::PRIMARY);
return $this->labelled($label);
}
/**
* Creates a danger dropdown button
*
* @param string $label The label
* @return $this
*/
public function danger($label = '')
{
$this->setType(self::DANGER);
return $this->labelled($label);
}
/**
* Creates a warning dropdown button
*
* @param string $label The label
* @return $this
*/
public function warning($label = '')
{
$this->setType(self::WARNING);
return $this->labelled($label);
}
/**
* Creates a success dropdown button
*
* @param string $label The label
* @return $this
*/
public function success($label = '')
{
$this->setType(self::SUCCESS);
return $this->labelled($label);
}
/**
* Creates a info dropdown button
*
* @param string $label The label
* @return $this
*/
public function info($label = '')
{
$this->setType(self::INFO);
return $this->labelled($label);
}
/**
* Sets the size to large
*
* @return $this
*/
public function large()
{
$this->setSize(self::LARGE);
return $this;
}
/**
* Sets the size to small
*
* @return $this
*/
public function small()
{
$this->setSize(self::SMALL);
return $this;
}
/**
* Sets the size to extra small
*
* @return $this
*/
public function extraSmall()
{
$this->setSize(self::EXTRA_SMALL);
return $this;
}
/**
* Renders the dropdown button
*
* @return string
*/
public function render()
{
if ($this->dropup) {
$string = "
";
} else {
$string .= $item;
}
}
return $string;
}
}
================================================
FILE: src/Bootstrapper/Exceptions/AccordionException.php
================================================
$method();
case 1:
return $instance->$method($args[0]);
case 2:
return $instance->$method($args[0], $args[1]);
case 3:
return $instance->$method($args[0], $args[1], $args[2]);
case 4:
return $instance->$method(
$args[0],
$args[1],
$args[2],
$args[3]
);
default:
return call_user_func_array(array($instance, $method), $args);
}
}
/**
* Get an instance out of the IoC, or the cached instance
*
* @param string $facade The facade accessor
* @return mixed The Bootstrapper object
*/
private static function getInstance($facade)
{
if (!isset(static::$instances[$facade])) {
static::$instances[$facade] = static::getFacadeRoot();
}
return static::$instances[$facade];
}
}
================================================
FILE: src/Bootstrapper/Facades/Breadcrumb.php
================================================
";
const PRIMARY = 'btn-primary';
const DANGER = 'btn-danger';
const WARNING = 'btn-warning';
const SUCCESS = 'btn-success';
const INFO = 'btn-info';
const LARGE = 'btn-lg';
const SMALL = 'btn-sm';
const EXTRA_SMALL = 'btn-xs';
/**
* {@inheritdoc}
* @return string
*/
protected static function getFacadeAccessor()
{
return 'bootstrapper::dropdownbutton';
}
}
================================================
FILE: src/Bootstrapper/Facades/Form.php
================================================
open($attributes);
}
/**
* Opens a horizontal form
*
* @param array $attributes
* @return string
*/
public function horizontal($attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_HORIZONTAL . ' ' . $attributes['class'] :
self::FORM_HORIZONTAL;
return $this->open($attributes);
}
/**
* Creates a validation block
*
* @param string $type The type of validation
* @param string $label The label
* @param string $input The input
* @param array $attributes The attributes of the validation block
* @return string
*/
public function validation($type, $label, $input, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
"form-group {$type} " . $attributes['class'] :
"form-group {$type} ";
$attributes = new Attributes($attributes);
return "
{$label}{$input}
";
}
/**
* Creates a success validation block
*
* @param string $label The label
* @param string $input The input
* @param array $attributes The attributes of the validation block
* @return string
* @see Bootstrapper\\Form::validation()
*/
public function success($label, $input, $attributes = [])
{
return ($this->validation(
self::FORM_SUCCESS,
$label,
$input,
$attributes
));
}
/**
* Creates a warning validation block
*
* @param string $label The label
* @param string $input The input
* @param array $attributes The attributes of the validation block
* @return string
* @see Bootstrapper\\Form::validation()
*/
public function warning($label, $input, $attributes = [])
{
return ($this->validation(
Form::FORM_WARNING,
$label,
$input,
$attributes
));
}
/**
* Creates an error validation block
*
* @param string $label The label
* @param string $input The input
* @param array $attributes The attributes of the validation block
* @return string
* @see Bootstrapper\\Form::validation()
*/
public function error($label, $input, $attributes = [])
{
return ($this->validation(
Form::FORM_ERROR,
$label,
$input,
$attributes
));
}
/**
* Creates a feedback block with an icon
*
* @param string $label The label
* @param string $input The input
* @param string $icon The icon
* @param array $attributes The attributes of the block
* @return string
*/
public function feedback($label, $input, $icon, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
'form-group has-feedback ' . $attributes['class'] :
'form-group has-feedback';
$attributes = new Attributes($attributes);
$icon = "";
return "
{$label}{$input}{$icon}
";
}
/**
* Creates a help block
*
* @param string $helpText The help text
* @param array $attributes
* @return string
*/
public function help($helpText, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
'help-block ' . $attributes['class'] :
'help-block';
$attributes = new Attributes($attributes);
return "{$helpText}";
}
/**
* Opens a horizontal form with a given model
*
* @param mixed $model
* @param array $attributes
* @return string
* @see Bootstrapper\Form::horizontal()
* @see Illuminate\Html::model()
*/
public function horizontalModel($model, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_HORIZONTAL . ' ' . $attributes['class'] :
self::FORM_HORIZONTAL;
return $this->model($model, $attributes);
}
/**
* Opens a inline form with a given model
*
* @param mixed $model
* @param array $attributes
* @return string
* @see Bootstrapper\Form::inline()
* @see Illuminate\Html::model()
*/
public function inlineModel($model, $attributes = [])
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_INLINE . ' ' . $attributes['class'] :
self::FORM_INLINE;
return $this->model($model, $attributes);
}
/**
* {@inheritdoc}
* @param string $name
* @param array $list
* @param null $selected
* @param array $selectAttributes
* @param array $optionsAttributes
* @return string
*/
public function select(
$name,
$list = [],
$selected = null,
array $selectAttributes = [],
array $optionsAttributes = [],
array $optgroupsAttributes = []
) {
$selectAttributes['class'] = isset($selectAttributes['class']) ?
self::FORM_CONTROL . ' ' . $selectAttributes['class'] :
self::FORM_CONTROL;
return parent::select($name, $list, $selected, $selectAttributes, $optionsAttributes, $optgroupsAttributes);
}
/**
* {@inheritdoc}
* @param string $name The name of the text area
* @param string|null $value The default value
* @param array $attributes The attributes of the text area
* @return string
*/
public function textarea($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::textarea($name, $value, $attributes);
}
/**
* {@inheritdoc}
* @param string $name The name of the password input
* @param array $attributes The attributes of the input
* @return string
*/
public function password($name, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::password($name, $attributes);
}
/**
* {@inheritdoc}
* @param string $name The name of the text input
* @param string|null $value The default value
* @param array $attributes The attributes of the input
* @return string
*/
public function text($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::text($name, $value, $attributes);
}
/**
* {@inheritdoc}
* @param string $name The name of the email input
* @param string|null $value The default value of the input
* @param array $attributes The attributes of the email input
* @return string
*/
public function email($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::email($name, $value, $attributes);
}
/**
* Creates a datetime form element
*
* @param string $name The name of the element
* @param null $value The value
* @param array $attributes The attributes
* @return string
* @see Illuminate\FormBuilder\input()
*/
public function datetime($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('datetime', $name, $value, $attributes);
}
/**
* Creates a datetime local element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
* @see Illuminate\FormBuilder\input()
*/
public function datetimelocal($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('datetime-local', $name, $value, $attributes);
}
/**
* Creates a date input
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function date($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('date', $name, $value, $attributes);
}
/**
* Creates a month input
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function month($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('month', $name, $value, $attributes);
}
/**
* Creates a week form element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function week($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('week', $name, $value, $attributes);
}
/**
* Creates a time form element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function time($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('time', $name, $value, $attributes);
}
/**
* Creates a number form element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function number($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('number', $name, $value, $attributes);
}
/**
* Creates a url form element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function url($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('url', $name, $value, $attributes);
}
/**
* Creates a search element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function search($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('search', $name, $value, $attributes);
}
/**
* Creates a tel element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function tel($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('tel', $name, $value, $attributes);
}
/**
* Creates a color element
*
* @param string $name The name of the element
* @param null $value
* @param array $attributes
* @return string
*/
public function color($name, $value = null, $attributes = array())
{
$attributes['class'] = isset($attributes['class']) ?
self::FORM_CONTROL . ' ' . $attributes['class'] :
self::FORM_CONTROL;
return parent::input('color', $name, $value, $attributes);
}
/**
* Determine whether the form element with the given name
* has any validation errors.
*
* @param string $name
* @return bool
*/
public function hasErrors($name)
{
$session = $this->getSessionStore();
if (is_null($session) || !$session->has('errors')) {
// If the session is not set, or the session doesn't contain
// any errors, the form element does not have any errors
// applied to it.
return false;
}
// Get the errors from the session.
$errors = $session->get('errors');
// Check if the errors contain the form element with the given name.
return $errors->has($this->transformKey($name));
}
/**
* Get the formatted errors for the form element with the given name.
*
* @param string $name
* @return string
*/
public function getFormattedError($name)
{
if (!$this->hasErrors($name)) {
// If the form element does not have any errors, return
// an emptry string.
return '';
}
// Get the errors from the session.
$errors = $this->getSessionStore()->get('errors');
// Return the formatted error message, if the form element has any.
return $errors->first($this->transformKey($name), $this->help(':message'));
}
}
================================================
FILE: src/Bootstrapper/Helpers.php
================================================
config = $config;
}
/**
* Slugifies a string
*
* @param string $string
* @return mixed
*/
public static function slug($string)
{
return preg_replace('/[^A-Za-z0-9-]+/', '-', strtolower($string));
}
/**
* Outputs a link to the Bootstrap CDN
*
* @param bool $withTheme Gets the bootstrap theme as well
* @return string
*/
public function css($withTheme = true)
{
$version = $this->config->getBootstrapperVersion();
$string = "";
if ($withTheme) {
$string .= "";
}
return $string;
}
/**
* Outputs a link to the Jquery and Bootstrap CDN
*
* @return string
*/
public function js()
{
$jquery = $this->config->getJQueryVersion();
$bootstrap = $this->config->getBootstrapperVersion();
return ""
. "";
}
/**
* Generate an id of the form "x-class-name-x". These should always be
* unique.
*
* @param RenderedObject $caller The object that called this
* @return string A unique id
*/
public static function generateId(RenderedObject $caller)
{
$class = get_class($caller);
if (isset(self::$counts[$class])) {
$count = self::$counts[$class];
self::$counts[$class] += 1;
} else {
$count = 1;
self::$counts[$class] = 2;
}
return static::slug(implode(' ', [$count, $class, $count]));
}
}
================================================
FILE: src/Bootstrapper/Icon.php
================================================
config = $config;
}
/**
* Renders the object
*
* @return string
* @throws IconException
*/
public function render()
{
if (is_null($this->icon)) {
throw IconException::noIconSpecified();
}
$baseClass = $this->config->getIconPrefix();
$icon = $this->icon;
$attributes = new Attributes(
$this->attributes,
[
'class' => "$baseClass $baseClass-$icon"
]
);
$tag = $this->config->getIconTag();
return "<$tag $attributes>$tag>";
}
/**
* Creates a span link with the correct icon link
*
* @param string $icon The icon name
* @return string
*/
public function create($icon)
{
$this->icon = $this->normaliseIconString($icon);
return $this;
}
/**
* Magic method to create icons. Meaning the $icon->test is the same as
* $icon->create('test')
*
* @param $method The icon name
* @param $parameters The parameters. Not used
* @return string
*/
public function __call($method, $parameters)
{
return $this->create($method);
}
/**
* Replaces underscores with a minus sign, and convert camelCase to dash
* separated
*
* @param string $icon
* @return string
*/
private function normaliseIconString($icon)
{
// replace underscores with minus sign
// and transform from camelCaseString to camel-case-string
$icon = strtolower(
preg_replace(
'/(?<=\\w)(?=[A-Z])/',
"-$1",
str_replace('_', '-', $icon)
)
);
return $icon;
}
}
================================================
FILE: src/Bootstrapper/Image.php
================================================
src) {
throw new ImageException("You must specify the source");
}
$attributes = new Attributes(
$this->attributes,
['src' => $this->src, 'alt' => $this->alt]
);
return "";
}
/**
* Sets the source of the image
*
* @param string $source The source of the image
* @return $this
*/
public function withSource($source)
{
$this->src = $source;
return $this;
}
/**
* Sets the alt text of the image
*
* @param string $alt The alt text of the image
* @return $this
*/
public function withAlt($alt)
{
$this->alt = $alt;
return $this;
}
/**
* Sets the image to be responsive
*
* @return $this
*/
public function responsive()
{
$this->addClass([self::IMAGE_RESPONSIVE]);
return $this;
}
/**
* Creates a rounded image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function rounded($src = null, $alt = null)
{
$this->addClass([self::IMAGE_ROUNDED]);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* Creates a circle image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function circle($src = null, $alt = null)
{
$this->addClass([self::IMAGE_CIRCLE]);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* Creates a thumbnail image
*
* @param null|string $src The source of the image. Pass null to use the
* previous value of the source
* @param null|string $alt The alt text of the image. Pass null to use
* the previous value
* @return $this
*/
public function thumbnail($src = null, $alt = null)
{
$this->addClass([self::IMAGE_THUMBNAIL]);
if (!isset($src)) {
$src = $this->src;
}
if (!isset($alt)) {
$alt = $this->alt;
}
return $this->withSource($src)->withAlt($alt);
}
/**
* BC version of Image::addClass()
*
* @param string|array $class
* @return $this
*/
public function addClass($class)
{
if (is_string($class)) {
trigger_error(
'Passing strings to Image::getClass ' .
'is depreciated, and will be removed in a future version of ' .
'Bootstrapper',
E_USER_DEPRECATED
);
$class = [$class];
}
return parent::addClass($class);
}
}
================================================
FILE: src/Bootstrapper/InputGroup.php
================================================
"input-group {$this->size}"];
$attributes = new Attributes($this->attributes, $attributes);
$string = "
";
return $string;
}
/**
* Renders an addon
*
* @param array $addon The addon to render
* @return string
*/
protected function renderAddon(array $addon)
{
$string = "";
if ($addon['isButton']) {
$string .= "";
} else {
$string .= "";
}
$string .= $addon['value'];
$string .= "";
return $string;
}
/**
* Sets the contents of the input group
*
* @param string $contents The new contents
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the size of the input group
*
* @param string $size The new size
* @return $this
*/
public function setSize($size)
{
$this->size = $size;
return $this;
}
/**
* Prepends something to the input
*
* @param string $prepend The value to prepend
* @param bool $isButton Whether the value is a button
* @return $this
*/
public function prepend($prepend, $isButton = false)
{
$this->prepend = ['value' => $prepend, 'isButton' => $isButton];
return $this;
}
/**
* Prepend a button
*
* @param string $button The button to prepend
* @return $this
*/
public function prependButton($button)
{
return $this->prepend($button, true);
}
/**
* Appends something to the input
*
* @param string $append The value to append
* @param bool $isButton Whether the value is a button
* @return $this
*/
public function append($append, $isButton = false)
{
$this->append = ['value' => $append, 'isButton' => $isButton];
return $this;
}
/**
* Append a button
*
* @param string $button The button to append
* @return $this
*/
public function appendButton($button)
{
return $this->append($button, true);
}
/**
* Makes the input group large
*
* @return $this
*/
public function large()
{
$this->setSize(self::LARGE);
return $this;
}
/**
* Makes the input group small
*
* @return $this
*/
public function small()
{
$this->setSize(self::SMALL);
return $this;
}
}
================================================
FILE: src/Bootstrapper/Interfaces/TableInterface.php
================================================
attributes,
[
'class' => "label {$this->type}"
]
);
return "{$this->contents}";
}
/**
* Sets the contents of the label
*
* @param string $contents The new contents of the label
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Sets the type of the label. Assumes that the label- prefix is already set
*
* @param string $type The new type
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Creates a primary label
*
* @param string $contents The contents of the label
* @return $this
*/
public function primary($contents = '')
{
$this->setType(self::LABEL_PRIMARY);
return $this->withContents($contents);
}
/**
* Creates a success label
*
* @param string $contents The contents of the label
* @return $this
*/
public function success($contents = '')
{
$this->setType(self::LABEL_SUCCESS);
return $this->withContents($contents);
}
/**
* Creates an info label
*
* @param string $contents The contents of the label
* @return $this
*/
public function info($contents = '')
{
$this->setType(self::LABEL_INFO);
return $this->withContents($contents);
}
/**
* Creates a warning label
*
* @param string $contents The contents of the label
* @return $this
*/
public function warning($contents = '')
{
$this->setType(self::LABEL_WARNING);
return $this->withContents($contents);
}
/**
* Creates a danger label
*
* @param string $contents The contents of the label
* @return $this
*/
public function danger($contents = '')
{
$this->setType(self::LABEL_DANGER);
return $this->withContents($contents);
}
/**
* Creates a label
*
* @param string $contents The contents of the label
* @param string $type The type to use
* @return $this
*/
public function create($contents, $type = self::LABEL_DEFAULT)
{
$this->setType($type);
return $this->withContents($contents);
}
/**
* Creates a normal label
*
* @param string $contents The contents of the label
* @return $this
*/
public function normal($contents = '')
{
$this->setType(self::LABEL_DEFAULT);
return $this->withContents($contents);
}
}
================================================
FILE: src/Bootstrapper/MediaObject.php
================================================
list) {
return $this->renderList();
}
if (!$this->contents) {
throw new MediaObjectException(
"You need to give the object some contents"
);
}
return $this->renderItem($this->contents, 'div');
}
/**
* Sets the contents of the media object
*
* @param array $contents The contents of the media object
* @return $this
*/
public function withContents(array $contents)
{
$this->contents = $contents;
// Check if it's an array of arrays
$this->list = isset($contents[0]);
return $this;
}
/**
* Force the media object to become a list
*
* @return $this
*/
public function asList()
{
$this->list = true;
return $this;
}
/**
* Renders a list
*
* @return string
*/
protected function renderList()
{
$attributes = new Attributes(
$this->attributes,
['class' => 'media-list']
);
$this->attributes = [];
$string = "
";
return $string;
}
/**
* Renders an item in the string
*
* @param array $contents
* @param string $tag The tag to wrap the item in
* @return string
* @throws MediaObjectException
*/
protected function renderItem(array $contents, $tag)
{
$position = $this->getPosition($contents);
$heading = $this->getHeading($contents);
$image = $this->getImage($contents, $heading);
$link = $this->getLink($contents, $image, $position);
$body = $this->getBody($contents);
$attributes = new Attributes($this->attributes, ['class' => 'media']);
$string = "<{$tag} {$attributes}>";
$string .= $link;
$string .= "
";
if ($heading) {
$string .= "
{$heading}
";
}
$string .= $body;
$string .= "
{$tag}>";
return $string;
}
/**
* Get the position
*
* @param array $contents
* @return string pull-right if the position key equals right. pull-left
* otherwise
*/
protected function getPosition(array $contents)
{
if (isset($contents['position']) && $contents['position'] == 'right') {
return 'pull-right';
}
return 'pull-left';
}
/**
* Get the image of the media object
*
* @param array $contents
* @param string $alt The alt text of the image
* @return string
* @throws MediaObjectException if there is no image set
*/
protected function getImage(array $contents, $alt)
{
if (!isset($contents['image'])) {
throw new MediaObjectException(
"You must pass in an image to each object"
);
}
$image = $contents['image'];
$attributes = new Attributes(
['class' => 'media-object', 'src' => $image, 'alt' => $alt]
);
return "";
}
/**
* Get the heading of the media object
*
* @param array $contents
* @return string
*/
protected function getHeading(array $contents)
{
return isset($contents['heading']) ? $contents['heading'] : '';
}
/**
* Turn the image into a link/div
*
* @param array $contents The contents array
* @param string $image The image
* @param string $position The position
* @return string
*/
protected function getLink(array $contents, $image, $position)
{
if (isset($contents['link'])) {
return "{$image}";
}
return "
{$image}
";
}
/**
* Get the body of the contents array
*
* @param array $contents
* @return string
* @throws MediaObjectException if the body key has not been set
*/
protected function getBody(array $contents)
{
if (!isset($contents['body'])) {
throw new MediaObjectException(
'You must pass in the body to each object'
);
}
$string = $contents['body'];
if (isset($contents['nest'])) {
$object = new MediaObject();
$string .= $object->withContents($contents['nest']);
}
return $string;
}
}
================================================
FILE: src/Bootstrapper/Modal.php
================================================
attributes, ['class' => 'modal']);
$string = $this->renderButton($attributes);
$string .= "
";
return $string;
}
/**
* Sets the title of the modal
*
* @param string $title
* @return $this
*/
public function withTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Renders the header of the modal
*
* @return string
*/
protected function renderHeader()
{
$title = '';
if ($this->title) {
$title .= "
{$this->title}
";
}
return "
{$title}
";
}
/**
* Sets the body of the modal
*
* @param string $body The new body of the modal
* @return $this
*/
public function withBody($body)
{
$this->body = $body;
return $this;
}
/**
* Renders the body
*
* @return string
*/
protected function renderBody()
{
return $this->body ? "
{$this->body}
" : '';
}
/**
* Renders the footer
*
* @return string
*/
protected function renderFooter()
{
return $this->footer ? "" : '';
}
/**
* Set the footer of the modal
*
* @param string $footer The footer
* @return $this
*/
public function withFooter($footer)
{
$this->footer = $footer;
return $this;
}
/**
* Sets the name of the modal
*
* @param string $name The name of the modal
* @return $this
*/
public function named($name)
{
$this->name = $name;
$this->attributes['id'] = $name;
return $this;
}
/**
* Sets the button
*
* @param Button $button The button to open the modal with
* @return $this
*/
public function withButton(Button $button = null)
{
if ($button) {
$this->button = $button;
} else {
$button = new Button();
$this->button = $button->withValue('Open Modal');
}
return $this;
}
/**
* Renders the button
*
* @param Attributes $attributes The attributes of the modal
* @return string
*/
protected function renderButton(Attributes $attributes)
{
if (!$this->button) {
return '';
}
if (!isset($attributes['id'])) {
$attributes['id'] = Helpers::generateId($this);
}
$this->button->addAttributes(
['data-toggle' => 'modal', 'data-target' => "#{$attributes['id']}"]
)->render();
return $this->button->render();
}
}
================================================
FILE: src/Bootstrapper/Navbar.php
================================================
url = $url;
}
/**
* Renders the navbar
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
[
'class' => "navbar {$this->type} {$this->position}",
'role' => 'navigation'
]
);
$string = "
";
// Add the collapse button
$string .= "";
if ($this->brand) {
$string .= "{$this->brand['brand']}";
}
$string .= "
";
return $string;
}
/**
* Sets the brand of the navbar
*
* @param string $brand The brand
* @param null|string $link The link. If not set we default to linking to
* '/' using the UrlGenerator
* @return $this
*/
public function withBrand($brand, $link = null)
{
if (!isset($link)) {
$link = $this->url->to('/');
}
$this->brand = compact('brand', 'link');
return $this;
}
/**
* Sets the brand of the navbar
*
* @param string $image The brand image
* @param null|string $link The link. If not set we default to linking to
* '/' using the UrlGenerator
* @param string $altText The alt text for the image
* @return $this
*/
public function withBrandImage($image, $link = null, $altText = '')
{
$altText = $altText !== '' ? " alt='{$altText}'" : '';
return $this->withBrand("", $link);
}
/**
* Adds some content to the navbar
*
* @param mixed $content Anything that can become a string! If you pass in a
* Bootstrapper\Navigation object we'll make sure
* it's a navbar on render.
* @return $this
*/
public function withContent($content)
{
$this->content[] = $content;
return $this;
}
/**
* Sets the navbar to be inverse
*
* @param string $position
* @param array $attributes
* @return $this
*/
public function inverse($position = null, $attributes = [])
{
if (isset($position)) {
$this->setPosition($position);
$this->withAttributes($attributes);
}
$this->setType(self::NAVBAR_INVERSE);
return $this;
}
/**
* Sets the position to top
*
* @return $this
*/
public function staticTop()
{
$this->setPosition(self::NAVBAR_STATIC);
return $this;
}
/**
* Sets the type of the navbar
*
* @param string $type The type of the navbar. Assumes that the navbar-
* prefix is there
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the position of the navbar
*
* @param string $position The position of the navbar. Assumes that the
* navbar- prefix is there
* @return $this
*/
public function setPosition($position)
{
$this->position = $position;
return $this;
}
/**
* Sets the position of the navbar to the top
*
* @return $this
*/
public function top()
{
$this->setPosition(self::NAVBAR_TOP);
return $this;
}
/**
* Sets the position of the navbar to the bottom
*
* @return $this
*/
public function bottom()
{
$this->setPosition(self::NAVBAR_BOTTOM);
return $this;
}
/**
* Creates a navbar with a position and attributes
*
* @param string $position The position of the navbar
* @param array $attributes The attributes of the navbar
* @return $this
*/
public function create($position, $attributes = [])
{
$this->setPosition($position);
return $this->withAttributes($attributes);
}
/**
* Sets the navbar to be fluid
*
* @return $this
*/
public function fluid()
{
$this->fluid = true;
return $this;
}
}
================================================
FILE: src/Bootstrapper/Navigation.php
================================================
*
title - The text to show
*
link - The link
*
active - (optional) Forces the link to be active
*
disabled - (optional) Forces the link to be disabled. Note that
* active has priority over this
*
linkAttributes - The attributes for the link
*
callback - A callback. If it return a result that is EXACTLY
* equal to false then the link won't be shown
*
* To create a dropdown, the inner array should instead be [$title, $links],
* where $links is an array of arrays for links
*/
protected $links = [];
/**
* @var UrlGenerator A laravel URL generator
*/
protected $url;
/**
* @var bool Whether we should automatically activate links
*/
protected $autoroute = true;
/**
* @var bool Whether the links are justified or not
*/
protected $justified = false;
/**
* @var bool Whether the navigation links are stacked or not
*/
protected $stacked = false;
/**
* @var string Whether the navigation should be floated
*/
protected $float;
/**
* Creates a new instance of Navigation
*
* @param UrlGenerator $urlGenerator
*/
public function __construct(UrlGenerator $urlGenerator)
{
$this->url = $urlGenerator;
}
/**
* Renders the navigation object
*
* @return string
*/
public function render()
{
$attributes = new Attributes(
$this->attributes,
['class' => "nav {$this->type}"]
);
if ($this->justified) {
$attributes->addClass('nav-justified');
}
if ($this->stacked) {
$attributes->addClass('nav-stacked');
}
if ($this->float) {
$attributes->addClass($this->float);
}
$string = "
";
return $string;
}
/**
* Sets the autorouting. Pass false to turn it off, true to turn it on
*
* @param bool $autoroute Whether the autorouting should be on
* @return $this
*/
public function autoroute($autoroute)
{
$this->autoroute = $autoroute;
return $this;
}
/**
* Renders the dropdown
*
* @param array $link The link to render
* @return string
*/
protected function renderDropdown(array $link)
{
if ($this->dropdownShouldBeActive($link)) {
$string = '
';
return $string;
}
/**
* Checks to see if the dropdown should be active
*
* @param array $dropdown The dropdown array
* @return bool
*/
protected function dropdownShouldBeActive(array $dropdown)
{
if ($this->autoroute) {
foreach ($dropdown[1] as $item) {
if ($this->itemShouldBeActive($item)) {
return true;
}
}
}
return false;
}
/**
* Checks to see if the given item should be active
*
* @param mixed $link A link to check whether it should be active
* @return bool
*/
protected function itemShouldBeActive($link)
{
if (is_string($link)) {
return false;
}
$auto = $this->autoroute && $this->url->current() == $link['link'];
$manual = isset($link['active']) && $link['active'];
return $auto || $manual;
}
/**
* Turns the navigation object into one for navbars
*
* @return $this
*/
public function navbar()
{
$this->type = self::NAVIGATION_NAVBAR;
return $this;
}
/**
* Makes the navigation links justified
*
* @return $this
*/
public function justified()
{
$this->justified = true;
return $this;
}
/**
* Makes the navigation stacked
*
* @return $this
*/
public function stacked()
{
$this->stacked = true;
return $this;
}
/**
* Makes the navigation links float right
*
* @return $this
*/
public function right()
{
$this->float = self::NAVBAR_RIGHT;
return $this;
}
/**
* Makes the navigation links float left
*
* @return $this
*/
public function left()
{
$this->float = self::NAVBAR_LEFT;
return $this;
}
/**
* Renders a separator
*
* @param string $separator
* @return string
*/
protected function renderSeparator($separator)
{
return "";
}
/**
* Renders an item
*
* @param string|array $link The item to render
* @return string
*/
private function renderItem($link)
{
if (!is_array($link)) {
$string = $this->renderSeparator($link);
} elseif (isset($link['link'])) {
$string = $this->renderLink($link);
} else {
$string = $this->renderDropdown($link);
}
return $string;
}
}
================================================
FILE: src/Bootstrapper/Panel.php
================================================
attributes,
['class' => "panel {$this->type}"]
);
$string = "
";
if ($this->header) {
$string .= $this->renderHeader();
}
if ($this->body) {
$string .= $this->renderBody();
}
if ($this->table) {
$string .= $this->renderTable();
}
if ($this->footer) {
$string .= $this->renderFooter();
}
$string .= "
";
return $string;
}
/**
* Creates a primary panel
*
* @return $this
*/
public function primary()
{
$this->setType(self::PRIMARY);
return $this;
}
/**
* Creates a success panel
*
* @return $this
*/
public function success()
{
$this->setType(self::SUCCESS);
return $this;
}
/**
* Creates an info panel
*
* @return $this
*/
public function info()
{
$this->setType(self::INFO);
return $this;
}
/**
* Creates an warning panel
*
* @return $this
*/
public function warning()
{
$this->setType(self::WARNING);
return $this;
}
/**
* Creates an danger panel
*
* @return $this
*/
public function danger()
{
$this->setType(self::DANGER);
return $this;
}
/**
* Sets the type of the panel
*
* @param string $type The new type. Assume the panel- prefix
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the header of the panel
*
* @param string $header The header
* @return $this
*/
public function withHeader($header)
{
$this->header = $header;
return $this;
}
/**
* Renders the header
*
* @return string
*/
protected function renderHeader()
{
$string = "
";
$string .= "
{$this->header}
";
$string .= '
';
return $string;
}
/**
* Sets the body of the panel
*
* @param string $body The body
* @return $this
*/
public function withBody($body)
{
$this->body = $body;
return $this;
}
/**
* Renders the body
*
* @return string
*/
protected function renderBody()
{
return "
{$this->body}
";
}
/**
* Sets the table of the panel
*
* @param string|Table $table The table
* @return $this
*/
public function withTable($table)
{
$this->table = $table;
return $this;
}
/**
* Renders the body
*
* @return string
*/
protected function renderTable()
{
if ($this->table instanceof Table) {
return $this->table->render();
} else {
return $this->table;
}
}
/**
* Sets the footer
*
* @param string $footer The new footer
* @return $this
*/
public function withFooter($footer)
{
$this->footer = $footer;
return $this;
}
/**
* Renders the footer
*
* @return string
*/
protected function renderFooter()
{
return "";
}
/**
* Creates a normal panel
*
* @return $this
*/
public function normal()
{
$this->setType(self::NORMAL);
return $this;
}
}
================================================
FILE: src/Bootstrapper/ProgressBar.php
================================================
";
$attributes = new Attributes(
$this->attributes,
[
'class' => "progress-bar {$this->type}",
'role' => 'progressbar',
'aria-valuenow' => "{$this->value}",
'aria-valuemin' => '0',
'aria-valuemax' => '100',
'style' => $this->value ? "width: {$this->value}%" : ''
]
);
if ($this->striped) {
$attributes->addClass('progress-bar-striped');
}
if ($this->animated) {
$attributes->addClass('active');
}
$string .= "
";
return $string;
}
/**
* Sets the type of the progress bar
*
* @param string $type The type
* @return $this
*/
public function setType($type)
{
$this->type = $type;
return $this;
}
/**
* Sets the value of the progress bar
*
* @param int $value The value of the progress bar The value of the
* progress bar
* @return $this
*/
public function value($value)
{
$this->value = $value;
return $this;
}
/**
* Whether the amount should be visible
*
* @param string $string The string to show to the user. We internally
* will use sprintf to show this, so you must
* include a %s somewhere so we can add this in
* @return $this
*/
public function visible($string = '%s%%')
{
$this->visible = true;
$this->visibleString = $string;
return $this;
}
/**
* Creates a success progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function success($value = 0)
{
$this->setType(self::PROGRESS_BAR_SUCCESS);
return $this->value($value);
}
/**
* Creates an info progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function info($value = 0)
{
$this->setType(self::PROGRESS_BAR_INFO);
return $this->value($value);
}
/**
* Creates a warning progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function warning($value = 0)
{
$this->setType(self::PROGRESS_BAR_WARNING);
return $this->value($value);
}
/**
* Creates a danger progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function danger($value = 0)
{
$this->setType(self::PROGRESS_BAR_DANGER);
return $this->value($value);
}
/**
* Creates a normal progress bar
*
* @param int $value The value of the progress bar
* @return $this
*/
public function normal($value = 0)
{
$this->setType(self::PROGRESS_BAR_NORMAL);
return $this->value($value);
}
/**
* Sets the progress bar to be striped
*
* @return $this
*/
public function striped()
{
$this->striped = true;
return $this;
}
/**
* Sets the progress bar to be animated
*
* @return $this
*/
public function animated()
{
$this->animated = true;
return $this->striped();
}
/**
* Stacks several progress bars together
*
* @param array $items The progress bars. Should be an array of arrays,
* which are a list of methods and parameters.
* @return string
*/
public function stack(array $items)
{
$string = '
An exception of"
. " type {$class} was thrown with the message:"
. " {$e->getMessage()}
";
}
}
/**
* Renders the object
*
* @return string
*/
abstract public function render();
/**
* Set the attributes of the object
*
* @param array $attributes The attributes to use
* @return $this
*/
public function withAttributes(array $attributes)
{
$this->attributes = array_merge($attributes, $this->attributes);
return $this;
}
/**
* Adds the given classes to attributes
*
* @param array $classes
* @return $this
*/
public function addClass($classes)
{
if (!is_array($classes)) {
throw new \InvalidArgumentException('Add class must take an array');
}
$classes = implode(' ', $classes);
if (!isset($this->attributes['class'])) {
$this->attributes['class'] = $classes;
} else {
$this->attributes['class'] .= " $classes";
}
return $this;
}
}
================================================
FILE: src/Bootstrapper/Tabbable.php
================================================
*
title - the title of the content
*
content - the actual content
*
attributes (optional) - any attributes
*
*/
protected $contents = [];
/**
* @var int Which tab should be open first
*/
protected $active = 0;
/**
* @var string The type
*/
protected $type = self::TAB;
/**
* @var bool Whether we should fade in or not
*/
protected $fade = false;
/**
* Creates a new Tabbable object
*
* @param Navigation $links A navigation object
*/
public function __construct(Navigation $links)
{
$this->links = $links->autoroute(false)->withAttributes(
['role' => 'tablist']
);
}
/**
* Renders the tabbable object
*
* @return string
*/
public function render()
{
$string = $this->renderNavigation();
$string .= $this->renderContents();
return $string;
}
/**
* Creates content with a tabbed navigation
*
* @param array $contents The content
* @return $this
* @see Bootstrapper\Navigation::$contents
*/
public function tabs($contents = [])
{
$this->links->tabs();
$this->type = self::TAB;
return $this->withContents($contents);
}
/**
* Creates content with a pill navigation
*
* @param array $contents
* @return $this
* @see Bootstrapper\Navigation::$contents
*/
public function pills($contents = [])
{
$this->links->pills();
$this->type = self::PILL;
return $this->withContents($contents);
}
/**
* Sets the contents
*
* @param array $contents An array of arrays
* @return $this
* @see Bootstrapper\Navigation::$contents
*/
public function withContents(array $contents)
{
$this->contents = $contents;
return $this;
}
/**
* Render the navigation links
*
* @return string
*/
protected function renderNavigation()
{
$this->links->links($this->createNavigationLinks());
return $this->links->render();
}
/**
* Creates the navigation links
*
* @return array
*/
protected function createNavigationLinks()
{
$links = [];
$count = 0;
foreach ($this->contents as $link) {
$links[] = [
'link' => '#' . Helpers::slug($link['title']),
'title' => $link['title'],
'linkAttributes' => [
'role' => 'tab',
'data-toggle' => $this->type
],
'active' => $count == $this->active
];
$count += 1;
}
return $links;
}
/**
* Renders the contents
*
* @return string
*/
protected function renderContents()
{
$tabs = $this->createContentTabs();
$string = '
';
foreach ($tabs as $tab) {
$string .= "
{$tab['content']}
";
}
$string .= '
';
return $string;
}
/**
* Creates the content tabs
*
* @return array
*/
protected function createContentTabs()
{
$tabs = [];
$count = 0;
foreach ($this->contents as $item) {
$itemAttributes = isset($item['attributes']) ?
$item['attributes'] :
[];
$attributes = new Attributes(
$itemAttributes,
['class' => 'tab-pane', 'id' => Helpers::slug($item['title'])]
);
if ($this->fade) {
$attributes->addClass('fade');
}
if ($this->active == $count) {
$attributes->addClass($this->fade ? 'in active' : 'active');
}
$tabs[] = [
'content' => $item['content'],
'attributes' => $attributes
];
$count += 1;
}
return $tabs;
}
/**
* Sets which tab should be active
*
* @param int $active
* @return $this
*/
public function active($active)
{
$this->active = $active;
return $this;
}
/**
* Sets the tabbable objects to fade in
*
* @return $this
*/
public function fade()
{
$this->fade = true;
return $this;
}
}
================================================
FILE: src/Bootstrapper/Table.php
================================================
function()
*/
protected $callbacks = [];
/**
* @var bool|array An array of columns to get. False if none.
*/
protected $only = [];
/**
* @var array An array of classes to apply to body tds
*/
protected $bodyCellClasses = [];
/**
* @var array An array of classes, of the form 'column' => 'class1 class2' (space delimitied)
*/
protected $columnClasses = [];
/**
* Renders the table
*
* @return string
*/
public function render()
{
$tableClasses = implode(' ', $this->types);
$attributes = new Attributes(
$this->attributes,
[
'class' => "table {$tableClasses}"
]
);
$string = "
';
return $string;
}
/**
* Adds a type to the table if not already present.
* @param string $type The type to add to the table
*/
private function addType($type)
{
if (!in_array($type, $this->types, true)) {
$this->types[] = $type;
}
return $this;
}
/**
* Sets the table to be striped
*
* @return $this
*/
public function striped()
{
$this->addType(self::TABLE_STRIPED);
return $this;
}
/**
* Sets the table to be bordered
*
* @return $this
*/
public function bordered()
{
$this->addType(self::TABLE_BORDERED);
return $this;
}
/**
* Sets the table to have an active hover state
*
* @return $this
*/
public function hover()
{
$this->addType(self::TABLE_HOVER);
return $this;
}
/**
* Sets the table to be condensed
*
* @return $this
*/
public function condensed()
{
$this->addType(self::TABLE_CONDENSED);
return $this;
}
/**
* Sets the contents of the table
*
* @param array|Traversable $contents The contents of the table. We expect
* either an array of arrays or an
* array of eloquent models
* @return $this
*/
public function withContents($contents)
{
$this->contents = $contents;
return $this;
}
/**
* Renders the contents of the table
*
* @return string
*/
private function renderContents()
{
$headers = $this->getHeaders();
$string = '';
foreach ($this->contents as $item) {
$string .= $this->renderItem($item, $headers);
}
$string .= '';
return $string;
}
/**
* Gets the headers of the contents
*
* @return array
*/
private function getHeaders()
{
if ($this->only) {
return $this->only;
}
$headers = [];
foreach ($this->contents as $item) {
$keys = $this->getKeysForItem($item);
foreach ($keys as $key) {
if (in_array($key, $this->ignores)) {
continue;
}
if ($this->only && !in_array($key, $this->only)) {
continue;
}
if (!in_array($key, $headers)) {
$headers[] = $key;
}
}
}
foreach (array_keys($this->callbacks) as $key) {
if (in_array($key, $this->ignores)) {
continue;
}
if (!in_array($key, $headers)) {
$headers[] = $key;
}
}
return $headers;
}
/**
* Renders an item
*
* @param mixed $item The item to render
* @param array $headers The headers to use
* @return string
*/
private function renderItem($item, array $headers)
{
$string = '
';
return $string;
}
/**
* Creates a list of columns to ignore
*
* @param array $ignores The ignored columns
* @return $this
*/
public function ignore(array $ignores)
{
$this->ignores = $ignores;
return $this;
}
/**
* Adds a callback
*
* @param string $index The column name for the callback
* @param callable $function The callback function,
* which should be of the form
* function($column, $row).
* @return $this
*/
public function callback($index, \Closure $function)
{
$this->callbacks[$index] = $function;
return $this;
}
/**
* Sets which columns we can return
*
* @param array $only
* @return $this
*/
public function only(array $only)
{
$this->only = $only;
return $this;
}
private function renderHeaders()
{
$headers = $this->getHeaders();
if (empty($headers)) {
return '';
}
$string = '
';
foreach ($headers as $heading) {
if (isset($this->columnClasses[$heading])) {
$string .= "
{$heading}
";
} else {
$string .= "
{$heading}
";
}
}
$string .= '
';
return $string;
}
/**
* Sets content to be rendered in to the table footer
*
* @param string $footer
* @return $this
*/
public function withFooter($footer)
{
$this->footer = $footer;
return $this;
}
/**
* Renders the footer
*
* @return string
*/
private function renderFooter()
{
return "{$this->footer}";
}
private function getKeysForItem($item)
{
if (is_array($item)) {
return array_keys($item);
}
if ($item instanceof TableInterface) {
return $item->getTableHeaders();
}
// Let the user know that the TableInterface will soon be the
// only way to use tables in a future version of Bootstrapper
trigger_error(
'An object that does not implement the TableInterface '
. 'was passed to a table. This is depreciated and will be removed in '
. 'a future version of Bootstrapper',
E_USER_DEPRECATED
);
// Handles eloquent models
if (is_callable([$item, 'getAttributes'])) {
return array_keys($item->getAttributes());
}
// Default fallback
return get_object_vars($item);
}
private function getValueForItem($item, $heading)
{
if (is_array($item)) {
$value = isset($item[$heading]) ? $item[$heading] : '';
} elseif ($item instanceof TableInterface) {
$value = $item->getValueForHeader($heading);
} else {
$value = $item->$heading;
}
if (isset($this->callbacks[$heading])) {
$value = $this->callbacks[$heading]($value, $item);
}
return $value;
}
/**
* Uses given class(es) on body TDs.
* @param mixed $classes The class(es) to apply.
* @return $this
*/
public function withBodyCellClass($classes)
{
if (is_array($classes)) {
$this->bodyCellClasses = $classes;
} else {
$this->bodyCellClasses = [ $classes ];
}
return $this;
}
public function withClassOnCellsInColumn($columns, $classes)
{
if (!is_array($columns)) {
$columns = [ $columns ];
}
if (is_array($classes)) {
$classes = implode(' ', $classes);
}
foreach ($columns as $column) {
$this->columnClasses[$column] = $classes;
}
return $this;
}
}
================================================
FILE: src/Bootstrapper/Thumbnail.php
================================================
image['image'])) {
throw ThumbnailException::imageNotSpecified();
}
$attributes = new Attributes(
$this->attributes,
['class' => 'thumbnail']
);
$string = "