C# Class FuddleImage, Fuddle

Afficher le fichier Open project: btevfik/Fuddle

Méthodes publiques

Méthode Description
FuddleImage ( ) : System
addComment ( string comment, int image_id ) : int
deleteComment ( int id ) : bool
deleteImage ( int image_id ) : void
getComments ( int image_id ) : List
getDescription ( int image_id ) : string
getTitle ( int image_id ) : string
getTopImages ( ) : List
getUser ( int image_id ) : string
getWidth ( int id ) : int
updateDescription ( string newDesc, int image_id ) : void
updateTitle ( string newTitle, int image_id ) : void

Method Details

FuddleImage() public méthode

public FuddleImage ( ) : System
Résultat System

addComment() public static méthode

public static addComment ( string comment, int image_id ) : int
comment string
image_id int
Résultat int

deleteComment() public static méthode

public static deleteComment ( int id ) : bool
id int
Résultat bool

deleteImage() public static méthode

public static deleteImage ( int image_id ) : void
image_id int
Résultat void

getComments() public static méthode

public static getComments ( int image_id ) : List
image_id int
Résultat List

getDescription() public static méthode

public static getDescription ( int image_id ) : string
image_id int
Résultat string

getTitle() public static méthode

public static getTitle ( int image_id ) : string
image_id int
Résultat string

getTopImages() public static méthode

public static getTopImages ( ) : List
Résultat List

getUser() public static méthode

public static getUser ( int image_id ) : string
image_id int
Résultat string

getWidth() public static méthode

public static getWidth ( int id ) : int
id int
Résultat int

updateDescription() public static méthode

public static updateDescription ( string newDesc, int image_id ) : void
newDesc string
image_id int
Résultat void

updateTitle() public static méthode

public static updateTitle ( string newTitle, int image_id ) : void
newTitle string
image_id int
Résultat void