Split Api into Api and Application files
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 6 Aug 2009 04:21:27 +0000 (22:21 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 11 Aug 2009 18:44:53 +0000 (12:44 -0600)
36 files changed:
ansel/lib/Api.php
ansel/lib/Application.php [new file with mode: 0644]
babel/lib/Application.php [new file with mode: 0644]
chora/lib/Api.php
chora/lib/Application.php [new file with mode: 0644]
crumb/lib/Api.php
crumb/lib/Application.php [new file with mode: 0644]
fima/lib/Api.php
fima/lib/Application.php [new file with mode: 0644]
folks/lib/Api.php
folks/lib/Application.php [new file with mode: 0644]
gollem/lib/Api.php
gollem/lib/Application.php [new file with mode: 0644]
imp/lib/Api.php
imp/lib/Application.php [new file with mode: 0644]
ingo/lib/Api.php
ingo/lib/Application.php [new file with mode: 0644]
jeta/lib/Api.php
jeta/lib/Application.php [new file with mode: 0644]
kastalia/lib/Api.php
kastalia/lib/Application.php [new file with mode: 0644]
kastalia/lib/Kastalia.php [changed mode: 0755->0644]
kastalia/lib/base.php [changed mode: 0755->0644]
kronolith/lib/Api.php
kronolith/lib/Application.php [new file with mode: 0644]
nag/lib/Api.php
nag/lib/Application.php [new file with mode: 0644]
news/lib/Api.php
news/lib/Application.php [new file with mode: 0644]
skeleton/lib/Api.php
skeleton/lib/Application.php [new file with mode: 0644]
skoli/lib/Api.php
skoli/lib/Application.php [new file with mode: 0644]
timeobjects/lib/Application.php [new file with mode: 0644]
turba/lib/Api.php
turba/lib/Application.php [new file with mode: 0644]

index 9d560b4..4715ca0 100644 (file)
@@ -14,8 +14,6 @@
  */
 class Ansel_Api extends Horde_Registry_Api
 {
-    public $version = 'H4 (2.0-git)';
-
     /**
      * Returns a list of available permissions.
      *
diff --git a/ansel/lib/Application.php b/ansel/lib/Application.php
new file mode 100644 (file)
index 0000000..e99e070
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+/**
+ * Ansel application API.
+ *
+ * Copyright 2004-2009 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author  Jan Schneider <jan@horde.org>
+ * @author  Chuck Hagenbuch <chuck@horde.org>
+ * @author  Michael J. Rubinsky <mrubinsk@horde.org>
+ * @package Ansel
+ */
+class Ansel_Application extends Horde_Registry_Application
+{
+    public $version = 'H4 (2.0-git)';
+}
diff --git a/babel/lib/Application.php b/babel/lib/Application.php
new file mode 100644 (file)
index 0000000..c288dc9
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Babel application API.
+ *
+ * Copyright 2009 The Horde Project (http://www.horde.org/)
+ *
+ * @author  Joel Vandal <joel@scopserv.com>
+ * @package Babel
+ */
+class Babel_Application extends Horde_Registry_Application
+{
+    public $version = 'H4 (0.1-git)';
+}
index 729ee11..b8662d6 100644 (file)
@@ -9,13 +9,6 @@
  */
 class Chora_Api extends Horde_Registry_Api
 {
-    /**
-     * The application's version.
-     *
-     * @var string
-     */
-    public $version = 'H4 (3.0-git)';
-
     public function perms()
     {
         static $perms = array();
diff --git a/chora/lib/Application.php b/chora/lib/Application.php
new file mode 100644 (file)
index 0000000..c8ea976
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+/**
+ * Chora application API.
+ *
+ * This file defines Chora's external API interface. Other applications can
+ * interact with Chora through this API.
+ *
+ * @package Chora
+ */
+class Chora_Application extends Horde_Registry_Application
+{
+    /**
+     * The application's version.
+     *
+     * @var string
+     */
+    public $version = 'H4 (3.0-git)';
+}
index c6d3319..0a95673 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 class Crumb_Api extends Horde_Registry_Api
 {
-    public $version = 'H4 (0.1-git)';
-
     /**
      * Generate the menu to use on the prefs page.
      *
diff --git a/crumb/lib/Application.php b/crumb/lib/Application.php
new file mode 100644 (file)
index 0000000..5399734
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+class Crumb_Application extends Horde_Registry_Application
+{
+    public $version = 'H4 (0.1-git)';
+}
index d06de8f..b1d758e 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 class Fima_Api extends Horde_Regsitry_Api
 {
-    public $version = '1.0.1';
-
     /**
      * TODO
      */
diff --git a/fima/lib/Application.php b/fima/lib/Application.php
new file mode 100644 (file)
index 0000000..b50e46e
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+class Fima_Application extends Horde_Regsitry_Application
+{
+    public $version = '1.0.1';
+}
index 279ff3b..83a7d39 100644 (file)
@@ -14,8 +14,6 @@
  */
 class Folks_Api extends Horde_Registry_Api
 {
-    public $version = 'H4 (0.1-git)';
-
     /**
      * Links.
      *
diff --git a/folks/lib/Application.php b/folks/lib/Application.php
new file mode 100644 (file)
index 0000000..f65e949
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Folks application API.
+ *
+ * See the enclosed file LICENSE for license information (BSD). If you
+ * did not receive this file, see http://cvs.horde.org/co.php/folks/LICENSE.
+ *
+ * @package Folks
+ */
+class Folks_Application extends Horde_Registry_Application
+{
+    public $version = 'H4 (0.1-git)';
+}
index e00d37c..0e8eb95 100644 (file)
 class Gollem_Api extends Horde_Registry_Api
 {
     /**
-     * The application's version.
-     *
-     * @var string
-     */
-    public $version = 'H4 (5.0-git)';
-
-    /**
      * TODO
      */
     public function perms()
diff --git a/gollem/lib/Application.php b/gollem/lib/Application.php
new file mode 100644 (file)
index 0000000..95211c2
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Gollem application API.
+ *
+ * This file defines Gollem's external API interface. Other
+ * applications can interact with Gollem through this API.
+ *
+ * @author  Amith Varghese (amith@xalan.com)
+ * @author  Michael Slusarz (slusarz@curecanti.org)
+ * @author  Ben Klang (bklang@alkaloid.net)
+ * @package Gollem
+ */
+class Gollem_Application extends Horde_Registry_Application
+{
+    /**
+     * The application's version.
+     *
+     * @var string
+     */
+    public $version = 'H4 (2.0-git)';
+}
index 7e4d4a7..3453c0a 100644 (file)
 class IMP_Api extends Horde_Registry_Api
 {
     /**
-     * Does this application support a mobile view?
-     *
-     * @var boolean
-     */
-    public $mobileView = true;
-
-    /**
-     * The application's version.
-     *
-     * @var string
-     */
-    public $version = 'H4 (5.0-git)';
-
-    /**
      * The listing of API calls that do not require permissions checking.
      *
      * @var array
diff --git a/imp/lib/Application.php b/imp/lib/Application.php
new file mode 100644 (file)
index 0000000..5548550
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/**
+ * IMP application API.
+ *
+ * This file defines IMP's external API interface. Other applications
+ * can interact with IMP through this API.
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @package IMP
+ */
+class IMP_Application extends Horde_Registry_Application
+{
+    /**
+     * Does this application support a mobile view?
+     *
+     * @var boolean
+     */
+    public $mobileView = true;
+
+    /**
+     * The application's version.
+     *
+     * @var string
+     */
+    public $version = 'H4 (5.0-git)';
+}
index 4516794..20172ad 100644 (file)
 class Ingo_Api extends Horde_Registry_Api
 {
     /**
-     * The application's version.
-     *
-     * @var string
-     */
-    public $version = 'H4 (2.0-git)';
-
-    /**
      * Links.
      *
      * @var array
diff --git a/ingo/lib/Application.php b/ingo/lib/Application.php
new file mode 100644 (file)
index 0000000..659209f
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Ingo application API.
+ *
+ * See the enclosed file LICENSE for license information (ASL).  If you
+ * did not receive this file, see http://www.horde.org/licenses/asl.php.
+ */
+class Ingo_Application extends Horde_Registry_Application
+{
+    /**
+     * The application's version.
+     *
+     * @var string
+     */
+    public $version = 'H4 (2.0-git)';
+}
index a2bd7b6..066ffa6 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 class Jeta_Api extends Horde_Registry_Api
 {
-    public $version = 'H4 (2.0-git)';
-
     /**
      * Generate the menu to use on the prefs page.
      *
diff --git a/jeta/lib/Application.php b/jeta/lib/Application.php
new file mode 100644 (file)
index 0000000..b514b5a
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+class Jeta_Application extends Horde_Registry_Application
+{
+    public $version = 'H4 (2.0-git)';
+}
index b8807e5..f576d67 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 class Kastalia_Api extends Horde_Registry_Api
 {
-    public $version = '1.0.1';
-
     /**
      * Generate the menu to use on the prefs page.
      *
diff --git a/kastalia/lib/Application.php b/kastalia/lib/Application.php
new file mode 100644 (file)
index 0000000..d602fc2
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+class Kastalia_Application extends Horde_Registry_Application
+{
+    public $version = '1.0.1';
+}
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 90a82b8..9496033 100644 (file)
@@ -9,8 +9,6 @@
  */
 class Kronolith_Api extends Horde_Registry_Api
 {
-    public $version = 'H3 (3.0-git)';
-
     /**
      * Links.
      *
diff --git a/kronolith/lib/Application.php b/kronolith/lib/Application.php
new file mode 100644 (file)
index 0000000..d68693c
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Kronolith application API.
+ *
+ * @package Kronolith
+ */
+class Kronolith_Application extends Horde_Registry_Application
+{
+    public $version = 'H3 (3.0-git)';
+}
index dd9f043..bb6afd5 100644 (file)
 class Nag_Api extends Horde_Registry_Api
 {
     /**
-     * The application's version.
-     *
-     * @var string
-     */
-    public $version = 'H4 (3.0-git)';
-
-    /**
      * Links.
      *
      * @var array
diff --git a/nag/lib/Application.php b/nag/lib/Application.php
new file mode 100644 (file)
index 0000000..a77904b
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Nag application API.
+ *
+ * @package Nag
+ */
+class Nag_Application extends Horde_Registry_Application
+{
+    /**
+     * The application's version.
+     *
+     * @var string
+     */
+    public $version = 'H4 (3.0-git)';
+
+}
index 49d5243..514a8cc 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * News API.
+ * News external API.
  *
  * Copyright 2009 The Horde Project (http://www.horde.org/)
  *
@@ -12,8 +12,6 @@
  */
 class News_Api extends Horde_Registry_Api
 {
-    public $version = 'H4 (0.1-git)';
-
     /**
      * Categories/Permissions
      */
diff --git a/news/lib/Application.php b/news/lib/Application.php
new file mode 100644 (file)
index 0000000..400bcff
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+/**
+ * News application API.
+ *
+ * Copyright 2009 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author Duck <duck@obala.net>
+ * @package News
+ */
+class News_Application extends Horde_Registry_Application
+{
+    public $version = 'H4 (0.1-git)';
+}
index acb0842..b799261 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 class Skeleton_Api extends Horde_Registry_Api
 {
-    public $version = 'H4 (0.1-git)';
-
     /**
      * Generate the menu to use on the prefs page.
      *
diff --git a/skeleton/lib/Application.php b/skeleton/lib/Application.php
new file mode 100644 (file)
index 0000000..8477a2f
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+class Skeleton_Api extends Horde_Registry_Api
+{
+    public $version = 'H4 (0.1-git)';
+}
index 0f50098..2378134 100644 (file)
@@ -1,8 +1,6 @@
 <?php
 class Skoli_Api extends Horde_Registry_Api
 {
-    public $version = 'H4 (0.1-git)';
-
     /**
      * Generate the menu to use on the prefs page.
      *
diff --git a/skoli/lib/Application.php b/skoli/lib/Application.php
new file mode 100644 (file)
index 0000000..463357f
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+class Skoli_Application extends Horde_Registry_Application
+{
+    public $version = 'H4 (0.1-git)';
+}
diff --git a/timeobjects/lib/Application.php b/timeobjects/lib/Application.php
new file mode 100644 (file)
index 0000000..5a2134f
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+class Timeobjects_Application extends Horde_Registry_Application
+{
+    public $version = 'H4 (0.1-git)';
+}
index 1419a5a..0f66e9a 100644 (file)
 class Turba_Api extends Horde_Registry_Api
 {
     /**
-     * The application's version.
-     *
-     * @var string
-     */
-    public $version = 'H3 (3.0-git)';
-
-    /**
      * Links.
      *
      * @var array
diff --git a/turba/lib/Application.php b/turba/lib/Application.php
new file mode 100644 (file)
index 0000000..799240d
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Turba application API.
+ *
+ * @package Turba
+ */
+class Turba_Application extends Horde_Registry_Application
+{
+    /**
+     * The application's version.
+     *
+     * @var string
+     */
+    public $version = 'H3 (3.0-git)';
+
+}