Метод | Описание | |
---|---|---|
ajax_user_search ( array $args = [] ) : string | User Search Field | |
category_dropdown ( string $name = 'give_forms_categories', integer $selected ) : string | Categories Dropdown | |
checkbox ( array $args = [] ) : string | Checkbox | |
date_field ( array $args = [] ) : string | Date Picker | |
donor_dropdown ( array $args = [] ) : string | Donors Dropdown | |
forms_dropdown ( array $args = [] ) : string | Give Forms Dropdown | |
month_dropdown ( string $name = 'month', integer $selected ) : string | Months Dropdown | |
select ( array $args = [] ) : string | Dropdown | |
text ( array $args = [] ) : string | Text Field | |
textarea ( array $args = [] ) : string | Textarea | |
transactions_dropdown ( array $args = [] ) : string | Transactions Dropdown | |
year_dropdown ( string $name = 'year', integer $selected, integer $years_before = 5, integer $years_after ) : string | Years Dropdown |
public ajax_user_search ( array $args = [] ) : string | ||
$args | array | Arguments for the search field. |
Результат | string | The text field with ajax search. |
public date_field ( array $args = [] ) : string | ||
$args | array | Arguments for the date picker. |
Результат | string | The date picker. |
public donor_dropdown ( array $args = [] ) : string | ||
$args | array | Arguments for the dropdown. |
Результат | string | Donors dropdown. |
public forms_dropdown ( array $args = [] ) : string | ||
$args | array | Arguments for the dropdown. |
Результат | string | Give forms dropdown. |
public transactions_dropdown ( array $args = [] ) : string | ||
$args | array | Arguments for the dropdown. |
Результат | string | Transactions dropdown. |
public year_dropdown ( string $name = 'year', integer $selected, integer $years_before = 5, integer $years_after ) : string | ||
$name | string | Name attribute of the dropdown. Default is 'year'. |
$selected | integer | Year to select automatically. Default is 0. |
$years_before | integer | Number of years before the current year the dropdown should start with. Default is 5. |
$years_after | integer | Number of years after the current year the dropdown should finish at. Default is 0. |
Результат | string | Years dropdown. |