From 5ede7bd6542a2d0cac7ee0a42c9c13267d78bb98 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 24 Oct 2014 04:16:45 -0700 Subject: doc updates --- doc/html/datetime_8php.html | 160 ++++++++++++++++++++++++++++++++------------ 1 file changed, 117 insertions(+), 43 deletions(-) (limited to 'doc/html/datetime_8php.html') diff --git a/doc/html/datetime_8php.html b/doc/html/datetime_8php.html index 41dc0f97f..1f6eb1430 100644 --- a/doc/html/datetime_8php.html +++ b/doc/html/datetime_8php.html @@ -122,12 +122,12 @@ Functions    dob ($dob)   - datesel_format ($f) -  - datesel ($f, $pre, $ymin, $ymax, $allow_blank, $y, $m, $d) -  - timesel ($pre, $h, $m) -  + datesel ($format, $min, $max, $default, $id= 'datepicker') +  + timesel ($format, $h, $m, $id='timepicker') +  + datetimesel ($format, $min, $max, $default, $id= 'datetimepicker', $pickdate=true, $picktime=true, $minfrom= '', $maxfrom= '') +   relative_date ($posted_date, $format=null)    age ($dob, $owner_tz= '', $viewer_tz= '') @@ -218,7 +218,7 @@ Functions - +
@@ -226,49 +226,82 @@ Functions - + - + - + - + - + + + + + + + +
datesel (  $f, $format,
 $pre, $min,
 $ymin, $max,
 $ymax, $default,
 $allow_blank, $id = 'datepicker' 
)
+
+

returns a date selector

+
Parameters
+ + + + + + +
$formatformat string, e.g. 'ymd' or 'mdy'. Not currently supported
$minunix timestamp of minimum date
$maxunix timestap of maximum date
$defaultunix timestamp of default date
$idid and name of datetimepicker (defaults to "datetimepicker")
+
+
+ +

Referenced by dob().

+ +
+
+ +
+
+ + + + + + - + - + - + @@ -278,55 +311,67 @@ Functions
datetime_convert ( $from = 'UTC',
 $y, $to = 'UTC',
 $m, $s = 'now',
 $d $fmt = "Y-m-d H:i:s" 
-

Referenced by dob(), and events_content().

+

Referenced by abook_toggle_flag(), account_verify_password(), advanced_profile(), age(), api_account_rate_limit_status(), api_date(), api_rss_extra(), atom_entry(), attach_delete(), attach_mkdir(), attach_store(), authenticate_success(), build_sync_packet(), cal(), channel_content(), channel_remove(), chat_message(), chatroom_create(), chatroom_enter(), chatsvc_content(), chatsvc_post(), Cache\clear(), comments_are_now_closed(), consume_feed(), conversation(), create_account(), create_identity(), RedMatrix\RedDAV\RedDirectory\createFile(), cronhooks_run(), delete_item_lowlevel(), deliver_run(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_message(), diaspora_post(), diaspora_profile(), diaspora_request(), diaspora_reshare(), diaspora_send_images(), diaspora_send_mail(), diaspora_send_status(), diaspora_transmit(), directory_run(), dirsearch_content(), discover_by_url(), discover_by_webbie(), dlogger(), editpost_content(), ev_compare(), event_store_event(), events_content(), events_post(), externals_run(), first_post_date(), fix_system_urls(), format_event_diaspora(), format_event_html(), fsuggest_post(), RedMatrix\RedDAV\RedBrowser\generateDirectoryIndex(), get_atom_elements(), get_birthdays(), get_events(), get_feed_for(), get_first_dim(), get_item_elements(), get_mail_elements(), get_profile_elements(), get_public_feed(), Item\get_template_data(), RedMatrix\RedDAV\RedFile\getLastModified(), RedMatrix\RedDAV\RedDirectory\getLastModified(), impel_init(), import_author_rss(), import_author_unknown(), import_directory_profile(), import_post(), import_site(), import_xchan(), invite_post(), item_post(), item_store(), item_store_update(), items_fetch(), like_content(), list_post_dates(), logger(), magic_init(), mail_content(), mail_post(), mail_store(), manage_content(), message_content(), network_content(), new_contact(), notification(), notifier_run(), onepoll_run(), openid_content(), p_init(), pagelist_widget(), photo_upload(), photos_post(), ping_init(), poco_load(), poller_run(), post_post(), posted_dates(), profile_photo_post(), profiles_content(), profiles_post(), prune_hub_reinstalls(), RedMatrix\RedDAV\RedFile\put(), dba_mysql\q(), dba_mysqli\q(), queue_run(), relative_date(), removeaccount_post(), removeme_post(), photo_driver\save(), send_message(), send_reg_approval_email(), Cache\set(), settings_post(), photo_driver\store(), sync_directories(), sync_locations(), tag_deliver(), update_birthdays(), update_directory_entry(), update_modtime(), update_queue_time(), verify_email_address(), webpages_content(), xchan_store(), z_birthday(), zot_feed(), zot_process_response(), zot_refresh(), and zotfeed_init().

- +
- + - + + + + + + -
datesel_format datetimesel (  $f)$format,
 $min,
-
- -

Referenced by events_content(), and profiles_content().

- -
-
- -
-
- - - + + - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -335,8 +380,23 @@ Functions
datetime_convert (  $from = 'UTC', $max,
 $to = 'UTC', $default,
 $s = 'now', $id = 'datetimepicker',
 $fmt = "Y-m-d H:i:s" $pickdate = true,
 $picktime = true,
 $minfrom = '',
 $maxfrom = '' 
- -

Referenced by abook_toggle_flag(), account_verify_password(), advanced_profile(), age(), api_account_rate_limit_status(), api_date(), api_rss_extra(), atom_entry(), attach_delete(), attach_mkdir(), attach_store(), authenticate_success(), build_sync_packet(), cal(), channel_content(), channel_remove(), chat_message(), chatroom_create(), chatroom_enter(), chatsvc_content(), chatsvc_post(), Cache\clear(), comments_are_now_closed(), consume_feed(), conversation(), create_account(), create_identity(), RedMatrix\RedDAV\RedDirectory\createFile(), cronhooks_run(), delete_item_lowlevel(), deliver_run(), diaspora_asphoto(), diaspora_comment(), diaspora_conversation(), diaspora_message(), diaspora_post(), diaspora_profile(), diaspora_request(), diaspora_reshare(), diaspora_send_images(), diaspora_send_mail(), diaspora_send_status(), diaspora_transmit(), directory_run(), dirsearch_content(), discover_by_url(), discover_by_webbie(), dlogger(), dob(), editpost_content(), ev_compare(), event_store_event(), events_content(), events_post(), externals_run(), first_post_date(), fix_system_urls(), format_event_diaspora(), format_event_html(), fsuggest_post(), RedMatrix\RedDAV\RedBrowser\generateDirectoryIndex(), get_atom_elements(), get_birthdays(), get_events(), get_feed_for(), get_first_dim(), get_item_elements(), get_mail_elements(), get_profile_elements(), get_public_feed(), Item\get_template_data(), RedMatrix\RedDAV\RedFile\getLastModified(), RedMatrix\RedDAV\RedDirectory\getLastModified(), impel_init(), import_author_rss(), import_author_unknown(), import_directory_profile(), import_post(), import_site(), import_xchan(), invite_post(), item_post(), item_store(), item_store_update(), items_fetch(), like_content(), list_post_dates(), logger(), magic_init(), mail_content(), mail_post(), mail_store(), manage_content(), message_content(), network_content(), new_contact(), notification(), notifier_run(), onepoll_run(), openid_content(), p_init(), pagelist_widget(), photo_upload(), photos_post(), ping_init(), poco_load(), poller_run(), post_post(), posted_dates(), profile_photo_post(), profiles_content(), profiles_post(), prune_hub_reinstalls(), RedMatrix\RedDAV\RedFile\put(), dba_mysql\q(), dba_mysqli\q(), queue_run(), relative_date(), removeaccount_post(), removeme_post(), photo_driver\save(), send_message(), send_reg_approval_email(), Cache\set(), settings_post(), photo_driver\store(), sync_directories(), sync_locations(), tag_deliver(), update_birthdays(), update_directory_entry(), update_modtime(), update_queue_time(), verify_email_address(), webpages_content(), z_birthday(), zot_feed(), zot_process_response(), zot_refresh(), and zotfeed_init().

+

returns a datetime selector

+
Parameters
+ + + + + + + + + + +
$formatformat string, e.g. 'ymd' or 'mdy'. Not currently supported
$minunix timestamp of minimum date
$maxunix timestap of maximum date
$defaultunix timestamp of default date
$idid and name of datetimepicker (defaults to "datetimepicker")
$pickdatetrue to show date picker (default)
$picktimetrue to show time picker (default)
$minfromset minimum date from picker with id $minfrom (none by default)
$maxfromset maximum date from picker with id $maxfrom (none by default)
+
+
+ +

Referenced by datesel(), events_content(), and timesel().

@@ -500,7 +560,7 @@ Functions - +
@@ -508,7 +568,7 @@ Functions - + @@ -520,7 +580,13 @@ Functions - + + + + + + + @@ -529,8 +595,16 @@ Functions
timesel (  $pre, $format,
 $m $m,
 $id = 'timepicker' 
- -

Referenced by events_content().

+

returns a date selector

+
Parameters
+ + + + + +
$formatformat string, e.g. 'ymd' or 'mdy'. Not currently supported
$halready selected hour
$malready selected minute
$idid and name of datetimepicker (defaults to "timepicker")
+
+
-- cgit v1.2.3