contenido\classes\widgets\class.widgets.dateselect.php

Show: PublicProtectedPrivateinherited
Table of Contents
Project: Contenido Content Management System

Description: Date selector

Requirements:

Author
Timo Hummel  
Con_php_req
5.0  
Copyright
four for business AG  
License
http://www.contenido.org/license/LIZENZ.txt  
Link
http://www.4fb.de  
Link
{@internal created 205-09-15 $Id: class.widgets.dateselect.php,v 1.6 2005/09/15 12:15:17 timo.hummel Exp $ }}  
Package
Contenido Backend classes  
Version
1.6  

\cDropdownDateSelect

Package: Default

Properties

>VPropertypublicobject $_daySelect
Day, month and year selectors
Details
Type
object
Access
private  
>VPropertypublic$_monthSelect
Details
Type
n/a
>VPropertypublicstring $_order
Order of the elements
Details
Type
string
Access
private  
>VPropertypublic$_yearSelect
Details
Type
n/a

Methods

methodpubliccDropdownDateSelect( $prefix) : void

Parameters
NameTypeDescription
$prefix
methodpublicgetTimestamp( $prefix = false) : void

Gets the current timestamp

Parameters
NameTypeDescription
$prefix
methodpublicrender() : void

Renders the elements

methodpublicsetDisabled(\none $disabled) : void

sets the element to a disabled state

Parameters
NameTypeDescription
$disabled\none
methodpublicsetId( $id) : void

Sets the ID for all three select boxes.

Note: The parameter id is only the prefix. Your ID is postfixed by _day, _month and _year for each select box.

Parameters
NameTypeDescription
$id

string Prefix ID to set

methodpublicsetOrder( $order) : void

Sets the order of the day, month and year boxes

Pass a string with "d", "m" and "y" in the desired order.

Example: $test->setOrder("mdy");

Parameters
NameTypeDescription
$order

string Order with the keys "d", "m" and "y"

methodpublicsetTimestamp( $timestamp) : void

Sets the day, month and year boxes using a timestamp

Parameters
NameTypeDescription
$timestamp

int Timestamp to set

Documentation was generated by phpDocumentor 2.0.0a12.