API Documentação da API
Lançado Adianti Framework 8.0!
Clique aqui para saber mais
Pacote Dominando o Adianti Framework
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de Exemplo.
API
API do Framework
Documentation

Documentation

TCalendar extends TElement
in package

Calendar Widget

Tags
version
8.0
subpackage

util

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$children  : mixed
$action  : mixed
$afterElement  : mixed
$height  : mixed
$hidden  : mixed
$isVoidElement  : mixed
$month  : mixed
$months  : mixed
$properties  : mixed
$selectedDays  : mixed
$tagname  : mixed
$useLineBreaks  : mixed
$useSingleQuotes  : mixed
$voidelements  : mixed
$weekendHighlight  : mixed
$width  : mixed
$wrapped  : mixed
$year  : mixed

Methods

__clone()  : mixed
Clone the object
__construct()  : mixed
Class Constructor
__get()  : mixed
Returns a property's value
__isset()  : mixed
Returns is a property's is set
__set()  : mixed
Intercepts whenever someones assign a new property's value
__toString()  : mixed
Converts the object into a string
__unset()  : mixed
Intercepts whenever someones unset a property's value
add()  : mixed
Add an child element
addMany()  : mixed
Add many children
after()  : mixed
Insert element after
clearChildren()  : mixed
Clear element children
close()  : mixed
BC only
closeTag()  : mixed
Closes the tag
del()  : mixed
Del an child element
enableVoidElement()  : mixed
Turn element into a void element
find()  : mixed
Find child element
get()  : mixed
Get an child element
getAfterElement()  : mixed
Return the after element
getChildren()  : mixed
get children
getContents()  : mixed
Returns the element content as a string
getIsWrapped()  : mixed
Return if the element is wrapped inside another one
getMonth()  : mixed
Return the current month
getName()  : mixed
Returns tag name
getProperties()  : mixed
Return element properties
getProperty()  : mixed
Return a property
getYear()  : mixed
Return the current year
hide()  : mixed
hide object
highlightWeekend()  : mixed
highglight weekend
insert()  : mixed
Insert an child element
open()  : mixed
BC only
openTag()  : mixed
Opens the tag
selectDays()  : mixed
Select a collection of days
setAction()  : mixed
Define the action when click at some day
setIsWrapped()  : mixed
Define if the element is wrapped inside another one
setMonth()  : mixed
Define the current month to display
setName()  : mixed
Change the element name
setProperties()  : mixed
Set element properties
setProperty()  : mixed
Set tag property
setSize()  : mixed
Define the calendar's size
setUseLineBreaks()  : mixed
Set the use of linebreaks
setUseSingleQuotes()  : mixed
Set the use of single quotes
setYear()  : mixed
Define the current year to display
show()  : mixed
Show the calendar
tag()  : mixed
Create an element

Properties

$afterElement

private mixed $afterElement

$isVoidElement

private mixed $isVoidElement

$useLineBreaks

private mixed $useLineBreaks

$useSingleQuotes

private mixed $useSingleQuotes

$voidelements

private static mixed $voidelements

$weekendHighlight

private mixed $weekendHighlight

Methods

__clone()

Clone the object

public __clone() : mixed

__construct()

Class Constructor

public __construct() : mixed

__get()

Returns a property's value

public __get(mixed $name) : mixed
Parameters
$name : mixed

Property Name

__isset()

Returns is a property's is set

public __isset(mixed $name) : mixed
Parameters
$name : mixed

Property Name

__set()

Intercepts whenever someones assign a new property's value

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed

Property Name

$value : mixed

Property Value

__toString()

Converts the object into a string

public __toString() : mixed

__unset()

Intercepts whenever someones unset a property's value

public __unset(mixed $name) : mixed
Parameters
$name : mixed

Property Name

add()

Add an child element

public add(mixed $child) : mixed
Parameters
$child : mixed

Any object that implements the show() method

addMany()

Add many children

public addMany(mixed $children) : mixed
Parameters
$children : mixed

Array of child

after()

Insert element after

public after(mixed $element) : mixed
Parameters
$element : mixed

clearChildren()

Clear element children

public clearChildren() : mixed

closeTag()

Closes the tag

public closeTag() : mixed

del()

Del an child element

public del(mixed $object) : mixed
Parameters
$object : mixed

enableVoidElement()

Turn element into a void element

public enableVoidElement() : mixed

find()

Find child element

public find(mixed $element[, mixed $properties = null ]) : mixed
Parameters
$element : mixed

tag name

$properties : mixed = null

match properties

get()

Get an child element

public get(mixed $position) : mixed
Parameters
$position : mixed

Element position

getAfterElement()

Return the after element

public getAfterElement() : mixed

getChildren()

get children

public getChildren() : mixed

getContents()

Returns the element content as a string

public getContents() : mixed

getIsWrapped()

Return if the element is wrapped inside another one

public getIsWrapped() : mixed

getMonth()

Return the current month

public getMonth() : mixed

getName()

Returns tag name

public getName() : mixed

getProperties()

Return element properties

public getProperties() : mixed

getProperty()

Return a property

public getProperty(mixed $name) : mixed
Parameters
$name : mixed

property name

getYear()

Return the current year

public getYear() : mixed

hide()

hide object

public hide() : mixed

highlightWeekend()

highglight weekend

public highlightWeekend() : mixed

insert()

Insert an child element

public insert(mixed $position, mixed $child) : mixed
Parameters
$position : mixed

Element position

$child : mixed

Any object that implements the show() method

openTag()

Opens the tag

public openTag() : mixed

selectDays()

Select a collection of days

public selectDays(mixed $days) : mixed
Parameters
$days : mixed

Collection of days

setAction()

Define the action when click at some day

public setAction(mixed $action) : mixed
Parameters
$action : mixed

TAction object

setIsWrapped()

Define if the element is wrapped inside another one

public setIsWrapped(mixed $bool) : mixed
Parameters
$bool : mixed

setMonth()

Define the current month to display

public setMonth(mixed $month) : mixed
Parameters
$month : mixed

Month to display

setName()

Change the element name

public setName(mixed $tagname) : mixed
Parameters
$tagname : mixed

Element name

setProperties()

Set element properties

public setProperties(mixed $properties) : mixed
Parameters
$properties : mixed

setProperty()

Set tag property

public setProperty(mixed $name, mixed $value) : mixed
Parameters
$name : mixed

Property Name

$value : mixed

Property Value

setSize()

Define the calendar's size

public setSize(mixed $width, mixed $height) : mixed
Parameters
$width : mixed

Window's width

$height : mixed

Window's height

setUseLineBreaks()

Set the use of linebreaks

public setUseLineBreaks(mixed $linebreaks) : mixed
Parameters
$linebreaks : mixed

boolean

setUseSingleQuotes()

Set the use of single quotes

public setUseSingleQuotes(mixed $singlequotes) : mixed
Parameters
$singlequotes : mixed

boolean

setYear()

Define the current year to display

public setYear(mixed $year) : mixed
Parameters
$year : mixed

Year to display

show()

Show the calendar

public show() : mixed

tag()

Create an element

public static tag(mixed $tagname, mixed $value[, mixed $attributes = NULL ]) : mixed
Parameters
$tagname : mixed

Element name

$value : mixed

Element value

$attributes : mixed = NULL

Element attributes


        
On this page

Search results