Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
input
week.php
Go to the documentation of this file.
1
<?php
7
$vars
[
'class'
] =
elgg_extract_class
(
$vars
,
'elgg-input-week'
);
8
9
$defaults
= [
10
'type'
=>
'week'
11
];
12
13
$vars
= array_merge(
$defaults
,
$vars
);
14
15
echo
elgg_view
(
'input/text'
,
$vars
);
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition:
views.php:156
$defaults
$defaults
Definition:
week.php:9
$vars
$vars['class']
Elgg week input Displays a week input field.
Definition:
week.php:7
elgg_extract_class
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition:
elgglib.php:277
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11