diff --git a/application/classes/Auth/ORM.php b/application/classes/Auth/ORM.php index 02e3ac30..4f44b9b2 100644 --- a/application/classes/Auth/ORM.php +++ b/application/classes/Auth/ORM.php @@ -3,12 +3,11 @@ /** * This class overrides Kohana's Auth * - * @package lnApp/Modifications - * @subpackage Auth - * @category Overrides + * @package OSB + * @category Modifications * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Auth_ORM extends Kohana_Auth_ORM { // Override Kohana Auth requirement to have a hash_key diff --git a/application/classes/Auth/OSB.php b/application/classes/Auth/OSB.php index 21596839..9f08bf14 100644 --- a/application/classes/Auth/OSB.php +++ b/application/classes/Auth/OSB.php @@ -4,11 +4,10 @@ * OSB Auth driver. * * @package OSB - * @subpackage Account - * @category Auth + * @category Helpers * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Auth_OSB extends Auth_ORM { /** diff --git a/application/classes/Company.php b/application/classes/Company.php index 09e29100..21a1c338 100644 --- a/application/classes/Company.php +++ b/application/classes/Company.php @@ -4,10 +4,9 @@ * This class is for access company information. * * @package OSB - * @subpackage Company * @category Helpers * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Company { diff --git a/application/classes/Config.php b/application/classes/Config.php index e16eacee..5492eba3 100644 --- a/application/classes/Config.php +++ b/application/classes/Config.php @@ -1,13 +1,13 @@ get_user() AND is_object($ao)) ? HTML::anchor(URL::link('user','account/edit'),$ao->name()) : HTML::anchor('login',_('Login')); @@ -92,10 +92,10 @@ class Config extends Kohana_Config { return HTML::image(static::logo_uri(),array('class'=>'headlogo','alt'=>_('Logo'))); } - public static function logo_uri() { + public static function logo_uri($protocol=NULL) { list ($path,$suffix) = explode('.',static::$logo); - return URL::site(Route::get('default/media')->uri(array('file'=>$path.'.'.$suffix),array('alt'=>static::sitename())),'http'); + return URL::site(Route::get('default/media')->uri(array('file'=>$path.'.'.$suffix),array('alt'=>static::sitename())),$protocol); } /** @@ -136,14 +136,17 @@ class Config extends Kohana_Config { return Company::instance()->site($format); } - public static function sitename() { - return Company::instance()->name(); - } - + /** + * Work out our site mode (dev,test,prod) + */ public static function sitemode() { return Company::instance()->sitemode(); } + public static function sitename() { + return Company::instance()->name(); + } + /** * See if our emails for the template should be sent to configured admin(s) * diff --git a/application/classes/Controller/Account.php b/application/classes/Controller/Account.php index b822a52a..7e27cc6f 100644 --- a/application/classes/Controller/Account.php +++ b/application/classes/Controller/Account.php @@ -3,12 +3,11 @@ /** * This class provides account management * - * @package lnApp - * @subpackage Page/Account + * @package OSB * @category Controllers * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html * @also [logout] */ class Controller_Account extends Controller_TemplateDefault { diff --git a/application/classes/Controller/Admin/Account.php b/application/classes/Controller/Admin/Account.php index ede9798a..2dbb8ef7 100644 --- a/application/classes/Controller/Admin/Account.php +++ b/application/classes/Controller/Admin/Account.php @@ -3,12 +3,11 @@ /** * This class provides Admin Account management * - * @package lnApp - * @subpackage Page/Account - * @category Controllers + * @package OSB + * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Admin_Account extends Controller_TemplateDefault_Admin { protected $secure_actions = array( diff --git a/application/classes/Controller/Admin/Module.php b/application/classes/Controller/Admin/Module.php index de96aa89..b3361648 100644 --- a/application/classes/Controller/Admin/Module.php +++ b/application/classes/Controller/Admin/Module.php @@ -3,12 +3,11 @@ /** * This class provides MODULE management * - * @package lnApp - * @subpackage Page/Module - * @category Controllers + * @package OSB + * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Admin_Module extends Controller_TemplateDefault_Admin { protected $secure_actions = array( diff --git a/application/classes/Controller/Admin/Module/Method.php b/application/classes/Controller/Admin/Module/Method.php index 9bf61ddb..95fcc9d9 100644 --- a/application/classes/Controller/Admin/Module/Method.php +++ b/application/classes/Controller/Admin/Module/Method.php @@ -3,12 +3,11 @@ /** * This class provides MODULE management * - * @package lnApp - * @subpackage Page/Module - * @category Controllers + * @package OSB + * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Admin_Module_Method extends Controller_Admin_Module { /** diff --git a/application/classes/Controller/Admin/Setup.php b/application/classes/Controller/Admin/Setup.php index 07bdb6d4..df7f3017 100644 --- a/application/classes/Controller/Admin/Setup.php +++ b/application/classes/Controller/Admin/Setup.php @@ -3,12 +3,11 @@ /** * This class provides Siet Configuration Setup * - * @package lnApp - * @subpackage Page/Setup - * @category Controllers + * @package OSB + * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Admin_Setup extends Controller_TemplateDefault_Admin { protected $secure_actions = array( diff --git a/application/classes/Controller/Admin/Welcome.php b/application/classes/Controller/Admin/Welcome.php index 9acc0829..b20db8ba 100644 --- a/application/classes/Controller/Admin/Welcome.php +++ b/application/classes/Controller/Admin/Welcome.php @@ -4,11 +4,10 @@ * OSB Admin Main home page * * @package OSB - * @subpackage Page/Home - * @category Controllers + * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Admin_Welcome extends Controller_TemplateDefault_Admin { public $secure_actions = array( diff --git a/application/classes/Controller/Affiliate/Account.php b/application/classes/Controller/Affiliate/Account.php index 6df4d10e..29dd1602 100644 --- a/application/classes/Controller/Affiliate/Account.php +++ b/application/classes/Controller/Affiliate/Account.php @@ -4,10 +4,9 @@ * This class provides Affiliate Account functions * * @package OSB - * @subpackage Account * @category Controllers/Affiliate * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_Affiliate_Account extends Controller_TemplateDefault_Affiliate { diff --git a/application/classes/Controller/Debug.php b/application/classes/Controller/Debug.php index fc976ed7..bf24b47c 100644 --- a/application/classes/Controller/Debug.php +++ b/application/classes/Controller/Debug.php @@ -1,5 +1,13 @@ 'id','value'=>'name'); diff --git a/application/classes/Model/Module.php b/application/classes/Model/Module.php index b999d7a9..4a7a223f 100644 --- a/application/classes/Model/Module.php +++ b/application/classes/Model/Module.php @@ -7,11 +7,10 @@ * OSB initialisation. * * @package OSB - * @subpackage Modules * @category Models * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Model_Module extends ORM_OSB { // Relationships diff --git a/application/classes/Model/Module/Method.php b/application/classes/Model/Module/Method.php index 932a2127..1124aa4e 100644 --- a/application/classes/Model/Module/Method.php +++ b/application/classes/Model/Module/Method.php @@ -4,11 +4,10 @@ * OSB Application Module Method Model * * @package OSB - * @subpackage Modules * @category Models * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Model_Module_Method extends ORM_OSB { // Relationships diff --git a/application/classes/Model/Module/Method/Token.php b/application/classes/Model/Module/Method/Token.php index 749feaa9..dc47f564 100644 --- a/application/classes/Model/Module/Method/Token.php +++ b/application/classes/Model/Module/Method/Token.php @@ -4,11 +4,10 @@ * OSB Application Module Method Token Model * * @package OSB - * @subpackage Modules * @category Models * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Model_Module_Method_Token extends ORM_OSB { // Relationships diff --git a/application/classes/Model/Record/Id.php b/application/classes/Model/Record/Id.php index b502b67e..f2819415 100644 --- a/application/classes/Model/Record/Id.php +++ b/application/classes/Model/Record/Id.php @@ -1,12 +1,12 @@ auto_render) { // Application Title - if ($mo=ORM::factory('Module',array('name'=>Request::current()->controller())) AND $mo->loaded()) + if (class_exists('Model_Module') AND $mo=ORM::factory('Module',array('name'=>Request::current()->controller())) AND $mo->loaded()) $this->meta->title = sprintf('%s: %s',Kohana::$config->load('config')->appname,$mo->display('name')); else $this->meta->title = Kohana::$config->load('config')->appname; + $this->template->title = ''; // Language diff --git a/modules/lnApp/classes/lnApp/Controller/Tree.php b/modules/lnApp/classes/lnApp/Controller/Tree.php index 7da7b56b..85cd554b 100644 --- a/modules/lnApp/classes/lnApp/Controller/Tree.php +++ b/modules/lnApp/classes/lnApp/Controller/Tree.php @@ -4,11 +4,10 @@ * This class extends renders OSB menu tree. * * @package lnApp - * @subpackage Tree - * @category Controllers + * @category lnApp/Controllers * @author Deon George - * @copyright (c) 2010 Open Source Billing - * @license http://dev.osbill.net/license.html + * @copyright (c) 2009-2013 Deon George + * @license http://dev.leenooks.net/license.html */ class lnApp_Controller_Tree extends Controller_Default { /** diff --git a/modules/lnApp/classes/lnApp/HTML.php b/modules/lnApp/classes/lnApp/HTML.php index e69effdf..920eda58 100644 --- a/modules/lnApp/classes/lnApp/HTML.php +++ b/modules/lnApp/classes/lnApp/HTML.php @@ -3,11 +3,10 @@ /** * This class extends Kohana's HTML * - * @package lnApp/Modifications - * @category Classes - * @category Helpers + * @package lnApp + * @category Modifications * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_HTML extends Kohana_HTML { diff --git a/modules/lnApp/classes/lnApp/HTMLRender.php b/modules/lnApp/classes/lnApp/HTMLRender.php index 325c2038..fb3e897d 100644 --- a/modules/lnApp/classes/lnApp/HTMLRender.php +++ b/modules/lnApp/classes/lnApp/HTMLRender.php @@ -5,10 +5,9 @@ * for rendering. * * @package lnApp - * @subpackage Page - * @category Abstract/Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_HTMLRender { diff --git a/modules/lnApp/classes/lnApp/HeadImages.php b/modules/lnApp/classes/lnApp/HeadImages.php index 37595eb4..26c8199d 100644 --- a/modules/lnApp/classes/lnApp/HeadImages.php +++ b/modules/lnApp/classes/lnApp/HeadImages.php @@ -4,10 +4,9 @@ * This class is for all image icons shown on the page header. * * @package lnApp - * @subpackage Page - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_HeadImages extends HTMLRender { diff --git a/modules/lnApp/classes/lnApp/Meta.php b/modules/lnApp/classes/lnApp/Meta.php index fe554b44..36df8563 100644 --- a/modules/lnApp/classes/lnApp/Meta.php +++ b/modules/lnApp/classes/lnApp/Meta.php @@ -4,10 +4,9 @@ * This is class is for all HTML page attributes. * * @package lnApp - * @subpackage Page - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_Meta { diff --git a/modules/lnApp/classes/lnApp/PWgen.php b/modules/lnApp/classes/lnApp/PWgen.php index c6c4862b..d6390b07 100644 --- a/modules/lnApp/classes/lnApp/PWgen.php +++ b/modules/lnApp/classes/lnApp/PWgen.php @@ -4,10 +4,9 @@ * This class is for providing password from a password genarator * * @package lnApp - * @subpackage PWGen - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_PWgen { diff --git a/modules/lnApp/classes/lnApp/Random.php b/modules/lnApp/classes/lnApp/Random.php index 3e0fa1ce..47aa6b2b 100644 --- a/modules/lnApp/classes/lnApp/Random.php +++ b/modules/lnApp/classes/lnApp/Random.php @@ -4,9 +4,9 @@ * This class is for generating Random data. * * @package lnApp - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_Random { diff --git a/modules/lnApp/classes/lnApp/Script.php b/modules/lnApp/classes/lnApp/Script.php index 696774bf..301bba7d 100644 --- a/modules/lnApp/classes/lnApp/Script.php +++ b/modules/lnApp/classes/lnApp/Script.php @@ -4,10 +4,9 @@ * This class is for rendering HTML script tags * * @package lnApp - * @subpackage Page - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_Script extends HTMLRender { diff --git a/modules/lnApp/classes/lnApp/Sort.php b/modules/lnApp/classes/lnApp/Sort.php index 051f0e1f..4edef527 100644 --- a/modules/lnApp/classes/lnApp/Sort.php +++ b/modules/lnApp/classes/lnApp/Sort.php @@ -4,10 +4,9 @@ * This class is used to sort multiple dimension arrays. * * @package lnApp - * @subpackage Sort - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html * @uses Style */ diff --git a/modules/lnApp/classes/lnApp/Style.php b/modules/lnApp/classes/lnApp/Style.php index 48c00744..150e90bd 100644 --- a/modules/lnApp/classes/lnApp/Style.php +++ b/modules/lnApp/classes/lnApp/Style.php @@ -4,10 +4,9 @@ * This class is for rendering HTML style tags * * @package lnApp - * @subpackage Page - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_Style extends HTMLRender { diff --git a/modules/lnApp/classes/lnApp/SystemMessage.php b/modules/lnApp/classes/lnApp/SystemMessage.php index d92fa9b7..5f827c4b 100644 --- a/modules/lnApp/classes/lnApp/SystemMessage.php +++ b/modules/lnApp/classes/lnApp/SystemMessage.php @@ -4,10 +4,9 @@ * This class is for rendering system information messages. * * @package lnApp - * @subpackage SystemMessage - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html */ abstract class lnApp_SystemMessage extends HTMLRender { diff --git a/modules/lnApp/classes/lnApp/Table.php b/modules/lnApp/classes/lnApp/Table.php index ca9017e4..9fd92a7c 100644 --- a/modules/lnApp/classes/lnApp/Table.php +++ b/modules/lnApp/classes/lnApp/Table.php @@ -4,10 +4,9 @@ * This class is for rendering a table of data. * * @package lnApp - * @subpackage Page - * @category Helpers + * @category lnApp/Helpers * @author Deon George - * @copyright (c) 2010 Deon George + * @copyright (c) 2009-2013 Deon George * @license http://dev.leenooks.net/license.html * @uses Style */ diff --git a/modules/payment/classes/Controller/Admin/Payment.php b/modules/payment/classes/Controller/Admin/Payment.php index 9b3650e7..27c77cb6 100644 --- a/modules/payment/classes/Controller/Admin/Payment.php +++ b/modules/payment/classes/Controller/Admin/Payment.php @@ -3,11 +3,10 @@ /** * This class provides payment capabilities. * - * @package OSB - * @subpackage Payment + * @package Payment * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_Admin_Payment extends Controller_TemplateDefault_Admin { diff --git a/modules/payment/classes/Controller/Payment.php b/modules/payment/classes/Controller/Payment.php index e930dca4..ad224729 100644 --- a/modules/payment/classes/Controller/Payment.php +++ b/modules/payment/classes/Controller/Payment.php @@ -3,12 +3,11 @@ /** * This class provides payment management * - * @package lnApp - * @subpackage Page/Payment + * @package Payment * @category Controllers * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Payment extends Controller_TemplateDefault { } diff --git a/modules/payment/classes/Controller/User/Payment.php b/modules/payment/classes/Controller/User/Payment.php index 8be87b10..a1859bbe 100644 --- a/modules/payment/classes/Controller/User/Payment.php +++ b/modules/payment/classes/Controller/User/Payment.php @@ -3,12 +3,11 @@ /** * This class provides User Payment functions * - * @package OSB - * @subpackage Payment + * @package Payment * @category Controllers/User * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_User_Payment extends Controller_TemplateDefault_User { protected $secure_actions = array( diff --git a/modules/payment/classes/Model/Payment.php b/modules/payment/classes/Model/Payment.php index a509e5bb..cebff03c 100644 --- a/modules/payment/classes/Model/Payment.php +++ b/modules/payment/classes/Model/Payment.php @@ -3,11 +3,10 @@ /** * This class supports OSB payments. * - * @package OSB - * @subpackage Payment + * @package Payment * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Payment extends ORM_OSB { diff --git a/modules/payment/classes/Model/Payment/Item.php b/modules/payment/classes/Model/Payment/Item.php index 31071c42..b1255b00 100644 --- a/modules/payment/classes/Model/Payment/Item.php +++ b/modules/payment/classes/Model/Payment/Item.php @@ -3,11 +3,10 @@ /** * This class supports OSB exporting by rending the exportable items. * - * @package OSB - * @subpackage Export + * @package Payment * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Payment_Item extends ORM_OSB { diff --git a/modules/payment/classes/Payment/Bulk/Ezypay.php b/modules/payment/classes/Payment/Bulk/Ezypay.php index 4fe66ffb..c8b1f648 100644 --- a/modules/payment/classes/Payment/Bulk/Ezypay.php +++ b/modules/payment/classes/Payment/Bulk/Ezypay.php @@ -3,11 +3,10 @@ /** * This class is for processing Ezypay payments. * - * @package Payment/Ezypay - * @subpackage System + * @package Payment * @category Helpers * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Payment_Bulk_Ezypay { diff --git a/modules/product/classes/Controller/Admin/Product.php b/modules/product/classes/Controller/Admin/Product.php index af91c378..6cae98eb 100644 --- a/modules/product/classes/Controller/Admin/Product.php +++ b/modules/product/classes/Controller/Admin/Product.php @@ -3,11 +3,10 @@ /** * This class provides Admin Product management * - * @package OSB - * @subpackage Product + * @package Product * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_Admin_Product extends Controller_TemplateDefault_Admin { diff --git a/modules/product/classes/Controller/Product.php b/modules/product/classes/Controller/Product.php index 39eae48e..7bc820c9 100644 --- a/modules/product/classes/Controller/Product.php +++ b/modules/product/classes/Controller/Product.php @@ -3,12 +3,11 @@ /** * This class provides product categories * - * @package OSB - * @subpackage Page + * @package Product * @category Controllers * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Product extends Controller_TemplateDefault { /** diff --git a/modules/product/classes/Controller/Product/Category.php b/modules/product/classes/Controller/Product/Category.php index f73ff308..2c9fa454 100644 --- a/modules/product/classes/Controller/Product/Category.php +++ b/modules/product/classes/Controller/Product/Category.php @@ -3,12 +3,11 @@ /** * This class provides product categories * - * @package OSB - * @subpackage Page + * @package Product * @category Controllers * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Product_Category extends Controller_TemplateDefault { /** diff --git a/modules/product/classes/Model/Product.php b/modules/product/classes/Model/Product.php index 760e82d0..e3124acd 100644 --- a/modules/product/classes/Model/Product.php +++ b/modules/product/classes/Model/Product.php @@ -3,11 +3,10 @@ /** * This class supports OSB listing products * - * @package OSB - * @subpackage Product + * @package Product * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html * * Column Definitions: diff --git a/modules/product/classes/Model/Product/Category.php b/modules/product/classes/Model/Product/Category.php index 83d6f1c7..80e1dc5d 100644 --- a/modules/product/classes/Model/Product/Category.php +++ b/modules/product/classes/Model/Product/Category.php @@ -3,11 +3,10 @@ /** * This class supports OSB listing products by category. * - * @package OSB - * @subpackage Product + * @package Product * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Product_Category extends ORM_OSB { diff --git a/modules/product/classes/Model/Product/Category/Translate.php b/modules/product/classes/Model/Product/Category/Translate.php index e33eca8c..acbd414f 100644 --- a/modules/product/classes/Model/Product/Category/Translate.php +++ b/modules/product/classes/Model/Product/Category/Translate.php @@ -3,11 +3,10 @@ /** * This class product access to product category translation. * - * @package OSB - * @subpackage Product + * @package Product * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Product_Category_Translate extends ORM_OSB { diff --git a/modules/product/classes/Model/Product/Plugin.php b/modules/product/classes/Model/Product/Plugin.php index 0edd7a6e..9934d828 100644 --- a/modules/product/classes/Model/Product/Plugin.php +++ b/modules/product/classes/Model/Product/Plugin.php @@ -3,11 +3,10 @@ /** * This class supports Product Plugins. * - * @package OSB - * @subpackage Product/Plugin + * @package Product * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ abstract class Model_Product_Plugin extends ORM_OSB { diff --git a/modules/product/classes/Model/Product/Translate.php b/modules/product/classes/Model/Product/Translate.php index 1c7344b3..01ccbb22 100644 --- a/modules/product/classes/Model/Product/Translate.php +++ b/modules/product/classes/Model/Product/Translate.php @@ -3,11 +3,10 @@ /** * This class product access to product translation. * - * @package OSB - * @subpackage Product + * @package Product * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Product_Translate extends ORM_OSB { diff --git a/modules/service/classes/Controller/Admin/Service.php b/modules/service/classes/Controller/Admin/Service.php index 13f2c536..baac3842 100644 --- a/modules/service/classes/Controller/Admin/Service.php +++ b/modules/service/classes/Controller/Admin/Service.php @@ -3,11 +3,10 @@ /** * This class provides Admin Service functions * - * @package OSB - * @subpackage Service + * @package Service * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_Admin_Service extends Controller_TemplateDefault_Admin { diff --git a/modules/service/classes/Controller/Affiliate/Service.php b/modules/service/classes/Controller/Affiliate/Service.php index 322f5b5b..a21d902d 100644 --- a/modules/service/classes/Controller/Affiliate/Service.php +++ b/modules/service/classes/Controller/Affiliate/Service.php @@ -3,11 +3,10 @@ /** * This class provides Affiliate Service functions * - * @package OSB - * @subpackage Service + * @package Service * @category Controllers/Affiliate * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_Affiliate_Service extends Controller_TemplateDefault_Affiliate { diff --git a/modules/service/classes/Controller/Service.php b/modules/service/classes/Controller/Service.php index 9b44367d..c9f36962 100644 --- a/modules/service/classes/Controller/Service.php +++ b/modules/service/classes/Controller/Service.php @@ -3,12 +3,11 @@ /** * This class provides service management * - * @package lnApp - * @subpackage Page/Service + * @package Service * @category Controllers * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Service extends Controller_TemplateDefault { } diff --git a/modules/service/classes/Controller/Task/Service.php b/modules/service/classes/Controller/Task/Service.php index 7e4dba8d..5e0922b6 100644 --- a/modules/service/classes/Controller/Task/Service.php +++ b/modules/service/classes/Controller/Task/Service.php @@ -3,11 +3,10 @@ /** * This class provides OSB service task capabilities. * - * @package OSB - * @subpackage Service + * @package Service * @category Controllers/Task * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_Task_Service extends Controller_Task { diff --git a/modules/service/classes/Controller/User/Service.php b/modules/service/classes/Controller/User/Service.php index 82915c6e..34b23b96 100644 --- a/modules/service/classes/Controller/User/Service.php +++ b/modules/service/classes/Controller/User/Service.php @@ -3,11 +3,10 @@ /** * This class provides User Service functions * - * @package OSB - * @subpackage Service + * @package Service * @category Controllers/User * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_User_Service extends Controller_TemplateDefault_User { diff --git a/modules/service/classes/Model/Service.php b/modules/service/classes/Model/Service.php index 51e84571..62287a32 100644 --- a/modules/service/classes/Model/Service.php +++ b/modules/service/classes/Model/Service.php @@ -3,11 +3,10 @@ /** * This class supports Services * - * @package OSB - * @subpackage Service + * @package Service * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html * * Fields: diff --git a/modules/service/classes/Model/Service/Billing.php b/modules/service/classes/Model/Service/Billing.php index d5f2c513..a80bc78d 100644 --- a/modules/service/classes/Model/Service/Billing.php +++ b/modules/service/classes/Model/Service/Billing.php @@ -3,11 +3,10 @@ /** * This class supports Service Billing. * - * @package OSB - * @subpackage Product/Service + * @package Service * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Service_Billing extends ORM_OSB { diff --git a/modules/service/classes/Model/Service/Change.php b/modules/service/classes/Model/Service/Change.php index 455c14e4..400b9ca0 100644 --- a/modules/service/classes/Model/Service/Change.php +++ b/modules/service/classes/Model/Service/Change.php @@ -3,11 +3,10 @@ /** * This class supports Service Product Changes. * - * @package OSB - * @subpackage Product/Service + * @package Service * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Service_Change extends ORM_OSB { diff --git a/modules/service/classes/Model/Service/Plugin.php b/modules/service/classes/Model/Service/Plugin.php index 113d5755..dccbbd65 100644 --- a/modules/service/classes/Model/Service/Plugin.php +++ b/modules/service/classes/Model/Service/Plugin.php @@ -3,11 +3,10 @@ /** * This class supports Service Plugins. * - * @package OSB - * @subpackage Product/Service + * @package Service * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ abstract class Model_Service_Plugin extends ORM_OSB { diff --git a/modules/ssl/classes/Controller/Admin/Ssl.php b/modules/ssl/classes/Controller/Admin/Ssl.php index 3490137c..30cacaf4 100644 --- a/modules/ssl/classes/Controller/Admin/Ssl.php +++ b/modules/ssl/classes/Controller/Admin/Ssl.php @@ -3,11 +3,10 @@ /** * This class provides Admin SSL functions * - * @package OSB - * @subpackage SSL + * @package SSL * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_Admin_SSL extends Controller_TemplateDefault_Admin { diff --git a/modules/ssl/classes/Controller/User/Ssl.php b/modules/ssl/classes/Controller/User/Ssl.php index 57367766..b926e203 100644 --- a/modules/ssl/classes/Controller/User/Ssl.php +++ b/modules/ssl/classes/Controller/User/Ssl.php @@ -3,11 +3,10 @@ /** * This class provides User SSL functions * - * @package OSB - * @subpackage SSL - * @category Controllers/Admin + * @package SSL + * @category Controllers/User * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Controller_User_SSL extends Controller_TemplateDefault_User { diff --git a/modules/ssl/classes/Model/Product/Plugin/SSL.php b/modules/ssl/classes/Model/Product/Plugin/Ssl.php similarity index 77% rename from modules/ssl/classes/Model/Product/Plugin/SSL.php rename to modules/ssl/classes/Model/Product/Plugin/Ssl.php index c0581066..7388bf1b 100644 --- a/modules/ssl/classes/Model/Product/Plugin/SSL.php +++ b/modules/ssl/classes/Model/Product/Plugin/Ssl.php @@ -3,14 +3,13 @@ /** * This class supports SSL products * - * @package OSB - * @subpackage Product/SSL + * @package SSL * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ -class Model_Product_Plugin_SSL extends Model_Product_Plugin { +class Model_Product_Plugin_Ssl extends Model_Product_Plugin { protected $_table_name = 'ssl'; // Our required abstract methods diff --git a/modules/ssl/classes/Model/SSL.php b/modules/ssl/classes/Model/SSL.php index a6bef12e..42b0d1a5 100644 --- a/modules/ssl/classes/Model/SSL.php +++ b/modules/ssl/classes/Model/SSL.php @@ -3,11 +3,10 @@ /** * This class supports SSL * - * @package OSB - * @subpackage SSL + * @package SSL * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_SSL extends ORM_OSB { diff --git a/modules/ssl/classes/Model/SSL/CA.php b/modules/ssl/classes/Model/SSL/CA.php index 80e012b9..65e73821 100644 --- a/modules/ssl/classes/Model/SSL/CA.php +++ b/modules/ssl/classes/Model/SSL/CA.php @@ -3,11 +3,10 @@ /** * This class supports SSL * - * @package OSB - * @subpackage SSL + * @package SSL * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_SSL_CA extends ORM_OSB { diff --git a/modules/ssl/classes/Model/Service/Plugin/Ssl.php b/modules/ssl/classes/Model/Service/Plugin/Ssl.php index 7a1575bf..d74a0d0c 100644 --- a/modules/ssl/classes/Model/Service/Plugin/Ssl.php +++ b/modules/ssl/classes/Model/Service/Plugin/Ssl.php @@ -3,11 +3,10 @@ /** * This class supports Services * - * @package OSB - * @subpackage SSL + * @package SSL * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Service_Plugin_Ssl extends Model_Service_Plugin { diff --git a/modules/ssl/classes/SSL.php b/modules/ssl/classes/SSL.php index 6c580b0b..62860c95 100644 --- a/modules/ssl/classes/SSL.php +++ b/modules/ssl/classes/SSL.php @@ -3,11 +3,10 @@ /** * This class is for access to SSL information * - * @package OSB - * @subpackage SSL + * @package SSL * @category Helpers * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class SSL { diff --git a/modules/ssl/classes/Task/SSL/Renew.php b/modules/ssl/classes/Task/SSL/Renew.php index fadd45e5..a4ea122a 100644 --- a/modules/ssl/classes/Task/SSL/Renew.php +++ b/modules/ssl/classes/Task/SSL/Renew.php @@ -3,11 +3,10 @@ /** * Renew an SSL Certificate * - * @package OSB - * @subpackage SSL - * @category SSL/Task + * @package SSL + * @category Tasks * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Task_SSL_Renew extends Task { diff --git a/modules/ssl/messages/models/ssl_ca.php b/modules/ssl/messages/models/ssl_ca.php index a5cdd659..5a325003 100644 --- a/modules/ssl/messages/models/ssl_ca.php +++ b/modules/ssl/messages/models/ssl_ca.php @@ -1,4 +1,16 @@ -array( 'isCert'=>'This is not a valid certificate', diff --git a/modules/statement/classes/Controller/Admin/Statement.php b/modules/statement/classes/Controller/Admin/Statement.php index d703c786..ae344b8e 100644 --- a/modules/statement/classes/Controller/Admin/Statement.php +++ b/modules/statement/classes/Controller/Admin/Statement.php @@ -3,12 +3,11 @@ /** * This class provides User Statement functions * - * @package OSB - * @subpackage Statement + * @package Statement * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Admin_Statement extends Controller_TemplateDefault_Admin { protected $secure_actions = array( diff --git a/modules/statement/classes/Controller/Statement.php b/modules/statement/classes/Controller/Statement.php index eba89708..fa6340fe 100644 --- a/modules/statement/classes/Controller/Statement.php +++ b/modules/statement/classes/Controller/Statement.php @@ -3,12 +3,11 @@ /** * This class provides Statement management * - * @package lnApp - * @subpackage Page/Statement + * @package Statement * @category Controllers * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Statement extends Controller_TemplateDefault { } diff --git a/modules/statement/classes/Controller/User/Statement.php b/modules/statement/classes/Controller/User/Statement.php index 4b3a1ff1..e48174cc 100644 --- a/modules/statement/classes/Controller/User/Statement.php +++ b/modules/statement/classes/Controller/User/Statement.php @@ -3,12 +3,11 @@ /** * This class provides User Statement functions * - * @package OSB - * @subpackage Statement + * @package Statement * @category Controllers/User * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_User_Statement extends Controller_TemplateDefault_User { protected $secure_actions = array( diff --git a/modules/task/classes/Controller/Admin/Task.php b/modules/task/classes/Controller/Admin/Task.php index 8d260932..f5283a79 100644 --- a/modules/task/classes/Controller/Admin/Task.php +++ b/modules/task/classes/Controller/Admin/Task.php @@ -3,12 +3,11 @@ /** * This class provides Admin TASK management * - * @package lnApp - * @subpackage Page/Task - * @category Controllers + * @package Task + * @category Controllers/Admin * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Controller_Admin_Task extends Controller_TemplateDefault_Admin { protected $secure_actions = array( diff --git a/modules/task/classes/Model/Task.php b/modules/task/classes/Model/Task.php index 611176a1..32ef1c69 100644 --- a/modules/task/classes/Model/Task.php +++ b/modules/task/classes/Model/Task.php @@ -3,11 +3,10 @@ /** * This class supports Tasks * - * @package OSB - * @subpackage Task + * @package Task * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Task extends ORM_OSB { diff --git a/modules/task/classes/Model/Task/Log.php b/modules/task/classes/Model/Task/Log.php index 427bf562..1ab89bb6 100644 --- a/modules/task/classes/Model/Task/Log.php +++ b/modules/task/classes/Model/Task/Log.php @@ -3,11 +3,10 @@ /** * This class supports Task Logging * - * @package OSB - * @subpackage Task + * @package Task * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Task_Log extends ORM_OSB { diff --git a/modules/task/classes/Task/Task/Listactive.php b/modules/task/classes/Task/Task/Listactive.php index 22d54a2b..e03bb4ce 100644 --- a/modules/task/classes/Task/Task/Listactive.php +++ b/modules/task/classes/Task/Task/Listactive.php @@ -3,11 +3,10 @@ /** * List all Active Tasks defined in the DB * - * @package OSB - * @subpackage Task - * @category Task/Task + * @package Task + * @category Tasks * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Task_Task_Listactive extends Task { diff --git a/modules/task/classes/Task/Task/Run.php b/modules/task/classes/Task/Task/Run.php index f4f05fcc..f738cb65 100644 --- a/modules/task/classes/Task/Task/Run.php +++ b/modules/task/classes/Task/Task/Run.php @@ -3,11 +3,10 @@ /** * Run active tasks according to their CRON schedule * - * @package OSB - * @subpackage Task - * @category Task/Task + * @package Task + * @category Tasks * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Task_Task_Run extends Task { diff --git a/modules/tax/classes/Model/Invoice/Item/Tax.php b/modules/tax/classes/Model/Invoice/Item/Tax.php index 4439e90b..b8de5243 100644 --- a/modules/tax/classes/Model/Invoice/Item/Tax.php +++ b/modules/tax/classes/Model/Invoice/Item/Tax.php @@ -3,11 +3,10 @@ /** * This class supports tax calculations * - * @package OSB - * @subpackage Tax + * @package Tax * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Invoice_Item_Tax extends ORM_OSB { diff --git a/modules/tax/classes/Model/Tax.php b/modules/tax/classes/Model/Tax.php index 0ea3e575..19adab47 100644 --- a/modules/tax/classes/Model/Tax.php +++ b/modules/tax/classes/Model/Tax.php @@ -3,11 +3,10 @@ /** * This class supports tax calculations * - * @package OSB - * @subpackage Tax + * @package Tax * @category Models * @author Deon George - * @copyright (c) 2010 Open Source Billing + * @copyright (c) 2009-2013 Open Source Billing * @license http://dev.osbill.net/license.html */ class Model_Tax extends ORM_OSB { diff --git a/modules/tax/classes/Tax.php b/modules/tax/classes/Tax.php index e82c183f..cd7bc46f 100644 --- a/modules/tax/classes/Tax.php +++ b/modules/tax/classes/Tax.php @@ -3,12 +3,11 @@ /** * This class provides a tax information * - * @package OSB - * @subpackage Tax + * @package Tax * @category Helpers * @author Deon George - * @copyright (c) 2010 Deon George - * @license http://dev.leenooks.net/license.html + * @copyright (c) 2009-2013 Open Source Billing + * @license http://dev.osbill.net/license.html */ class Tax { /**