MIOLO20
|
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) | |
__clone () | |
__set ( $name, $value) | |
__get ( $name) | |
setReadOnly ($status) | |
setEnabled ($state) | |
setName ($name) | |
setId ($id) | |
setNameAndId ($name) | |
getId () | |
getName () | |
getUniqueId () | |
setClass ( $cssClass, $add=true) | |
addStyleFile ( $styleFile) | |
getClass () | |
addStyle ($name, $value) | |
setStyle ($style) | |
getStyle () | |
addAttribute ( $name, $value='') | |
setTooltip ($title, $placement=self::TOOLTIP_PLACEMENT_AUTO) | |
setAttribute ( $name, $value) | |
setAttributes ($attr) | |
attributes ( $mergeDuplicates=false) | |
getAttributes ( $mergeDuplicates=false) | |
setFormMode ( $mode) | |
setJsHint ( $hint) | |
setPosition ($left, $top, $position='absolute') | |
setWidth ($value) | |
setHeight ($value) | |
setColor ($value) | |
setVisibility ($value) | |
setFont ($value) | |
setCaption ($caption) | |
setInner ($inner) | |
getInner () | |
addControl ($control) | |
insertControl ($control, $pos=0, $width=null, $float=null) | |
setControl ($control, $pos=0) | |
setControls ($controls) | |
getControls () | |
getControl ($pos) | |
getControlById ($id) | |
findControlById ($id) | |
setControlById ($control, $id) | |
clearControls () | |
eventHandler () | |
attachEventHandler ( $name, $handler, $param=NULL) | |
getBox () | |
setBoxId ( $id) | |
setBoxClass ( $cssClass, $add=true) | |
getBoxClass () | |
setBoxAttributes ($attr) | |
getBoxAttributes () | |
addBoxStyle ($name, $value='') | |
generateBox ( $content) | |
getRender ( $method) | |
getInnerToString () | |
generateInner () | |
Membros públicos herdados de MComponent | |
SetName ($name) | |
GetName () | |
AddComponent ($component) | |
InsertComponent ($component, $pos=0) | |
SetComponent ($component, $pos) | |
SetComponents ($components) | |
GetComponents () | |
GetComponent ($pos) | |
ClearComponents () | |
Campos de Dados | |
const | SUNDAY = 1 |
const | MONDAY = 2 |
const | TUESDAY = 3 |
const | WEDNESDAY = 4 |
const | THURSDAY = 5 |
const | FRIDAY = 6 |
const | SATURDAY = 7 |
Campos de Dados herdados de MControl | |
const | FORM_MODE_WHOLE_ROW = 0 |
const | FORM_MODE_SHOW_SIDE = 1 |
const | FORM_MODE_SHOW_ABOVE = 2 |
const | FORM_MODE_SHOW_NBSP = 3 |
const | CLASS_CAPTION = 'm-caption' |
const | CLASS_CAPTION_REQUIRED = 'm-caption-required' |
const | TOOLTIP_PLACEMENT_BOTTOM = 'bottom' |
const | TOOLTIP_PLACEMENT_TOP = 'top' |
const | TOOLTIP_PLACEMENT_LEFT = 'left' |
const | TOOLTIP_PLACEMENT_RIGHT = 'right' |
const | TOOLTIP_PLACEMENT_AUTO = 'auto' |
$id | |
$uniqueId | |
$cssClass | |
$enabled | |
$style | |
$visible | |
$attrs | |
$attributes | |
$formMode | |
$maintainState | |
$readonly | |
$caption | |
$jsHint | |
$inner | |
$controlBox | |
$box | |
$cssp | |
$parent | |
$controls | |
$controlsId | |
$eventHandlers | |
$painter | |
Campos de Dados herdados de MComponent | |
$manager | |
$page | |
$owner | |
$components | |
$componentCount | |
$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)
Definido na linha 27 do ficheiro meventcalendar.class.
__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 |
Definido na linha 72 do ficheiro meventcalendar.class.
defineDateLink | ( | $date, | |
$link ) |
Define a link to the given day
integer | $date | Date on format YYYYMMDD |
string | $link | Absolute URL |
Definido na linha 238 do ficheiro meventcalendar.class.
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 |
Definido na linha 103 do ficheiro meventcalendar.class.
generate | ( | ) |
Reimplementado de MControl.
Definido na linha 267 do ficheiro meventcalendar.class.
getEvents | ( | ) |
Definido na linha 143 do ficheiro meventcalendar.class.
getInitialDate | ( | ) |
Definido na linha 127 do ficheiro meventcalendar.class.
removeDateLink | ( | $date | ) |
Remove the link from a date
integer | $date | Date on format YYYYMMDD |
Definido na linha 251 do ficheiro meventcalendar.class.
setDateLinkNewWindow | ( | $dateLinkNewWindow | ) |
boolean | $dateLinkNewWindow | Set whether the date link should be opened on a new window |
Definido na linha 259 do ficheiro meventcalendar.class.
setEvents | ( | $events | ) |
array | $events | Set the calendar events |
Definido na linha 135 do ficheiro meventcalendar.class.
setFirstDayOfWeek | ( | $firstDayOfWeek | ) |
integer | $firstDayOfWeek | Set the first day of week. Use the day constants of this class. |
Definido na linha 175 do ficheiro meventcalendar.class.
setFirstMonth | ( | $firstMonth | ) |
integer | $firstMonth | Set the first month to be displayed on YYYYMM format |
Definido na linha 159 do ficheiro meventcalendar.class.
setInitialDate | ( | $initialDate | ) |
integer | $initialDate | Set the initial date on format YYYYMM |
Definido na linha 119 do ficheiro meventcalendar.class.
setLastMonth | ( | $lastMonth | ) |
integer | $lastMonth | Set the last month to be displayed on YYYYMM format |
Definido na linha 167 do ficheiro meventcalendar.class.
setLinkNewWindow | ( | $linkNewWindow | ) |
boolean | $linkNewWindow | Set whether the event link should be opened on a new window |
Definido na linha 183 do ficheiro meventcalendar.class.
setMonths | ( | $months | ) |
array | $months | Set the month names. The array must have the 12 months |
Definido na linha 207 do ficheiro meventcalendar.class.
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 |
Definido na linha 227 do ficheiro meventcalendar.class.
setSpecialDay | ( | $specialDay | ) |
integer | $specialDay | Set the day which will have a different appearence |
Definido na linha 191 do ficheiro meventcalendar.class.
setSpecialDays | ( | $specialDays | ) |
array | $specialDays | Set the days which will have a different appearence |
Definido na linha 199 do ficheiro meventcalendar.class.
setTitle | ( | $title | ) |
string | $title | Set the calendar title |
Definido na linha 151 do ficheiro meventcalendar.class.
setWeekdays | ( | $weekdays | ) |
array | $weekdays | Set the weekday names. The array must have the 7 weekdays |
Definido na linha 215 do ficheiro meventcalendar.class.
const FRIDAY = 6 |
Definido na linha 37 do ficheiro meventcalendar.class.
const MONDAY = 2 |
Definido na linha 33 do ficheiro meventcalendar.class.
const SATURDAY = 7 |
Definido na linha 38 do ficheiro meventcalendar.class.
const SUNDAY = 1 |
Constants used to set the special days and/or the first day of the week
Definido na linha 32 do ficheiro meventcalendar.class.
const THURSDAY = 5 |
Definido na linha 36 do ficheiro meventcalendar.class.
const TUESDAY = 3 |
Definido na linha 34 do ficheiro meventcalendar.class.
const WEDNESDAY = 4 |
Definido na linha 35 do ficheiro meventcalendar.class.