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 TNotebook

Description

Notebook

Located in /widget/container/TNotebook.php (line 19)

TElement
   |
   --TNotebook
Method Summary
__construct ([$width = null], [$height = null])
appendPage ($title, $object)
getId ()
getSize ()
render ()
setSize ($width, $height)
setTabAction ($action)
setTabsSensibility ($sensibility)
setTabsVisibility ($visible)
show ()
Variables

Inherited Variables

Inherited from TElement

TElement::$children
Methods
Constructor __construct (line 38)

Class Constructor

  • access: public
__construct ([$width = null], [$height = null])
  • $width: Notebook's width
  • $height: Notebook's height

Redefinition of:
TElement::__construct()
Class Constructor
appendPage (line 123)

Add a tab to the notebook

  • access: public
appendPage ($title, $object)
  • $title: tab's title
  • $object: tab's content
getCurrentPage (line 113)

Returns the current page

  • access: public
getCurrentPage ()
getId (line 74)

Returns the element ID

  • access: public
getId ()
getPageCount (line 131)

Return the Page count

  • access: public
getPageCount ()
getSize (line 95)

Returns the frame size

  • return: height)
  • access: public
getSize ()
render (line 149)

Render the notebook

  • access: public
render ()
setCurrentPage (line 104)

Define the current page to be shown

  • access: public
setCurrentPage ($i)
  • $i: An integer representing the page number (start at 0)
setSize (line 84)

Set the notebook size

  • access: public
setSize ($width, $height)
  • $width: Notebook's width
  • $height: Notebook's height
setTabAction (line 141)

Define the action for the Notebook tab

  • access: public
setTabAction ($action)
  • $action: Action taken when the user clicks over Notebook tab (A TAction object)
setTabsSensibility (line 66)

Define the tabs click sensibility

  • access: public
setTabsSensibility ($sensibility)
  • $sensibility: If the tabs will be sensible to click
setTabsVisibility (line 57)

Define if the tabs will be visible or not

  • access: public
setTabsVisibility ($visible)
  • $visible: If the tabs will be visible
show (line 268)

Show the notebook

  • access: public
show ()

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

Inherited Methods

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()