Fixes for traffic, manage_button and SSL work

This commit is contained in:
Deon George
2012-10-22 23:24:28 +11:00
parent 59321a6877
commit 002c3b8f44
7 changed files with 42 additions and 11 deletions

View File

@@ -17,7 +17,8 @@ class Model_SSL_CA extends ORMOSB {
protected $_belongs_to = array(
);
protected $_has_one = array(
protected $_has_many = array(
'service'=>array('through'=>'service__ssl'),
);
protected $_display_filters = array(
@@ -65,5 +66,9 @@ class Model_SSL_CA extends ORMOSB {
// Save the record
return parent::save($validation);
}
public function list_issued() {
return $this->service->find_all();
}
}
?>