menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TWindow

Description

Window Container (JQueryDialog wrapper)

Located in /control/TWindow.php (line 16)

TElement
   |
   --TPage
      |
      --TWindow
Direct descendents
Class Description
TStandardSeek Standard Page controller for Seek buttons
Method Summary
static closeWindow ([$id = null])
static create ($title, $width, $height, [$params = null])
add ($content)
getId ()
setCloseAction ($action)
setModal ($modal)
setPosition ($x, $y)
setProperty ($property, $value)
setSize ($width, $height)
setStackOrder ($order)
setTitle ($title)
Variables

Inherited Variables

Inherited from TElement

TElement::$children
Methods
static closeWindow (line 147)

Close TJQueryDialog's

  • access: public
static closeWindow ([$id = null])
  • $id
static create (line 43)

Create a window

  • access: public
static create ($title, $width, $height, [$params = null])
  • $title
  • $width
  • $height
  • $params
Constructor __construct (line 20)
  • access: public
__construct ()

Redefinition of:
TPage::__construct()
Class Constructor

Redefined in descendants as:
add (line 130)

Add some content to the window

  • access: public
add ($content)
  • $content: Any object that implements the show() method

Redefinition of:
TElement::add()
Add an child element
disableEscape (line 83)

Disable Escape

  • access: public
disableEscape ()
disableScrolling (line 91)

Disable scrolling

  • access: public
disableScrolling ()
getId (line 35)

Returns ID

  • access: public
getId ()
setCloseAction (line 139)

set close action

  • access: public
setCloseAction ($action)
  • $action: close action
setModal (line 75)

Turn on/off modal

  • access: public
setModal ($modal)
  • $modal: Boolean
setPosition (line 111)

Define the top corner positions

  • access: public
setPosition ($x, $y)
  • $x: left coordinate
  • $y: top coordinate
setProperty (line 121)

Define the Property value

  • access: public
setProperty ($property, $value)
  • $property: Property name
  • $value: Property value

Redefinition of:
TElement::setProperty()
Set tag property
setSize (line 101)

Define the window's size

  • access: public
setSize ($width, $height)
  • $width: Window's width
  • $height: Window's height
setStackOrder (line 57)

Define the stack order (zIndex)

  • access: public
setStackOrder ($order)
  • $order: Stack order
setTitle (line 66)

Define the window's title

  • access: public
setTitle ($title)
  • $title: Window's title

Inherited Methods

Inherited From TPage

TPage::__construct()
TPage::getLoadedCSS()
TPage::getLoadedJS()
TPage::include_css()
TPage::include_js()
TPage::isMobile()
TPage::openFile()
TPage::register_css()
TPage::run()
TPage::show()
TPage::__set()

Inherited From TElement

TElement::__construct()
TElement::add()
TElement::clearChildren()
TElement::close()
TElement::del()
TElement::get()
TElement::getChildren()
TElement::getContents()
TElement::getIsWrapped()
TElement::getName()
TElement::getProperties()
TElement::getProperty()
TElement::insert()
TElement::open()
TElement::setIsWrapped()
TElement::setName()
TElement::setProperty()
TElement::setUseLineBreaks()
TElement::setUseSingleQuotes()
TElement::show()
TElement::tag()
TElement::__clone()
TElement::__get()
TElement::__isset()
TElement::__set()
TElement::__toString()
TElement::__unset()