\picon\web\jQuery\ui\DialogBehavior.php

Show: inherited
Table of Contents

Podium CMS http://code.google.com/p/podium/

Copyright (C) 2011-2012 Martin Cassidy martin.cassidy@webquub.com

Podium CMS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Podium CMS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the General Public License for more details.

You should have received a copy of the GNU General Public License along with Podium CMS. If not, see http://www.gnu.org/licenses/.

\picon\DialogBehavior

Package: Default

Description of DialogBehavior

This class should be extended to take advantage of its features. It is imperative that be sub classes are serialized the preparForSerialize() be called. The picon cache manager will do this automatically but manual serialization elsewhere must call the method. Deserailization is handled automatically through the __wakeup method and any overrides MUST call the parent implementation

Transient propertie can be used by adding @Transient to the property's doc block

If using injection in a subclass, you should implement InjectOnWakeup to ensure injected resources are not null as all injected resources are transient.

Parent(s)
\picon\DefaultJQueryUIBehaviour < \picon\AbstractJQueryUIBehaviour < \picon\AbstractJQueryBehaviour < \picon\AbstractBehaviour < \picon\PiconSerializable
Author
Martin Cassidy  

Methods

methodpublic__construct( ) : void

methodpublic__wakeup( ) : void
Details
Todo
This is a bad way of forcing listeners to re register  
methodpublicafterRender(  $component ) : void
inherited

Inherited from: \picon\AbstractBehaviour::afterRender()
Parameters
Name Type Description
$component
methodpublicbeforeRender(  $component ) : void
inherited

Inherited from: \picon\AbstractBehaviour::beforeRender()
Parameters
Name Type Description
$component
methodpublicbind(  $component ) : void
inherited

Inherited from: \picon\DefaultJQueryUIBehaviour::bind()
Parameters
Name Type Description
$component
methodpublicgetBehaviourId( ) : void
inherited

Gets the id of the behaviour within its component

Inherited from: \picon\AbstractBehaviour::getBehaviourId()
methodpublicgetComponent( ) : void
inherited

Inherited from: \picon\AbstractBehaviour::getComponent()
methodpublicgetIdentifier( ) : void
staticinherited

Inherited from: \picon\AbstractBehaviour::getIdentifier()
methodpublicgetOptions( ) : void
methodpublicisStateless( ) : void
methodpubliconComponentTag(  $component,  $tag ) : void
inherited

Inherited from: \picon\AbstractBehaviour::onComponentTag()
Parameters
Name Type Description
$component
$tag
methodpubliconEvent( ) : void
inherited

Inherited from: \picon\DefaultJQueryUIBehaviour::onEvent()
methodpublicpreparForSerialize( ) : array
inherited

Uses reflection to analyse the properties of the object and prevents transient properties from being added to the array and deconstructs closures into a SleepingClosure object which can be serialized

Inherited from: \picon\PiconSerializable::preparForSerialize()
Returns
Type Description
array the properties to serialize, the name of the propety as the key with the value as the value
methodpublicrenderHead( \picon\Component $component, \picon\HeaderContainer $headerContainer, \picon\HeaderResponse $headerResponse ) : void
inherited

This ajax.js should NOT be rendered all the time

Inherited from: \picon\DefaultJQueryUIBehaviour::renderHead()
Parameters
Name Type Description
$component \picon\Component
$headerContainer \picon\HeaderContainer
$headerResponse \picon\HeaderResponse
methodpublicsetAutoOpen(  $autoOpen ) : void

Parameters
Name Type Description
$autoOpen
methodpublicsetBeforeClose(  $beforeClose,  $function = '' ) : void

Parameters
Name Type Description
$beforeClose
$function
methodpublicsetHeight(  $height ) : void

Parameters
Name Type Description
$height
methodpublicsetModal(  $modal ) : void

Parameters
Name Type Description
$modal
methodpublicsetOptions(  $options ) : void
Parameters
Name Type Description
$options
methodpublicsetWidth(  $width ) : void

Parameters
Name Type Description
$width
Documentation was generated by DocBlox 0.15.1.