Elgg
Version 6.2
views
default
input
month.php
Go to the documentation of this file.
1
<?php
7
$vars
[
'class'
] =
elgg_extract_class
(
$vars
,
'elgg-input-month'
);
8
9
$defaults
= [
10
'type'
=>
'month'
11
];
12
13
$vars
= array_merge(
$defaults
,
$vars
);
14
15
echo
elgg_view
(
'input/text'
,
$vars
);
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:279
$defaults
$defaults
Definition:
month.php:9
$vars
$vars['class']
Elgg month input Displays a month input field.
Definition:
month.php:7
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
Definition:
views.php:156
Generated on Sun Aug 24 2025 00:00:20 for Elgg by
1.9.1