Location: PHPKode > projects > MembersGear > membersgear/includes/roles_class.php
<?php
 
 require_once "peardb_class.php";
    
 class roles_class extends peardb_class
 {   
    function View($pQuery, $pValues=false, $types=true, $pStart=0, $pEnd=0)
    {
       
        return $this->BaseView($pQuery,$pValues,$types,$pStart,$pEnd);
        
    }
    
    function Update($pQuery, $pValues=false, $types=true)
    { 
       
        return $this->BaseUpdate($pQuery, $pValues, $types);
    
    }

    
    function Insert($pQuery, $pValues=false, $types=true)
    { 
       
        return $this->BaseInsert($pQuery, $pValues, $types);
    
    }
    function GetRoleID($pValues=false, $types=true)
    {
  
         $result = $this->View("SELECT * FROM ".TABLE_PREFIX ."roles where name=?",$pValues,null,0,0); 
         return   $result;  
    }  
   
    
 }   
   
   
 
    

?>
Return current item: MembersGear