Webylon 3.1 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • auth
  • Booking
  • cart
    • shipping
    • steppedcheckout
  • Catalog
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • DateField_View_JQuery
  • DatetimeField
  • FormScaffolder
  • NestedForm
  • RangeField

Class DateField_View_JQuery

Preliminary API to separate optional view properties like calendar popups from the actual datefield logic.

Caution: This API is highly volatile, and might change without prior deprecation.

Package: sapphire\forms
Located at sapphire/forms/DateField.php

Methods summary

public
# __construct( DateField $field )

Parameters

$field
DateField $field
public DateField
# getField( )

Returns

DateField
DateField
public
# onBeforeRender( )
public mixed
# onAfterRender( String $html )

Parameters

$html
String $html

Returns

mixed
protected String
# getLang( )

Determines which language to use for jQuery UI, which can be different from the value set in i18n.

Determines which language to use for jQuery UI, which can be different from the value set in i18n.

Returns

String
String
public static String
# convert_iso_to_jquery_format( String $format )

Convert iso to jquery UI date format. Needs to be consistent with Zend formatting, otherwise validation will fail. Removes all time settings like hour/minute/second from the format. See http://docs.jquery.com/UI/Datepicker/formatDate

Convert iso to jquery UI date format. Needs to be consistent with Zend formatting, otherwise validation will fail. Removes all time settings like hour/minute/second from the format. See http://docs.jquery.com/UI/Datepicker/formatDate

Parameters

$format
String $format

Returns

String
String

Magic methods summary

Properties summary

protected mixed $field
#
public static array $locale_map
#

Maps values from i18n::$all_locales() to localizations existing in jQuery UI.

Maps values from i18n::$all_locales() to localizations existing in jQuery UI.

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.1 API Docs API documentation generated by ApiGen 2.8.0