mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 13:00:20 +02:00
minor accounting improvements
This commit is contained in:
1 parent
bf3da73f17
commit
a68710d507
4 files changed
+23
-7
No files matched your search
@@ -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