Internal overhaul
This commit is contained in:
@@ -67,5 +67,12 @@ class Model_Group extends Model_Auth_Role {
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a list of groups that have their own pricing
|
||||
*/
|
||||
public function list_pricegroups() {
|
||||
return $this->where_active()->where('pricing','=',TRUE)->find_all();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user