Can now save Network Roles
This commit is contained in:
@@ -22,18 +22,6 @@ class Network extends mfBaseModel {
|
||||
//var_dump($this->addresstypes);exit;
|
||||
}
|
||||
|
||||
public function loadRoles() {
|
||||
if(!$this->id) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$types = AddresstypeModel::search(['addresstype' => TT_NETWORK_ROLES]);
|
||||
var_dump($types);exit;
|
||||
foreach($types as $type) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function getProperty($name) {
|
||||
if($this->$name == null) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user