Added Service Add, some internal consistency updates
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -77,6 +77,7 @@ class Model_Service_Plugin_Domain extends Model_Service_Plugin {
|
||||
|
||||
/**
|
||||
* Search for services matching a term
|
||||
* @todo This search doesnt pick up the TLD of domain names
|
||||
*/
|
||||
public function list_autocomplete($term,$index,$value,array $label,array $limit=array(),array $options=NULL) {
|
||||
// We only show domain names.
|
||||
|
Reference in New Issue
Block a user