Added Service Add, some internal consistency updates

This commit is contained in:
Deon George
2013-11-27 11:22:20 +11:00
parent c18d5a3881
commit 0ed5e5163d
29 changed files with 372 additions and 179 deletions

View File

@@ -15,9 +15,8 @@ class Model_Product_Plugin_Domain extends Model_Product_Plugin {
}
// Our required abstract methods
public function admin_update() {}
public function cost($annual=FALSE) {
// @todo
$x = 0;
return $annual ? $x*12 : $x;
@@ -25,6 +24,15 @@ class Model_Product_Plugin_Domain extends Model_Product_Plugin {
public function feature_summary() {}
public function render_edit() {}
// @todo
public function supplier() {
return 'internal';
}
/** LOCAL FUNCTIONS **/
// @todo This is not used, but should be.
public function order_features() {
$output = '';
@@ -44,9 +52,5 @@ class Model_Product_Plugin_Domain extends Model_Product_Plugin {
return $output;
}
public function supplier() {
return 'internal';
}
}
?>