mirror of
https://github.com/Oreolek/kangana.git
synced 2024-05-18 17:08:19 +03:00
14 lines
352 B
PHP
14 lines
352 B
PHP
<?php defined('SYSPATH') OR die('No direct script access.');
|
|
|
|
/**
|
|
* Course details editing view controller
|
|
**/
|
|
class View_Course_Edit extends View_Edit {
|
|
public function group_select()
|
|
{
|
|
return Form::select('group_id', ORM::factory('Group')->find_all()->as_array('id', 'name'), NULL, [
|
|
'label' => I18n::translate('Group')
|
|
]);
|
|
}
|
|
}
|