Consistent phpdoc entries
This commit is contained in:
parent
2cdd130d1a
commit
f2816dd902
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's Auth
|
* This class overrides Kohana's Auth
|
||||||
*
|
*
|
||||||
* @package lnApp/Modifications
|
* @package OSB
|
||||||
* @subpackage Auth
|
* @category Modifications
|
||||||
* @category Overrides
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Auth_ORM extends Kohana_Auth_ORM {
|
class Auth_ORM extends Kohana_Auth_ORM {
|
||||||
// Override Kohana Auth requirement to have a hash_key
|
// Override Kohana Auth requirement to have a hash_key
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Auth driver.
|
* OSB Auth driver.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Account
|
* @category Helpers
|
||||||
* @category Auth
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Auth_OSB extends Auth_ORM {
|
class Auth_OSB extends Auth_ORM {
|
||||||
/**
|
/**
|
||||||
|
@ -4,10 +4,9 @@
|
|||||||
* This class is for access company information.
|
* This class is for access company information.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Company
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Company {
|
class Company {
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is for access system configuration.
|
* This class extends the core Kohana class by adding some core application
|
||||||
|
* specific functions, and configuration.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Config
|
* @category Modifications
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Config extends Kohana_Config {
|
class Config extends Kohana_Config {
|
||||||
@ -82,7 +82,7 @@ class Config extends Kohana_Config {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The URI to show for the login prompt.
|
* The URI to show for the login prompt.
|
||||||
* Normally if the user is logged in, we can replace it with a user edit call, instead of login
|
* Normally if the user is logged in, we can replace it with something else
|
||||||
*/
|
*/
|
||||||
public static function login_uri() {
|
public static function login_uri() {
|
||||||
return ($ao = Auth::instance()->get_user() AND is_object($ao)) ? HTML::anchor(URL::link('user','account/edit'),$ao->name()) : HTML::anchor('login',_('Login'));
|
return ($ao = Auth::instance()->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')));
|
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);
|
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);
|
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() {
|
public static function sitemode() {
|
||||||
return Company::instance()->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)
|
* See if our emails for the template should be sent to configured admin(s)
|
||||||
*
|
*
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides account management
|
* This class provides account management
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/Account
|
|
||||||
* @category Controllers
|
* @category Controllers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
* @also [logout]
|
* @also [logout]
|
||||||
*/
|
*/
|
||||||
class Controller_Account extends Controller_TemplateDefault {
|
class Controller_Account extends Controller_TemplateDefault {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides Admin Account management
|
* This class provides Admin Account management
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/Account
|
* @category Controllers/Admin
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Admin_Account extends Controller_TemplateDefault_Admin {
|
class Controller_Admin_Account extends Controller_TemplateDefault_Admin {
|
||||||
protected $secure_actions = array(
|
protected $secure_actions = array(
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides MODULE management
|
* This class provides MODULE management
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/Module
|
* @category Controllers/Admin
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Admin_Module extends Controller_TemplateDefault_Admin {
|
class Controller_Admin_Module extends Controller_TemplateDefault_Admin {
|
||||||
protected $secure_actions = array(
|
protected $secure_actions = array(
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides MODULE management
|
* This class provides MODULE management
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/Module
|
* @category Controllers/Admin
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Admin_Module_Method extends Controller_Admin_Module {
|
class Controller_Admin_Module_Method extends Controller_Admin_Module {
|
||||||
/**
|
/**
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides Siet Configuration Setup
|
* This class provides Siet Configuration Setup
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/Setup
|
* @category Controllers/Admin
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Admin_Setup extends Controller_TemplateDefault_Admin {
|
class Controller_Admin_Setup extends Controller_TemplateDefault_Admin {
|
||||||
protected $secure_actions = array(
|
protected $secure_actions = array(
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Admin Main home page
|
* OSB Admin Main home page
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Page/Home
|
* @category Controllers/Admin
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Admin_Welcome extends Controller_TemplateDefault_Admin {
|
class Controller_Admin_Welcome extends Controller_TemplateDefault_Admin {
|
||||||
public $secure_actions = array(
|
public $secure_actions = array(
|
||||||
|
@ -4,10 +4,9 @@
|
|||||||
* This class provides Affiliate Account functions
|
* This class provides Affiliate Account functions
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Account
|
|
||||||
* @category Controllers/Affiliate
|
* @category Controllers/Affiliate
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Affiliate_Account extends Controller_TemplateDefault_Affiliate {
|
class Controller_Affiliate_Account extends Controller_TemplateDefault_Affiliate {
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @package OSB
|
||||||
|
* @category Controllers
|
||||||
|
* @author Deon George
|
||||||
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
|
* @license http://dev.osbill.net/license.html
|
||||||
|
*/
|
||||||
class Controller_Debug extends Controller_TemplateDefault {
|
class Controller_Debug extends Controller_TemplateDefault {
|
||||||
public function before() {
|
public function before() {
|
||||||
if (! in_array(Config::sitemode(),array(Kohana::DEVELOPMENT,Kohana::TESTING)))
|
if (! in_array(Config::sitemode(),array(Kohana::DEVELOPMENT,Kohana::TESTING)))
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class provides login capability
|
* This class provides login capability
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Page/Login
|
|
||||||
* @category Controllers
|
* @category Controllers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
* @also [logout]
|
* @also [logout]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Controller_Login extends lnApp_Controller_Login {
|
class Controller_Login extends lnApp_Controller_Login {
|
||||||
/**
|
/**
|
||||||
* Enable site registration
|
* Enable site registration
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides MODULE management
|
* This class provides MODULE management
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/Module
|
|
||||||
* @category Controllers
|
* @category Controllers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Module extends Controller_TemplateDefault {
|
class Controller_Module extends Controller_TemplateDefault {
|
||||||
}
|
}
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This class provides the default template controller for rendering pages.
|
* This class provides the default template controller for rendering pages.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Page/Template
|
|
||||||
* @category Controllers
|
* @category Controllers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_TemplateDefault extends lnApp_Controller_TemplateDefault {
|
class Controller_TemplateDefault extends lnApp_Controller_TemplateDefault {
|
||||||
public function __construct(Request $request, Response $response) {
|
public function __construct(Request $request, Response $response) {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* lnApp User Main home page controller
|
* lnApp User Main home page controller
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/Admin
|
* @category Controllers/Admin
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_TemplateDefault_Admin extends Controller_TemplateDefault_User {
|
class Controller_TemplateDefault_Admin extends Controller_TemplateDefault_User {
|
||||||
protected function setup(array $config_items=array()) {
|
protected function setup(array $config_items=array()) {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB User Main home page controller
|
* OSB User Main home page controller
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Page/Affiliate
|
* @category Controllers/Affiliate
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_TemplateDefault_Affiliate extends Controller_TemplateDefault_User {
|
class Controller_TemplateDefault_Affiliate extends Controller_TemplateDefault_User {
|
||||||
/**
|
/**
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* lnApp User Main home page controller
|
* lnApp User Main home page controller
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/User
|
* @category Controllers/User
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_TemplateDefault_User extends Controller_TemplateDefault {
|
class Controller_TemplateDefault_User extends Controller_TemplateDefault {
|
||||||
protected $auth_required = TRUE;
|
protected $auth_required = TRUE;
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class extends renders OSB menu tree.
|
* This class extends renders OSB menu tree.
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Tree
|
|
||||||
* @category Controllers
|
* @category Controllers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Tree extends lnApp_Controller_Tree {
|
class Controller_Tree extends lnApp_Controller_Tree {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This class provides User Account Update functions
|
* This class provides User Account Update functions
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Account
|
|
||||||
* @category Controllers/User
|
* @category Controllers/User
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_User_Account extends Controller_TemplateDefault_User {
|
class Controller_User_Account extends Controller_TemplateDefault_User {
|
||||||
protected $secure_actions = array(
|
protected $secure_actions = array(
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* lnApp Main home page
|
* lnApp Main home page
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Page/Home
|
* @category Controllers/User
|
||||||
* @category Controllers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_User_Welcome extends Controller_TemplateDefault_User {
|
class Controller_User_Welcome extends Controller_TemplateDefault_User {
|
||||||
protected $secure_actions = array(
|
protected $secure_actions = array(
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Main home page
|
* OSB Main home page
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Page/Home
|
|
||||||
* @category Controllers
|
* @category Controllers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Welcome extends Controller_TemplateDefault {
|
class Controller_Welcome extends Controller_TemplateDefault {
|
||||||
protected $auth_required = FALSE;
|
protected $auth_required = FALSE;
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's Cookie
|
* This class overrides Kohana's Cookie
|
||||||
*
|
*
|
||||||
* @package OSB/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Cookie extends Kohana_Cookie {
|
class Cookie extends Kohana_Cookie {
|
||||||
public static $salt = 'OSB';
|
public static $salt = 'OSB';
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This class provides Country routines
|
* This class provides Country routines
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Country
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Country {
|
class Country {
|
||||||
public static function icon($cid) {
|
public static function icon($cid) {
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
* @package OSB
|
* @package OSB
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Currency {
|
class Currency {
|
||||||
public static function display($amount) {
|
public static function display($amount) {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's DB
|
* This class overrides Kohana's DB
|
||||||
*
|
*
|
||||||
* @package OSB/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
* @category Modifications
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class DB extends Kohana_DB {
|
class DB extends Kohana_DB {
|
||||||
// Add the site_id to the delete query
|
// Add the site_id to the delete query
|
||||||
|
@ -6,12 +6,11 @@
|
|||||||
* Modified for OSB, so that ORM can use enhanced SQL queries. This has been
|
* Modified for OSB, so that ORM can use enhanced SQL queries. This has been
|
||||||
* achieved by simply removing the identifier backtick.
|
* achieved by simply removing the identifier backtick.
|
||||||
*
|
*
|
||||||
* @package OSB/Modifications
|
* @package OSB
|
||||||
* @subpackage Database
|
* @category Modifications
|
||||||
* @category Drivers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Database_MySQL extends Kohana_Database_MySQL {
|
class Database_MySQL extends Kohana_Database_MySQL {
|
||||||
// MySQL uses a backtick for identifiers
|
// MySQL uses a backtick for identifiers
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class is for rendering the tinyMCE editor
|
* This class is for rendering the tinyMCE editor
|
||||||
*
|
*
|
||||||
* @package lnApp
|
* @package OSB
|
||||||
* @subpackage Editor
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Editor {
|
class Editor {
|
||||||
private static $added = FALSE;
|
private static $added = FALSE;
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's Form
|
* This class overrides Kohana's Form
|
||||||
*
|
*
|
||||||
* @package lnApp/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
* @category Modifications
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Form extends Kohana_Form {
|
class Form extends Kohana_Form {
|
||||||
// Enable 3.0 features, default to current URI for empty Form::open()
|
// Enable 3.0 features, default to current URI for empty Form::open()
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's 404 Exception
|
* This class overrides Kohana's 404 Exception
|
||||||
*
|
*
|
||||||
* @package lnApp/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class HTTP_Exception_404 extends Kohana_HTTP_Exception_404 {
|
class HTTP_Exception_404 extends Kohana_HTTP_Exception_404 {
|
||||||
public function get_response() {
|
public function get_response() {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's Core
|
* This class overrides Kohana's Core
|
||||||
*
|
*
|
||||||
* @package OSB/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
* @category Modifications
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class Kohana extends Kohana_Core {
|
abstract class Kohana extends Kohana_Core {
|
||||||
/**
|
/**
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's Minion CLI Module
|
* This class overrides Kohana's Minion CLI Module
|
||||||
*
|
*
|
||||||
* @package OSB/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class Minion_Task extends Kohana_Minion_Task {
|
abstract class Minion_Task extends Kohana_Minion_Task {
|
||||||
protected $_options = array(
|
protected $_options = array(
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package lnApp
|
*
|
||||||
* @subpackage Auth
|
* @package OSB
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Account extends Model_Auth_UserDefault {
|
class Model_Account extends Model_Auth_UserDefault {
|
||||||
// Relationships
|
// Relationships
|
||||||
|
@ -4,10 +4,9 @@
|
|||||||
* This class supports Account Login Logging
|
* This class supports Account Login Logging
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Account
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Account_Log extends ORM_OSB {
|
class Model_Account_Log extends ORM_OSB {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Affiliate
|
* OSB Affiliate
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Affiliate extends ORM_OSB {
|
class Model_Affiliate extends ORM_OSB {
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package lnApp
|
*
|
||||||
* @subpackage Auth
|
* @package OSB
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Auth_RoleDefault extends Model_Auth_Role {
|
class Model_Auth_RoleDefault extends Model_Auth_Role {
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Auth
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Auth_UserDefault extends Model_Auth_User {
|
class Model_Auth_UserDefault extends Model_Auth_User {
|
||||||
// Validation rules
|
// Validation rules
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Country Model
|
* OSB Country Model
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Country extends ORM_OSB {
|
class Model_Country extends ORM_OSB {
|
||||||
public function currency() {
|
public function currency() {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Currency Model
|
* OSB Currency Model
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Currency extends ORM_OSB {
|
class Model_Currency extends ORM_OSB {
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package lnApp
|
*
|
||||||
* @subpackage Auth
|
* @package OSB
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Group extends Model_Auth_RoleDefault {
|
class Model_Group extends Model_Auth_RoleDefault {
|
||||||
// Relationships
|
// Relationships
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Application Module Method Model
|
* OSB Application Module Method Model
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Group_Method extends ORM_OSB {
|
class Model_Group_Method extends ORM_OSB {
|
||||||
// Relationships
|
// Relationships
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Language Model
|
* OSB Language Model
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Language extends ORM_OSB {
|
class Model_Language extends ORM_OSB {
|
||||||
protected $_form = array('id'=>'id','value'=>'name');
|
protected $_form = array('id'=>'id','value'=>'name');
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
* OSB initialisation.
|
* OSB initialisation.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Module extends ORM_OSB {
|
class Model_Module extends ORM_OSB {
|
||||||
// Relationships
|
// Relationships
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Application Module Method Model
|
* OSB Application Module Method Model
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Module_Method extends ORM_OSB {
|
class Model_Module_Method extends ORM_OSB {
|
||||||
// Relationships
|
// Relationships
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* OSB Application Module Method Token Model
|
* OSB Application Module Method Token Model
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Module_Method_Token extends ORM_OSB {
|
class Model_Module_Method_Token extends ORM_OSB {
|
||||||
// Relationships
|
// Relationships
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Record_Id extends ORM_OSB {
|
class Model_Record_Id extends ORM_OSB {
|
||||||
protected $_primary_key = 'module_id';
|
protected $_primary_key = 'module_id';
|
||||||
|
@ -7,11 +7,10 @@
|
|||||||
* OSB initialisation.
|
* OSB initialisation.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Modules
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Setup extends ORM_OSB {
|
class Model_Setup extends ORM_OSB {
|
||||||
// Setup doesnt use the update column
|
// Setup doesnt use the update column
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's ORM
|
* This class overrides Kohana's ORM
|
||||||
*
|
*
|
||||||
* @package OSB/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
* @category Modifications
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*
|
*
|
||||||
* This file contains enhancements for Kohana, that should be considered upstream and maybe havent been yet.
|
* This file contains enhancements for Kohana, that should be considered upstream and maybe havent been yet.
|
||||||
* It also contains some functionality for OSB, which cannot be covered in ORM_OSB.
|
* It also contains some functionality for OSB, which cannot be covered in ORM_OSB.
|
||||||
|
@ -4,10 +4,9 @@
|
|||||||
* This class extends Kohana's [ORM] class to create defaults for OSB.
|
* This class extends Kohana's [ORM] class to create defaults for OSB.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Core
|
* @category Helpers
|
||||||
* @category ORM
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class ORM_OSB extends ORM {
|
abstract class ORM_OSB extends ORM {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class is for calculating date periods.
|
* This is class is for calculating date periods.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Period {
|
class Period {
|
||||||
/**
|
/**
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
* Request. Uses the [Route] class to determine what
|
* Request. Uses the [Route] class to determine what
|
||||||
* [Controller] to send the request to.
|
* [Controller] to send the request to.
|
||||||
*
|
*
|
||||||
* @package lnApp/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
* @category Modifications
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Request extends Kohana_Request {
|
class Request extends Kohana_Request {
|
||||||
/**
|
/**
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's Response
|
* This class overrides Kohana's Response
|
||||||
*
|
*
|
||||||
* @package lnApp/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
* @category Modifications
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Response extends Kohana_Response {
|
class Response extends Kohana_Response {
|
||||||
// Append to the body.
|
// Append to the body.
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class renders standard lists and their values
|
* This is class renders standard lists and their values
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class StaticList {
|
abstract class StaticList {
|
||||||
// This is our list of items that will be rendered
|
// This is our list of items that will be rendered
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class renders responses and forms based on the values from a module.
|
* This is class renders responses and forms based on the values from a module.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class StaticList_Module extends StaticListModule {
|
class StaticList_Module extends StaticListModule {
|
||||||
protected function table($module=NULL) {
|
protected function table($module=NULL) {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class renders Price Type responses and forms.
|
* This is class renders Price Type responses and forms.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class StaticList_PriceType extends StaticList {
|
class StaticList_PriceType extends StaticList {
|
||||||
protected function table() {
|
protected function table() {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class renders Recurring Schedule Times on responses and forms.
|
* This is class renders Recurring Schedule Times on responses and forms.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class StaticList_RecurSchedule extends StaticList {
|
class StaticList_RecurSchedule extends StaticList {
|
||||||
protected function table() {
|
protected function table() {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class renders Recurring Schedule Types on responses and forms.
|
* This is class renders Recurring Schedule Types on responses and forms.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class StaticList_RecurType extends StaticList {
|
class StaticList_RecurType extends StaticList {
|
||||||
protected function table() {
|
protected function table() {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class renders Charge Sweep Types on responses and forms.
|
* This is class renders Charge Sweep Types on responses and forms.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class StaticList_SweepType extends StaticList {
|
class StaticList_SweepType extends StaticList {
|
||||||
protected function table() {
|
protected function table() {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class renders Person Title responses and forms.
|
* This is class renders Person Title responses and forms.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class StaticList_Title extends StaticList {
|
class StaticList_Title extends StaticList {
|
||||||
protected function table() {
|
protected function table() {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class renders Yes/No responses and forms.
|
* This is class renders Yes/No responses and forms.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class StaticList_YesNo extends StaticList {
|
class StaticList_YesNo extends StaticList {
|
||||||
protected function table() {
|
protected function table() {
|
||||||
|
@ -4,11 +4,10 @@
|
|||||||
* This is class is renders standard values based on DB table row values.
|
* This is class is renders standard values based on DB table row values.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage Utilities
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class StaticListModule extends StaticList {
|
abstract class StaticListModule extends StaticList {
|
||||||
protected static $record = array();
|
protected static $record = array();
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class extends Minions Tasks to require the site option
|
* This class extends Minions Tasks to require the site option
|
||||||
*
|
*
|
||||||
* @package OSB/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class Task extends Minion_Task {
|
abstract class Task extends Minion_Task {
|
||||||
protected $_options = array(
|
protected $_options = array(
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class overrides Kohana's URL
|
* This class overrides Kohana's URL
|
||||||
*
|
*
|
||||||
* @package OSB/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
* @category Modifications
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class URL extends Kohana_URL {
|
class URL extends Kohana_URL {
|
||||||
// Our method paths for different functions
|
// Our method paths for different functions
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* Array and variable validation.
|
* Array and variable validation.
|
||||||
*
|
*
|
||||||
* @package lnApp/Modifications
|
* @package OSB
|
||||||
* @category Classes
|
* @category Modifications
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class Valid extends Kohana_Valid {
|
abstract class Valid extends Kohana_Valid {
|
||||||
/**
|
/**
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class extends the Kohana XML
|
* This class extends the Kohana XML
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package OSB
|
||||||
* @subpackage XML
|
* @category Modifications
|
||||||
* @category XML
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class XML extends XML_Core {
|
class XML extends XML_Core {
|
||||||
/**
|
/**
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class looks after ADSL products
|
* This class looks after ADSL products
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Product
|
* @category Product
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class ADSL {
|
class ADSL {
|
||||||
// Map the table fields
|
// Map the table fields
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports ADSL Plans
|
* This class supports ADSL Plans
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage ADSL
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Adsl_Plan extends ORM_OSB {
|
class Model_Adsl_Plan extends ORM_OSB {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports ADSL Suppliers
|
* This class supports ADSL Suppliers
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage ADSL
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Adsl_Supplier extends ORM_OSB {
|
class Model_Adsl_Supplier extends ORM_OSB {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports ADSL Plans
|
* This class supports ADSL Plans
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage ADSL
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Adsl_Supplier_Plan extends ORM_OSB {
|
class Model_Adsl_Supplier_Plan extends ORM_OSB {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports ADSL products
|
* This class supports ADSL products
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Product/ADSL
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Product_Plugin_ADSL extends Model_Product_Plugin {
|
class Model_Product_Plugin_ADSL extends Model_Product_Plugin {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports Services
|
* This class supports Services
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage ADSL
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Service_Plugin_Adsl extends Model_Service_Plugin {
|
class Model_Service_Plugin_Adsl extends Model_Service_Plugin {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports Services Traffic for ADSL
|
* This class supports Services Traffic for ADSL
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Service
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Service_Plugin_Adsl_Traffic extends ORM_OSB {
|
class Model_Service_Plugin_Adsl_Traffic extends ORM_OSB {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class will take care of ADSL Traffic.
|
* This class will take care of ADSL Traffic.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Service_Traffic_Adsl {
|
class Service_Traffic_Adsl {
|
||||||
protected $so;
|
protected $so;
|
||||||
|
@ -6,11 +6,10 @@
|
|||||||
* Traffic information is collected by each service, and cached,
|
* Traffic information is collected by each service, and cached,
|
||||||
* returning just the date in question.
|
* returning just the date in question.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Service_Traffic_Adsl_Exetelhspa extends Service_Traffic_Adsl {
|
class Service_Traffic_Adsl_Exetelhspa extends Service_Traffic_Adsl {
|
||||||
|
@ -6,11 +6,10 @@
|
|||||||
* Traffic information is collected by each service, and cached,
|
* Traffic information is collected by each service, and cached,
|
||||||
* returning just the date in question.
|
* returning just the date in question.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Service_Traffic_Adsl_Exetelpe extends Service_Traffic_Adsl {
|
class Service_Traffic_Adsl_Exetelpe extends Service_Traffic_Adsl {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class is able to collect traffic information for Exetel VISP
|
* This class is able to collect traffic information for Exetel VISP
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Service_Traffic_Adsl_Exetelvisp extends Service_Traffic_Adsl {
|
class Service_Traffic_Adsl_Exetelvisp extends Service_Traffic_Adsl {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class is able to collect traffic information for People Agent
|
* This class is able to collect traffic information for People Agent
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Service_Traffic_ADSL_PeopleAgent extends Service_Traffic_ADSL {
|
class Service_Traffic_ADSL_PeopleAgent extends Service_Traffic_ADSL {
|
||||||
|
@ -6,11 +6,10 @@
|
|||||||
* Traffic information is collected by each service, and cached,
|
* Traffic information is collected by each service, and cached,
|
||||||
* returning just the date in question.
|
* returning just the date in question.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package ADSL
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Service_Traffic_ADSL_iiNetADSL extends Service_Traffic_ADSL {
|
class Service_Traffic_ADSL_iiNetADSL extends Service_Traffic_ADSL {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports affiliates
|
* This class supports affiliates
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Affiliate
|
||||||
* @subpackage Affiliate
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Affiliate extends ORM_OSB {
|
class Model_Affiliate extends ORM_OSB {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides a order cart
|
* This class provides a order cart
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Cart
|
||||||
* @subpackage Cart
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Cart {
|
class Cart {
|
||||||
private $id = NULL;
|
private $id = NULL;
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides a Cart Item
|
* This class provides a Cart Item
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Cart
|
||||||
* @subpackage Cart
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Cart_Item {
|
class Cart_Item {
|
||||||
// Quantity
|
// Quantity
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This interface ensures that all cart processing objects have the right methods
|
* This interface ensures that all cart processing objects have the right methods
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Cart
|
||||||
* @subpackage Cart
|
* @category Interface
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
interface Cartable {
|
interface Cartable {
|
||||||
// Render a cart line item.
|
// Render a cart line item.
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides a order cart
|
* This class provides a order cart
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Cart
|
||||||
* @subpackage Cart
|
|
||||||
* @category Controllers
|
* @category Controllers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Cart extends Controller_TemplateDefault {
|
class Controller_Cart extends Controller_TemplateDefault {
|
||||||
/**
|
/**
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports a product cart
|
* This class supports a product cart
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Cart
|
||||||
* @subpackage Cart
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Cart extends ORM_OSB {
|
class Model_Cart extends ORM_OSB {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides charge capabilities.
|
* This class provides charge capabilities.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Charge
|
||||||
* @subpackage Charge
|
|
||||||
* @category Controllers/Admin
|
* @category Controllers/Admin
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Admin_Charge extends Controller_TemplateDefault_Admin {
|
class Controller_Admin_Charge extends Controller_TemplateDefault_Admin {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides charge item capabilities.
|
* This class provides charge item capabilities.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Charge
|
||||||
* @subpackage Charge
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Charge extends ORM_OSB {
|
class Model_Charge extends ORM_OSB {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides CHECKOUT Plugin Support
|
* This class provides CHECKOUT Plugin Support
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Checkout
|
||||||
* @subpackage Checkout Plugins
|
|
||||||
* @category Plugins
|
* @category Plugins
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
* @todo Does this need to be Serializable?
|
* @todo Does this need to be Serializable?
|
||||||
*/
|
*/
|
||||||
abstract class Checkout_Plugin implements Serializable {
|
abstract class Checkout_Plugin implements Serializable {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides PAYPAL support
|
* This class provides PAYPAL support
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Checkout
|
||||||
* @subpackage Plugins/Paypal
|
|
||||||
* @category Plugins
|
* @category Plugins
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class Checkout_Plugin_Paypal extends Checkout_Plugin {
|
abstract class Checkout_Plugin_Paypal extends Checkout_Plugin {
|
||||||
protected $url_prod = 'www.paypal.com';
|
protected $url_prod = 'www.paypal.com';
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides PAYPAL CART support
|
* This class provides PAYPAL CART support
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Checkout
|
||||||
* @subpackage Plugins/Paypal
|
|
||||||
* @category Plugins
|
* @category Plugins
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Checkout_Plugin_Paypal_Cart extends Checkout_Plugin_Paypal {
|
class Checkout_Plugin_Paypal_Cart extends Checkout_Plugin_Paypal {
|
||||||
private $test_mode = FALSE;
|
private $test_mode = FALSE;
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides checkout capabilities.
|
* This class provides checkout capabilities.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Checkout
|
||||||
* @subpackage Checkout
|
|
||||||
* @category Controllers
|
* @category Controllers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Controller_Checkout extends Controller_TemplateDefault {
|
class Controller_Checkout extends Controller_TemplateDefault {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides checkout capabilities.
|
* This class provides checkout capabilities.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Checkout
|
||||||
* @subpackage Checkout
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Checkout extends ORM_OSB {
|
class Model_Checkout extends ORM_OSB {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class provides checkout capabilities.
|
* This class provides checkout capabilities.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Checkout
|
||||||
* @subpackage Checkout
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Checkout_Notify extends ORM_OSB {
|
class Model_Checkout_Notify extends ORM_OSB {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class looks after DOMAIN NAME products
|
* This class looks after DOMAIN NAME products
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Domain
|
||||||
* @subpackage Product
|
|
||||||
* @category Helpers
|
* @category Helpers
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class DOMAIN {
|
class DOMAIN {
|
||||||
/**
|
/**
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports Domain TLD Registrars
|
* This class supports Domain TLD Registrars
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Domain
|
||||||
* @subpackage Host_TLD_Registrar
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Domain_Registrar extends ORM_OSB {
|
class Model_Domain_Registrar extends ORM_OSB {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports Domain TLD
|
* This class supports Domain TLD
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Domain
|
||||||
* @subpackage Domains
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Domain_Tld extends ORM_OSB {
|
class Model_Domain_Tld extends ORM_OSB {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports DOMAIN products
|
* This class supports DOMAIN products
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Domain
|
||||||
* @subpackage Product/Domain
|
* @category Plugins
|
||||||
* @category Models
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Product_Plugin_DOMAIN extends Model_Product_Plugin {
|
class Model_Product_Plugin_DOMAIN extends Model_Product_Plugin {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class supports Services
|
* This class supports Services
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Domain
|
||||||
* @subpackage DOMAIN
|
|
||||||
* @category Models
|
* @category Models
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Model_Service_Plugin_Domain extends Model_Service_Plugin {
|
class Model_Service_Plugin_Domain extends Model_Service_Plugin {
|
||||||
|
@ -3,12 +3,11 @@
|
|||||||
/**
|
/**
|
||||||
* This class will take care of Domain Registrars.
|
* This class will take care of Domain Registrars.
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Domain
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Deon George
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.leenooks.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
abstract class Service_Domain {
|
abstract class Service_Domain {
|
||||||
protected $so;
|
protected $so;
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class is able to interact with TPP
|
* This class is able to interact with TPP
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Domain
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Service_Domain_Manual extends Service_Domain {
|
class Service_Domain_Manual extends Service_Domain {
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* This class is able to interact with TPP
|
* This class is able to interact with TPP
|
||||||
*
|
*
|
||||||
* @package OSB
|
* @package Domain
|
||||||
* @subpackage Service
|
* @category Service
|
||||||
* @category Helpers
|
|
||||||
* @author Deon George
|
* @author Deon George
|
||||||
* @copyright (c) 2010 Open Source Billing
|
* @copyright (c) 2009-2013 Open Source Billing
|
||||||
* @license http://dev.osbill.net/license.html
|
* @license http://dev.osbill.net/license.html
|
||||||
*/
|
*/
|
||||||
class Service_Domain_PlanetDomain extends Service_Domain {
|
class Service_Domain_PlanetDomain extends Service_Domain {
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user