Select Git revision
-
Tim Steiner authoredTim Steiner authored
Users.php 630 B
<?php
class Users extends Nmc_Db_Table
{
protected $_primary = 'userId';
protected $_rowClass = 'User';
static private $_instance;
/**
* Return the one true instance
*
* @param array $config
* @return Users
*/
static public function getInstance($config = array())
{
if(!self::$_instance) {
self::$_instance = new Users($config);
}
return self::$_instance;
}
public function fetchAll($where = null, $order = 'userName', $count = null, $offset = null)
{
return parent::fetchAll($where, $order, $count, $offset);
}
}
?>