Model\User::getCount PHP Method

getCount() public static method

public static getCount ( )
    public static function getCount()
    {
        $stn = DB::getInstance()->prepare("SELECT count(1) FROM `member`");
        $stn->execute();
        return $stn->fetch(DB::FETCH_NUM)[0];
    }