Go to the source code of this file.
◆ $datepicker_options
      
        
          | $datepicker_options = (array) elgg_extract('datepicker_options', $vars, []) | 
      
 
 
◆ $defaults
Initial value:= [
    'timestamp' => false,
    'autocomplete' => 'off',
    'type' => 'text',
]
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Definition at line 25 of file date.php.
 
 
◆ $format
      
        
          | $format = elgg_extract('format', $vars, $defaults['format'], false) | 
      
 
 
◆ $name
◆ $timestamp
◆ $value
◆ $value_date
◆ $value_timestamp
◆ $vars [1/3]
◆ $vars [2/3]
      
        
          | if (empty( $datepicker_options[ 'dateFormat'])) $vars[ 'data-datepicker-opts'] = $datepicker_options ? json_encode($datepicker_options) : '' | 
      
 
 
◆ $vars [3/3]
◆ else
      
        
          | if (isset( $vars[ 'id'])) else | 
      
 
Initial value:{
    $selector = 
".elgg-input-date[name='{$name}']" 
Definition at line 86 of file date.php.