mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
0bc0a09bf4
- application/extensions file system permission now is 775 - application/logs file system permission now is 775 - Added extensions directory in application/: config, controllers, helpers, hooks, libraries, models, views and widgets - Added view views/extensions/manage.php - Added controller controllers/system/extensions/Manager.php - Added library ExtensionsLib to manage extensions - Added model models/system/Extensions_model.php - Moved code related to print out info from MigrationLib to EPrintfLib
21 lines
556 B
PHP
21 lines
556 B
PHP
<?php
|
|
|
|
class Organisationseinheit_widget extends DropdownWidget
|
|
{
|
|
public function display($widgetData)
|
|
{
|
|
$this->load->model('organisation/Organisationseinheit_model', 'OrganisationseinheitModel');
|
|
|
|
if (isset($widgetData['typ']))
|
|
$typ = $widgetData['typ'];
|
|
else
|
|
$typ = null;
|
|
|
|
// NOTE: no need to call addSelectToModel because getRecursiveList already returns
|
|
// the correct names of the fields
|
|
|
|
$this->setElementsArray($this->OrganisationseinheitModel->getRecursiveList($typ));
|
|
|
|
$this->loadDropDownView($widgetData);
|
|
}
|
|
} |