PHP Classes

File: punFramework/models/avatarModels.php

Recommend this page to a friend!
  Classes of Piotr Malinski   punFramework   punFramework/models/avatarModels.php   Download  
File: punFramework/models/avatarModels.php
Role: Example script
Content type: text/plain
Description: avatarGalery example - model
Class: punFramework
MVC framework to extend punBB discussion boards
Author: By
Last change:
Date: 17 years ago
Size: 221 bytes
 

Contents

Class file image Download
<?PHP
class avatarModels extends punRoot
{
public function
get_users_with_avatars()
    {
    return
avatarModels::query("SELECT id, username, last_visit, num_posts FROM ".$this->db->prefix."users WHERE use_avatar = '1'");
    }
}