TWindow
        
        extends TElement
    
    
            
            in package
            
        
    
            
            implements
                            AdiantiController                    
    
            
            uses
                            AdiantiPageControlTrait                    
    
Window Container (JQueryDialog wrapper)
Tags
Attributes
- #[AllowDynamicProperties]
Table of Contents
Interfaces
- AdiantiController
- AdiantiController
Properties
Methods
- __clone() : mixed
- Clone the object
- __construct() : mixed
- Constructor method
- __get() : mixed
- Returns a property's value
- __isset() : mixed
- Returns is a property's is set
- __set() : mixed
- Intercepts whenever someones assign a new property's value
- __toString() : mixed
- Converts the object into a string
- __unset() : mixed
- Intercepts whenever someones unset a property's value
- add() : mixed
- Add some content to the window
- addMany() : mixed
- Add many children
- after() : mixed
- Insert element after
- before() : mixed
- Insert element before
- blockUI() : mixed
- Block UI
- callIfExists() : mixed
- Call method only if exists
- clearChildren() : mixed
- Clear element children
- close() : mixed
- BC only
- closeAll() : mixed
- Close all windows
- closeTag() : mixed
- Closes the tag
- closeWindow() : mixed
- Close TJQueryDialog's
- closeWindowByName() : mixed
- Close window by name of controller
- create() : mixed
- Create a window
- del() : mixed
- Del an child element
- disableEscape() : mixed
- Disable Escape
- disableScrolling() : mixed
- Disable scrolling
- enableMobileFullScreen() : mixed
- Enable full screen in mobile
- enableScrolling() : mixed
- Enable scrolling
- enableVoidElement() : mixed
- Turn element into a void element
- find() : mixed
- Find child element
- get() : mixed
- Get an child element
- getAfterElement() : mixed
- Return the after element
- getBeforeElement() : mixed
- Return the before element
- getChildren() : mixed
- get children
- getClassName() : mixed
- Return the Page name
- getContents() : mixed
- Returns the element content as a string
- getId() : mixed
- Returns ID
- getIsWrapped() : mixed
- Return if the element is wrapped inside another one
- getName() : mixed
- Returns tag name
- getProperties() : mixed
- Return element properties
- getProperty() : mixed
- Return a property
- hide() : mixed
- hide object
- insert() : mixed
- Insert an child element
- open() : mixed
- BC only
- openTag() : mixed
- Opens the tag
- removePadding() : mixed
- Remove padding
- removeTitleBar() : mixed
- Remove titlebar
- run() : mixed
- Interprets an action based at the URL parameters
- setCloseAction() : mixed
- set close action
- setDialogClass() : mixed
- Set Dialog class
- setHeight() : mixed
- Define the window's height
- setIsWrapped() : mixed
- Define if the element is wrapped inside another one
- setMaxHeight() : mixed
- Define the window's max height between percent and absolute
- setMaxWidth() : mixed
- Define the window's max width between percent and absolute
- setMinWidth() : mixed
- Define the window's min width between percent and absolute
- setModal() : mixed
- Turn on/off modal
- setName() : mixed
- Change the element name
- setPageName() : mixed
- Set page name
- setPosition() : mixed
- Define the top corner positions
- setProperties() : mixed
- Set element properties
- setProperty() : mixed
- Define the Property value
- setSize() : mixed
- Define the window's size
- setStackOrder() : mixed
- Define the stack order (zIndex)
- setTargetContainer() : mixed
- setTitle() : mixed
- Define the window's title
- setUseLineBreaks() : mixed
- Set the use of linebreaks
- setUseSingleQuotes() : mixed
- Set the use of single quotes
- setWidth() : mixed
- Define the window's width
- show() : mixed
- Decide wich action to take and show the page
- tag() : mixed
- Create an element
- unBlockUI() : mixed
- Unblock UI
Properties
$children
        protected
            mixed
    $children
    
    
    
    
    
    
$wrapper
        private
            mixed
    $wrapper
    
    
    
    
    
    
Methods
__clone()
Clone the object
    public
                    __clone() : mixed
    __construct()
Constructor method
    public
                    __construct() : mixed
    __get()
Returns a property's value
    public
                    __get(mixed $name) : mixed
    Parameters
- $name : mixed
- 
                    Property Name 
__isset()
Returns is a property's is set
    public
                    __isset(mixed $name) : mixed
    Parameters
- $name : mixed
- 
                    Property Name 
__set()
Intercepts whenever someones assign a new property's value
    public
                    __set(mixed $name, mixed $value) : mixed
    Parameters
- $name : mixed
- 
                    Property Name 
- $value : mixed
- 
                    Property Value 
__toString()
Converts the object into a string
    public
                    __toString() : mixed
    __unset()
Intercepts whenever someones unset a property's value
    public
                    __unset(mixed $name) : mixed
    Parameters
- $name : mixed
- 
                    Property Name 
add()
Add some content to the window
    public
                    add(mixed $content) : mixed
    Parameters
- $content : mixed
- 
                    Any object that implements the show() method 
addMany()
Add many children
    public
                    addMany(mixed $children) : mixed
    Parameters
- $children : mixed
- 
                    Array of child 
after()
Insert element after
    public
                    after(mixed $element) : mixed
    Parameters
- $element : mixed
before()
Insert element before
    public
                    before(mixed $element) : mixed
    Parameters
- $element : mixed
blockUI()
Block UI
    public
            static        blockUI([mixed $timeout = null ]) : mixed
    Parameters
- $timeout : mixed = null
callIfExists()
Call method only if exists
    public
                    callIfExists(mixed $method, mixed $param) : mixed
    Parameters
- $method : mixed
- $param : mixed
clearChildren()
Clear element children
    public
                    clearChildren() : mixed
    close()
BC only
    public
                    close() : mixed
    closeAll()
Close all windows
    public
            static        closeAll() : mixed
    closeTag()
Closes the tag
    public
                    closeTag() : mixed
    closeWindow()
Close TJQueryDialog's
    public
            static        closeWindow([mixed $id = null ]) : mixed
    Parameters
- $id : mixed = null
closeWindowByName()
Close window by name of controller
    public
            static        closeWindowByName(mixed $name) : mixed
    Parameters
- $name : mixed
create()
Create a window
    public
            static        create(mixed $title, mixed $width, mixed $height[, mixed $params = null ]) : mixed
    Parameters
- $title : mixed
- $width : mixed
- $height : mixed
- $params : mixed = null
del()
Del an child element
    public
                    del(mixed $object) : mixed
    Parameters
- $object : mixed
disableEscape()
Disable Escape
    public
                    disableEscape() : mixed
    disableScrolling()
Disable scrolling
    public
                    disableScrolling() : mixed
    enableMobileFullScreen()
Enable full screen in mobile
    public
                    enableMobileFullScreen() : mixed
    enableScrolling()
Enable scrolling
    public
                    enableScrolling() : mixed
    enableVoidElement()
Turn element into a void element
    public
                    enableVoidElement() : mixed
    find()
Find child element
    public
                    find(mixed $element[, mixed $properties = null ]) : mixed
    Parameters
- $element : mixed
- 
                    tag name 
- $properties : mixed = null
- 
                    match properties 
get()
Get an child element
    public
                    get(mixed $position) : mixed
    Parameters
- $position : mixed
- 
                    Element position 
getAfterElement()
Return the after element
    public
                    getAfterElement() : mixed
    getBeforeElement()
Return the before element
    public
                    getBeforeElement() : mixed
    getChildren()
get children
    public
                    getChildren() : mixed
    getClassName()
Return the Page name
    public
                    getClassName() : mixed
    getContents()
Returns the element content as a string
    public
                    getContents() : mixed
    getId()
Returns ID
    public
                    getId() : mixed
    getIsWrapped()
Return if the element is wrapped inside another one
    public
                    getIsWrapped() : mixed
    getName()
Returns tag name
    public
                    getName() : mixed
    getProperties()
Return element properties
    public
                    getProperties() : mixed
    getProperty()
Return a property
    public
                    getProperty(mixed $name) : mixed
    Parameters
- $name : mixed
- 
                    property name 
hide()
hide object
    public
                    hide() : mixed
    insert()
Insert an child element
    public
                    insert(mixed $position, mixed $child) : mixed
    Parameters
- $position : mixed
- 
                    Element position 
- $child : mixed
- 
                    Any object that implements the show() method 
open()
BC only
    public
                    open() : mixed
    openTag()
Opens the tag
    public
                    openTag() : mixed
    removePadding()
Remove padding
    public
                    removePadding() : mixed
    removeTitleBar()
Remove titlebar
    public
                    removeTitleBar() : mixed
    run()
Interprets an action based at the URL parameters
    public
                    run() : mixed
    setCloseAction()
set close action
    public
                    setCloseAction(mixed $action) : mixed
    Parameters
- $action : mixed
- 
                    close action 
setDialogClass()
Set Dialog class
    public
                    setDialogClass(mixed $class) : mixed
    Parameters
- $class : mixed
- 
                    Class name 
setHeight()
Define the window's height
    public
                    setHeight(mixed $height) : mixed
    Parameters
- $height : mixed
setIsWrapped()
Define if the element is wrapped inside another one
    public
                    setIsWrapped(mixed $bool) : mixed
    Parameters
- $bool : mixed
setMaxHeight()
Define the window's max height between percent and absolute
    public
                    setMaxHeight(mixed $percent, mixed $absolute) : mixed
    Parameters
- $percent : mixed
- 
                    width 
- $absolute : mixed
- 
                    width 
setMaxWidth()
Define the window's max width between percent and absolute
    public
                    setMaxWidth(mixed $percent, mixed $absolute) : mixed
    Parameters
- $percent : mixed
- 
                    width 
- $absolute : mixed
- 
                    width 
setMinWidth()
Define the window's min width between percent and absolute
    public
                    setMinWidth(mixed $percent, mixed $absolute) : mixed
    Parameters
- $percent : mixed
- 
                    width 
- $absolute : mixed
- 
                    width 
setModal()
Turn on/off modal
    public
                    setModal(mixed $modal) : mixed
    Parameters
- $modal : mixed
- 
                    Boolean 
setName()
Change the element name
    public
                    setName(mixed $tagname) : mixed
    Parameters
- $tagname : mixed
- 
                    Element name 
setPageName()
Set page name
    public
                    setPageName(mixed $name) : mixed
    Parameters
- $name : mixed
setPosition()
Define the top corner positions
    public
                    setPosition(mixed $x, mixed $y) : mixed
    Parameters
- $x : mixed
- 
                    left coordinate 
- $y : mixed
- 
                    top coordinate 
setProperties()
Set element properties
    public
                    setProperties(mixed $properties) : mixed
    Parameters
- $properties : mixed
setProperty()
Define the Property value
    public
                    setProperty(mixed $property, mixed $value) : mixed
    Parameters
- $property : mixed
- 
                    Property name 
- $value : mixed
- 
                    Property value 
setSize()
Define the window's size
    public
                    setSize(mixed $width, mixed $height) : mixed
    Parameters
- $width : mixed
- 
                    Window's width 
- $height : mixed
- 
                    Window's height 
setStackOrder()
Define the stack order (zIndex)
    public
                    setStackOrder(mixed $order) : mixed
    Parameters
- $order : mixed
- 
                    Stack order 
setTargetContainer()
    public
                    setTargetContainer(mixed $container) : mixed
    Parameters
- $container : mixed
setTitle()
Define the window's title
    public
                    setTitle(mixed $title) : mixed
    Parameters
- $title : mixed
- 
                    Window's title 
setUseLineBreaks()
Set the use of linebreaks
    public
                    setUseLineBreaks(mixed $linebreaks) : mixed
    Parameters
- $linebreaks : mixed
- 
                    boolean 
setUseSingleQuotes()
Set the use of single quotes
    public
                    setUseSingleQuotes(mixed $singlequotes) : mixed
    Parameters
- $singlequotes : mixed
- 
                    boolean 
setWidth()
Define the window's width
    public
                    setWidth(mixed $width) : mixed
    Parameters
- $width : mixed
- 
                    Window's width 
show()
Decide wich action to take and show the page
    public
                    show() : mixed
    tag()
Create an element
    public
            static        tag(mixed $tagname, mixed $value[, mixed $attributes = NULL ]) : mixed
    Parameters
- $tagname : mixed
- 
                    Element name 
- $value : mixed
- 
                    Element value 
- $attributes : mixed = NULL
- 
                    Element attributes 
unBlockUI()
Unblock UI
    public
            static        unBlockUI([mixed $timeout = null ]) : mixed
    Parameters
- $timeout : mixed = null