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

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

Class Constructor

  • access: public
__construct ()

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

Return the current month

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

Return the current year

  • access: public
getYear ()
selectDays (line 100)

Select a collection of days

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

Define the action when click at some day

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

Define the current month to display

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

Define the calendar's size

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

Define the current year to display

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

Show the calendar

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