Jump to content

AtkDateTimeAttribute

From NusaATK
Revision as of 17:18, 15 May 2008 by Rwolverine (talk | contribs) (New page: Straight from the attribute file: atkDateTimeAttribute($name, $default_date="",$default_time="",$flags=0) @param $name Name of the attribute @param $default_date start dat...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Straight from the attribute file:

atkDateTimeAttribute($name, $default_date="",$default_time="",$flags=0) @param $name Name of the attribute @param $default_date start date @param $default_time start time @param $flags Flags for this attribute

@todo I don't know who added the default_date and default_time parameters, but at least the atkDateAttribute doesn't support a default date. if you want to set a default date you should use initial_values anyways so I think the default_date / default_time parameters should be removed. But can we keep this backwards compatible somehow? At least now we are certain it doesn't work. ;) (PCV)