Lançado Adianti Framework 7.6!
Clique aqui para saber mais
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 TPage

Description

Page Controller Pattern: used as container for all elements inside a page and also as a page controller

Located in /control/TPage.php (line 20)

TElement
   |
   --TPage
Direct descendents
Class Description
TWindow Window Container (JQueryDialog wrapper)
TStandardFormList Standard page controller for form/listings
TStandardList Standard page controller for listings
TStandardForm Standard page controller for forms
Method Summary
static getLoadedCSS ()
static getLoadedJS ()
static include_css ($css)
static include_js ($js)
static isMobile ()
static openFile ($file, [$basename = null])
static openPage ($page)
static register_css ($cssname, $csscode)
static setPageTitle ($title)
run ()
setTargetContainer ($container)
show ()
__set ($name, $value)
Variables

Inherited Variables

Inherited from TElement

TElement::$children
Methods
static getLoadedCSS (line 155)

Return the loaded Cascade Stylesheet files

  • access: public
static getLoadedCSS ()
static getLoadedJS (line 186)

Return the loaded JavaScript files

  • access: public
static getLoadedJS ()
static include_css (line 119)

Include a specific Cascading Stylesheet to this page

  • access: public
static include_css ($css)
  • $css: Cascading Stylesheet
static include_js (line 110)

Include a specific JavaScript function to this page

  • access: public
static include_js ($js)
  • $js: JavaScript location
static isMobile (line 203)

Discover if the browser is mobile device

  • access: public
static isMobile ()
static openFile (line 138)

Open a File Dialog

  • access: public
static openFile ($file, [$basename = null])
  • $file: File Name
  • $basename
static openPage (line 146)

Open a page in new tab

  • access: public
static openPage ($page)
  • $page
static register_css (line 129)

Register a specific Cascading Stylesheet to this page

  • access: public
static register_css ($cssname, $csscode)
  • $cssname: Cascading Stylesheet Name
  • $csscode: Cascading Stylesheet Code
static setPageTitle (line 49)

Change page title

  • access: public
static setPageTitle ($title)
  • $title
Constructor __construct (line 31)

Class Constructor

  • access: public
__construct ()

Redefinition of:
TElement::__construct()
Class Constructor

Redefined in descendants as:
getClassName (line 40)

Return the Page name

  • access: public
getClassName ()
getTargetContainer (line 76)

Return target container

  • access: public
getTargetContainer ()
run (line 84)

Interprets an action based at the URL parameters

  • access: public
run ()
setTargetContainer (line 57)

Set target container for page content

  • access: public
setTargetContainer ($container)
  • $container
show (line 253)

Decide wich action to take and show the page

  • access: public
show ()

Redefinition of:
TElement::show()
Shows the tag

Redefined in descendants as:
__set (line 244)

Intercepts whenever someones assign a new property's value

  • access: public
__set ($name, $value)
  • $name: Property Name
  • $value: Property Value

Redefinition of:
TElement::__set()
Intercepts whenever someones assign a new property's value

Inherited Methods

Inherited From TElement

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