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 TCalendar

Description

Calendar Widget

Located in /widget/util/TCalendar.php (line 19)

TElement
   |
   --TCalendar
Method Summary
getYear ()
selectDays ($days)
setAction ($action)
setMonth ($month)
setSize ($width, $height)
setYear ($year)
show ()
Variables

Inherited Variables

Inherited from TElement

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

Class Constructor

  • access: public
__construct ()

Redefinition of:
TElement::__construct()
Class Constructor
getMonth (line 85)

Return the current month

  • access: public
getMonth ()
getYear (line 93)

Return the current year

  • access: public
getYear ()
highlightWeekend (line 48)

highglight weekend

  • access: public
highlightWeekend ()
selectDays (line 111)

Select a collection of days

  • access: public
selectDays ($days)
  • $days: Collection of days
setAction (line 102)

Define the action when click at some day

  • access: public
setAction ($action)
  • $action: TAction object
setMonth (line 68)

Define the current month to display

  • access: public
setMonth ($month)
  • $month: Month to display
setSize (line 58)

Define the calendar's size

  • access: public
setSize ($width, $height)
  • $width: Window's width
  • $height: Window's height
setYear (line 77)

Define the current year to display

  • access: public
setYear ($year)
  • $year: Year to display
show (line 119)

Show the calendar

  • access: public
show ()

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

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