MIOLO26
|
Membros públicos | |
__construct ($name, $title, $firstMonth=NULL, $lastMonth=NULL, $firstDayOfWeek=NULL, $linkNewWindow=false, $specialDay=self::SUNDAY, $initialDate=NULL) | |
defineEvent ($date, $description, $link=NULL, $image=NULL, $imageWidth=NULL, $imageHeight=NULL) | |
setInitialDate ($initialDate) | |
getInitialDate () | |
setEvents ($events) | |
getEvents () | |
setTitle ($title) | |
setFirstMonth ($firstMonth) | |
setLastMonth ($lastMonth) | |
setFirstDayOfWeek ($firstDayOfWeek) | |
setLinkNewWindow ($linkNewWindow) | |
setSpecialDay ($specialDay) | |
setSpecialDays ($specialDays) | |
setMonths ($months) | |
setWeekdays ($weekdays) | |
setOption ($option, $value) | |
defineDateLink ($date, $link) | |
removeDateLink ($date) | |
setDateLinkNewWindow ($dateLinkNewWindow) | |
generate () | |
Membros públicos herdados de MDiv | |
__construct ( $name=NULL, $content=' ', $class=NULL, $attributes=NULL) | |
Membros públicos herdados de MControl | |
__construct ( $name=NULL) | |
setName ($name) | |
setId ($id) | |
getId () | |
getName () | |
getUniqueId () | |
__clone () | |
__set ( $name, $value) | |
__get ( $name) | |
setClass ($cssClass, $add=TRUE) | |
insertClass ( $cssClass) | |
addStyleFile ( $styleFile) | |
getClass () | |
addStyle ($name, $value) | |
setStyle ($style) | |
getStyle () | |
getBoxStyle () | |
setPosition ($left, $top, $position='absolute') | |
setWidth ($value) | |
setHeight ($value) | |
setColor ($value) | |
setVisibility ($value) | |
setFont ($value) | |
getBox () | |
setBoxId ( $id) | |
setBoxClass ( $cssClass, $add=true) | |
getBoxClass () | |
setBoxAttributes ($attr) | |
getBoxAttributes () | |
generateBox ( $content) | |
addAttribute ( $name, $value='') | |
setAttribute ( $name, $value) | |
getAttribute ( $name) | |
setAttributes ($attr) | |
attributes ( $mergeDuplicates=false) | |
getAttributes ( $mergeDuplicates=false) | |
setReadOnly ($status) | |
setEnabled ($state) | |
setJsHint ( $hint) | |
setHint ( $hint) | |
setCaption ($caption) | |
setHTMLTitle ($title) | |
addBoxStyle ($name, $value) | |
eventHandler () | |
attachEventHandler ( $name, $handler, $param=NULL) | |
addEvent ($event, $handler, $preventDefault=true) | |
hasEvent ($event) | |
generateEvent () | |
setContent ($inner) | |
setInner ($inner) | |
getInner () | |
getRender ( $method) | |
getInnerToString () | |
getCSSP () | |
generateInner () | |
__toString () | |
Membros públicos herdados de MComponent | |
getManager () | |
Campos de Dados | |
const | SUNDAY = 1 |
const | MONDAY = 2 |
const | TUESDAY = 3 |
const | WEDNESDAY = 4 |
const | THURSDAY = 5 |
const | FRIDAY = 6 |
const | SATURDAY = 7 |
$js | |
Campos de Dados herdados de MControl | |
$id | |
$uniqueId | |
$enabled | |
$style | |
$attrs | |
$attributes | |
$maintainState | |
$readonly | |
$visible | |
$caption | |
$jsHint | |
$hint | |
$cssp | |
$inner | |
$parent | |
$eventHandlers | |
$painter | |
$event | |
$formId | |
const | ALIGN_CENTER = 'center' |
const | ALIGN_LEFT = 'left' |
const | ALIGN_RIGHT = 'right' |
const | FORM_MODE_WHOLE_ROW = 0 |
const | FORM_MODE_SHOW_SIDE = 1 |
const | FORM_MODE_SHOW_ABOVE = 2 |
const | FORM_MODE_SHOW_NBSP = 3 |
$formMode | |
Campos de Dados herdados de MComponent | |
$manager | |
$page | |
$owner | |
$name | |
$className | |
Outros membros herdados | |
Atributos Públicos Estáticos herdados de MControl | |
static | $_number = 0 |
Membros protegidos herdados de MControl | |
_addStyle ($name, $value) | |
MEventCalendar Class Display tasks on calendar format
Maintainers:
Armando Taffarel Neto [taffa.nosp@m.rel@.nosp@m.solis.nosp@m..coo.nosp@m.p.br] Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
Organization:
SOLIS - Cooperativa de Solu��es Livres
Copyright:
Copyright (c) 2011 SOLIS - Cooperativa de Solu��es Livres
License:
Licensed under GPLv2 (for further details read the COPYING file or http://www.gnu.org/licenses/gpl.html)
__construct | ( | $name, | |
$title, | |||
$firstMonth = NULL, | |||
$lastMonth = NULL, | |||
$firstDayOfWeek = NULL, | |||
$linkNewWindow = false, | |||
$specialDay = self::SUNDAY, | |||
$initialDate = NULL ) |
The MEventCalendar constructor
string | $name | The component id |
string | $title | The calendar title |
integer | $firstMonth | The first month to be displayed on YYYYMM format |
integer | $lastMonth | The last month to be displayed on YYYYMM format |
integer | $firstDayOfWeek | The first day of week. Use the day constants of this class. |
boolean | $linkNewWindow | Whether the event link should be opened on a new window |
integer | $specialDay | The day which will have a different appearence. Default is Sunday. Use the day constants of this class. |
integer | $initialDate | Initial date format YYYYMM |
defineDateLink | ( | $date, | |
$link ) |
Define a link to the given day
integer | $date | Date on format YYYYMMDD |
string | $link | Absolute URL |
defineEvent | ( | $date, | |
$description, | |||
$link = NULL, | |||
$image = NULL, | |||
$imageWidth = NULL, | |||
$imageHeight = NULL ) |
Add an event on the given day
integer | $date | Event date on YYYYMMDD format |
string | $description | Event description |
string | $link | Event link |
string | $image | Relative path of an image to be displayed at the event description |
int | $imageWidth | Image width in pixels |
int | $imageHeight | Image height in pixels |
generate | ( | ) |
Reimplementado de MDiv.
getEvents | ( | ) |
getInitialDate | ( | ) |
removeDateLink | ( | $date | ) |
Remove the link from a date
integer | $date | Date on format YYYYMMDD |
setDateLinkNewWindow | ( | $dateLinkNewWindow | ) |
boolean | $dateLinkNewWindow | Set whether the date link should be opened on a new window |
setEvents | ( | $events | ) |
array | $events | Set the calendar events |
setFirstDayOfWeek | ( | $firstDayOfWeek | ) |
integer | $firstDayOfWeek | Set the first day of week. Use the day constants of this class. |
setFirstMonth | ( | $firstMonth | ) |
integer | $firstMonth | Set the first month to be displayed on YYYYMM format |
setInitialDate | ( | $initialDate | ) |
integer | $initialDate | Set the initial date on format YYYYMM |
setLastMonth | ( | $lastMonth | ) |
integer | $lastMonth | Set the last month to be displayed on YYYYMM format |
setLinkNewWindow | ( | $linkNewWindow | ) |
boolean | $linkNewWindow | Set whether the event link should be opened on a new window |
setMonths | ( | $months | ) |
array | $months | Set the month names. The array must have the 12 months |
setOption | ( | $option, | |
$value ) |
Set to a value to an option The options can be found here: http://mysite.verizon.net/kilsen/calendar/tutorial.html
string | $option | |
mixed | $value | The value can be an integer, string, boolean or array |
setSpecialDay | ( | $specialDay | ) |
integer | $specialDay | Set the day which will have a different appearence |
setSpecialDays | ( | $specialDays | ) |
array | $specialDays | Set the days which will have a different appearence |
setTitle | ( | $title | ) |
string | $title | Set the calendar title |
setWeekdays | ( | $weekdays | ) |
array | $weekdays | Set the weekday names. The array must have the 7 weekdays |
$js |
const FRIDAY = 6 |
const MONDAY = 2 |
const SATURDAY = 7 |
const SUNDAY = 1 |
Constants used to set the special days and/or the first day of the week
const THURSDAY = 5 |
const TUESDAY = 3 |
const WEDNESDAY = 4 |