src/snac/server/database/SQL.php
/**
     * Update a privilege.
     *
     * @param integer $pid Privilege record id
     *
     * @param string $label Privilege label
     *
     * @param string $description Privilege description
     */
Update a privilege.
@param integer $pid Privilege record id

@param string $label Privilege label

@param string $description Privilege description
Update a privilege . @param integer $pid Privilege record id @param string $label Privilege label @param string $description Privilege description
public function updatePrivilege($pid, $label, $description)
    {
        $result = $this->sdb->query("update privilege set label=%2, description=%3 where id=$1",
                          array($pid, $label, $description));
        $row = $this->sdb->fetchrow($result);
    }
public function updatePrivilege ( $ pid , $ label , $ description ) { $ result = $ this -> sdb -> query ( " update privilege set label=%2, description=%3 where id=$1 " , array ( $ pid , $ label , $ description ) ) ; $ row = $ this -> sdb -> fetchrow ( $ result ) ; }
Update a privilege.
Update a privilege .