ServiceGroup: Conform the class and file naming
This commit is contained in:
parent
9f7ff8276d
commit
8b22a3ee81
|
@ -77,7 +77,7 @@ class Director_ListController extends ActionController
|
|||
'director/object/servicegroup'
|
||||
);
|
||||
$this->view->title = $this->translate('Icinga Servicegroups');
|
||||
$this->view->table = $this->loadTable('icingaServicegroup')->setConnection($this->db());
|
||||
$this->view->table = $this->loadTable('icingaServiceGroup')->setConnection($this->db());
|
||||
$this->render('table');
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ class Director_ListController extends ActionController
|
|||
'director/object/servicegroupmember'
|
||||
);
|
||||
$this->view->title = $this->translate('Icinga Servicegroup Members');
|
||||
$this->view->table = $this->loadTable('icingaServicegroupMember')->setConnection($this->db());
|
||||
$this->view->table = $this->loadTable('icingaServiceGroupMember')->setConnection($this->db());
|
||||
$this->render('table');
|
||||
}
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ class Director_ObjectController extends ActionController
|
|||
|
||||
public function servicegroupAction()
|
||||
{
|
||||
$this->view->form = $this->loadForm('icingaServicegroup')
|
||||
$this->view->form = $this->loadForm('icingaServiceGroup')
|
||||
->setDb($this->db())
|
||||
->setSuccessUrl('director/list/servicegroups');
|
||||
|
||||
|
@ -113,7 +113,7 @@ class Director_ObjectController extends ActionController
|
|||
|
||||
public function servicegroupmemberAction()
|
||||
{
|
||||
$this->view->form = $this->loadForm('icingaServicegroupMember')
|
||||
$this->view->form = $this->loadForm('icingaServiceGroupMember')
|
||||
->setDb($this->db())
|
||||
->setSuccessUrl('director/list/servicegroupmembers');
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Forms;
|
|||
|
||||
use Icinga\Module\Director\Web\Form\DirectorObjectForm;
|
||||
|
||||
class IcingaServicegroupForm extends DirectorObjectForm
|
||||
class IcingaServiceGroupForm extends DirectorObjectForm
|
||||
{
|
||||
public function setup()
|
||||
{
|
|
@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Forms;
|
|||
|
||||
use Icinga\Module\Director\Web\Form\DirectorObjectForm;
|
||||
|
||||
class IcingaServicegroupMemberForm extends DirectorObjectForm
|
||||
class IcingaServiceGroupMemberForm extends DirectorObjectForm
|
||||
{
|
||||
public function setup()
|
||||
{
|
|
@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Tables;
|
|||
|
||||
use Icinga\Module\Director\Web\Table\QuickTable;
|
||||
|
||||
class IcingaServicegroupMemberTable extends QuickTable
|
||||
class IcingaServiceGroupMemberTable extends QuickTable
|
||||
{
|
||||
public function getColumns()
|
||||
{
|
|
@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Tables;
|
|||
|
||||
use Icinga\Module\Director\Web\Table\QuickTable;
|
||||
|
||||
class IcingaServicegroupTable extends QuickTable
|
||||
class IcingaServiceGroupTable extends QuickTable
|
||||
{
|
||||
public function getColumns()
|
||||
{
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Icinga\Module\Director\Objects;
|
||||
|
||||
class IcingaServicegroup extends IcingaObject
|
||||
class IcingaServiceGroup extends IcingaObject
|
||||
{
|
||||
protected $table = 'icinga_servicegroup';
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Icinga\Module\Director\Objects;
|
||||
|
||||
class IcingaServicegroupMember extends IcingaObject
|
||||
class IcingaServiceGroupMember extends IcingaObject
|
||||
{
|
||||
protected $keyName = array('service_id', 'servicegroup_id');
|
||||
|
Loading…
Reference in New Issue