mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
minor accounting improvements
This commit is contained in:
@ -2,6 +2,12 @@
|
||||
|
||||
class ModelDomainDomain extends Model {
|
||||
|
||||
public function count_mydomains() {
|
||||
$query = $this->db->query("SELECT count(*) AS num FROM " . TABLE_DOMAIN);
|
||||
return $query->row['num'];
|
||||
}
|
||||
|
||||
|
||||
public function getDomains($s = '') {
|
||||
$data = array();
|
||||
|
||||
|
Reference in New Issue
Block a user