src/snac/server/database/SQL.php
/**
     * Select a privilege record
     *
     * Get all fields of a single privilege record matching id $pid.
     *
     * @param integer $pid Privilege ID value.
     *
     * @return string[] All fields of a single privilege record.
     */
Select a privilege record
Get all fields of a single privilege record matching id $pid.

@param integer $pid Privilege ID value.

@return string[] All fields of a single privilege record.
Select a privilege record Get all fields of a single privilege record matching id $pid . @param integer $pid Privilege ID value . @return string [] All fields of a single privilege record .
public function selectPrivilege($pid)
    {
        $result = $this->sdb->query("select * from privilege where id=$1",
                                    array($pid));
        $row = $this->sdb->fetchrow($result);
        return $row;
    }
public function selectPrivilege ( $ pid ) { $ result = $ this -> sdb -> query ( " select * from privilege where id=$1 " , array ( $ pid ) ) ; $ row = $ this -> sdb -> fetchrow ( $ result ) ; return $ row ; }
Select a privilege record
 Get all fields of a single privilege record matching id $pid.
Select a privilege record Get all fields of a single privilege record matching id $pid .