20 lines
468 B
PHP
20 lines
468 B
PHP
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
/**
|
|
*
|
|
* @package OSB
|
|
* @category Models
|
|
* @author Deon George
|
|
* @copyright (c) 2009-2013 Open Source Billing
|
|
* @license http://dev.osbill.net/license.html
|
|
*/
|
|
class Model_Group extends lnAuth_Model_Group {
|
|
/**
|
|
* Get a list of groups that have their own pricing
|
|
*/
|
|
public function list_pricegroups() {
|
|
return $this->where_active()->where('pricing','=',TRUE)->find_all();
|
|
}
|
|
}
|
|
?>
|