ServiceGroup: Conform the class and file naming

This commit is contained in:
Alexander Fuhr 2015-06-12 12:02:51 +02:00
parent 9f7ff8276d
commit 8b22a3ee81
8 changed files with 10 additions and 10 deletions

View File

@ -77,7 +77,7 @@ class Director_ListController extends ActionController
'director/object/servicegroup' 'director/object/servicegroup'
); );
$this->view->title = $this->translate('Icinga Servicegroups'); $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'); $this->render('table');
} }
@ -88,7 +88,7 @@ class Director_ListController extends ActionController
'director/object/servicegroupmember' 'director/object/servicegroupmember'
); );
$this->view->title = $this->translate('Icinga Servicegroup Members'); $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'); $this->render('table');
} }

View File

@ -97,7 +97,7 @@ class Director_ObjectController extends ActionController
public function servicegroupAction() public function servicegroupAction()
{ {
$this->view->form = $this->loadForm('icingaServicegroup') $this->view->form = $this->loadForm('icingaServiceGroup')
->setDb($this->db()) ->setDb($this->db())
->setSuccessUrl('director/list/servicegroups'); ->setSuccessUrl('director/list/servicegroups');
@ -113,7 +113,7 @@ class Director_ObjectController extends ActionController
public function servicegroupmemberAction() public function servicegroupmemberAction()
{ {
$this->view->form = $this->loadForm('icingaServicegroupMember') $this->view->form = $this->loadForm('icingaServiceGroupMember')
->setDb($this->db()) ->setDb($this->db())
->setSuccessUrl('director/list/servicegroupmembers'); ->setSuccessUrl('director/list/servicegroupmembers');

View File

@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Forms;
use Icinga\Module\Director\Web\Form\DirectorObjectForm; use Icinga\Module\Director\Web\Form\DirectorObjectForm;
class IcingaServicegroupForm extends DirectorObjectForm class IcingaServiceGroupForm extends DirectorObjectForm
{ {
public function setup() public function setup()
{ {

View File

@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Forms;
use Icinga\Module\Director\Web\Form\DirectorObjectForm; use Icinga\Module\Director\Web\Form\DirectorObjectForm;
class IcingaServicegroupMemberForm extends DirectorObjectForm class IcingaServiceGroupMemberForm extends DirectorObjectForm
{ {
public function setup() public function setup()
{ {

View File

@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Tables;
use Icinga\Module\Director\Web\Table\QuickTable; use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaServicegroupMemberTable extends QuickTable class IcingaServiceGroupMemberTable extends QuickTable
{ {
public function getColumns() public function getColumns()
{ {

View File

@ -4,7 +4,7 @@ namespace Icinga\Module\Director\Tables;
use Icinga\Module\Director\Web\Table\QuickTable; use Icinga\Module\Director\Web\Table\QuickTable;
class IcingaServicegroupTable extends QuickTable class IcingaServiceGroupTable extends QuickTable
{ {
public function getColumns() public function getColumns()
{ {

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Objects; namespace Icinga\Module\Director\Objects;
class IcingaServicegroup extends IcingaObject class IcingaServiceGroup extends IcingaObject
{ {
protected $table = 'icinga_servicegroup'; protected $table = 'icinga_servicegroup';

View File

@ -2,7 +2,7 @@
namespace Icinga\Module\Director\Objects; namespace Icinga\Module\Director\Objects;
class IcingaServicegroupMember extends IcingaObject class IcingaServiceGroupMember extends IcingaObject
{ {
protected $keyName = array('service_id', 'servicegroup_id'); protected $keyName = array('service_id', 'servicegroup_id');