Login   Register  
PHP Classes
elePHPant
Icontem

File: punFramework/models/avatarModels.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2006-12-26 05:13
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'");
    }
}