summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-02-17 14:54:42 +0100
committerAleksander Machniak <alec@alec.pl>2012-02-17 14:54:42 +0100
commit2727724ed788471bc3b43d2227ee153db9e80190 (patch)
tree2400a8086abe3688c2100564438509da493f9f54
parente08072b6994af0b943e63815655fab0557453c9b (diff)
downloadwebadmin-2727724ed788471bc3b43d2227ee153db9e80190.tar.gz
Class filenames unification
-rw-r--r--lib/api/kolab_api_service_domains.php (renamed from lib/api/kolab_domains_actions.php)2
-rw-r--r--lib/api/kolab_api_service_form_value.php (renamed from lib/api/kolab_form_value_actions.php)2
-rw-r--r--lib/api/kolab_api_service_group.php (renamed from lib/api/kolab_group_actions.php)2
-rw-r--r--lib/api/kolab_api_service_group_types.php (renamed from lib/api/kolab_group_types_actions.php)2
-rw-r--r--lib/api/kolab_api_service_groups.php (renamed from lib/api/kolab_groups_actions.php)2
-rw-r--r--lib/api/kolab_api_service_user.php (renamed from lib/api/kolab_user_actions.php)2
-rw-r--r--lib/api/kolab_api_service_user_types.php (renamed from lib/api/kolab_user_types_actions.php)2
-rw-r--r--lib/api/kolab_api_service_users.php (renamed from lib/api/kolab_users_actions.php)2
-rw-r--r--lib/kolab_api_controller.php16
9 files changed, 16 insertions, 16 deletions
diff --git a/lib/api/kolab_domains_actions.php b/lib/api/kolab_api_service_domains.php
index 3db52aa..bedce85 100644
--- a/lib/api/kolab_domains_actions.php
+++ b/lib/api/kolab_api_service_domains.php
@@ -3,7 +3,7 @@
/**
*
*/
-class kolab_domains_actions extends kolab_api_service
+class kolab_api_service_domains extends kolab_api_service
{
public function capabilities($domain)
{
diff --git a/lib/api/kolab_form_value_actions.php b/lib/api/kolab_api_service_form_value.php
index a2363d7..0d16bdb 100644
--- a/lib/api/kolab_form_value_actions.php
+++ b/lib/api/kolab_api_service_form_value.php
@@ -3,7 +3,7 @@
/**
*
*/
-class kolab_form_value_actions extends kolab_api_service
+class kolab_api_service_form_value extends kolab_api_service
{
public function capabilities($domain)
diff --git a/lib/api/kolab_group_actions.php b/lib/api/kolab_api_service_group.php
index c7df753..80c6de2 100644
--- a/lib/api/kolab_group_actions.php
+++ b/lib/api/kolab_api_service_group.php
@@ -3,7 +3,7 @@
/**
*
*/
-class kolab_group_actions extends kolab_api_service
+class kolab_api_service_group extends kolab_api_service
{
public function capabilities($domain)
{
diff --git a/lib/api/kolab_group_types_actions.php b/lib/api/kolab_api_service_group_types.php
index d439503..4bc290d 100644
--- a/lib/api/kolab_group_types_actions.php
+++ b/lib/api/kolab_api_service_group_types.php
@@ -3,7 +3,7 @@
/**
*
*/
-class kolab_group_types_actions extends kolab_api_service
+class kolab_api_service_group_types extends kolab_api_service
{
public function capabilities($domain)
{
diff --git a/lib/api/kolab_groups_actions.php b/lib/api/kolab_api_service_groups.php
index 0b2478f..116df8b 100644
--- a/lib/api/kolab_groups_actions.php
+++ b/lib/api/kolab_api_service_groups.php
@@ -3,7 +3,7 @@
/**
*
*/
-class kolab_groups_actions extends kolab_api_service
+class kolab_api_service_groups extends kolab_api_service
{
public $list_attribs = array(
'cn',
diff --git a/lib/api/kolab_user_actions.php b/lib/api/kolab_api_service_user.php
index eeeeb9f..142e09f 100644
--- a/lib/api/kolab_user_actions.php
+++ b/lib/api/kolab_api_service_user.php
@@ -3,7 +3,7 @@
/**
*
*/
-class kolab_user_actions extends kolab_api_service
+class kolab_api_service_user extends kolab_api_service
{
public function capabilities($domain)
{
diff --git a/lib/api/kolab_user_types_actions.php b/lib/api/kolab_api_service_user_types.php
index b639578..b7dd5d6 100644
--- a/lib/api/kolab_user_types_actions.php
+++ b/lib/api/kolab_api_service_user_types.php
@@ -3,7 +3,7 @@
/**
*
*/
-class kolab_user_types_actions extends kolab_api_service
+class kolab_api_service_user_types extends kolab_api_service
{
public function capabilities($domain)
{
diff --git a/lib/api/kolab_users_actions.php b/lib/api/kolab_api_service_users.php
index ceb58e7..2c51a2a 100644
--- a/lib/api/kolab_users_actions.php
+++ b/lib/api/kolab_api_service_users.php
@@ -3,7 +3,7 @@
/**
*
*/
-class kolab_users_actions extends kolab_api_service
+class kolab_api_service_users extends kolab_api_service
{
public $list_attribs = array(
'uid',
diff --git a/lib/kolab_api_controller.php b/lib/kolab_api_controller.php
index 57922bd..d5652aa 100644
--- a/lib/kolab_api_controller.php
+++ b/lib/kolab_api_controller.php
@@ -33,14 +33,14 @@ class kolab_api_controller
}
// TODO: register services based on config or whatsoever
- $this->add_service('form_value', 'kolab_form_value_actions');
- $this->add_service('group_types', 'kolab_group_types_actions');
- $this->add_service('group', 'kolab_group_actions');
- $this->add_service('groups', 'kolab_groups_actions');
- $this->add_service('user_types', 'kolab_user_types_actions');
- $this->add_service('user', 'kolab_user_actions');
- $this->add_service('users', 'kolab_users_actions');
- $this->add_service('domains', 'kolab_domains_actions');
+ $this->add_service('form_value', 'kolab_api_service_form_value');
+ $this->add_service('group_types', 'kolab_api_service_group_types');
+ $this->add_service('group', 'kolab_api_service_group');
+ $this->add_service('groups', 'kolab_api_service_groups');
+ $this->add_service('user_types', 'kolab_api_service_user_types');
+ $this->add_service('user', 'kolab_api_service_user');
+ $this->add_service('users', 'kolab_api_service_users');
+ $this->add_service('domains', 'kolab_api_service_domains');
}
/**