C# Class SobekCM.Core.BriefItem.BriefItem_Web

Mostra file Open project: MarkVSullivan/SobekCM-Web-Application

Private Properties

Property Type Description

Public Methods

Method Description
Add_Related_Title ( string Relationship, string Title, string Link ) : void

Add a related title to this web information

Add_User_Tag ( int UserID, string UserName, string Description_Tag, System.DateTime Date_Added, int TagID ) : void

Add a new user tag to this item

Contains_File_Extension ( string Extension ) : bool

Checks to see if a file extension exists in the file extensions lists

The file extension check is not caps sensitive and is tolerant of a period at the beginning, but it is not necessary either.

Delete_User_Tag ( int TagID, int UserID ) : bool

Delete a user tag from this object, by TagID and UserID

This only deletes the user tag if the UserID for the tag matches the provided userid

Method Details

Add_Related_Title() public method

Add a related title to this web information
public Add_Related_Title ( string Relationship, string Title, string Link ) : void
Relationship string Relationship between the main title and the related title
Title string Title of the related title within this SobekCM library
Link string Link for the related title within this SobekCM library
return void

Add_User_Tag() public method

Add a new user tag to this item
public Add_User_Tag ( int UserID, string UserName, string Description_Tag, System.DateTime Date_Added, int TagID ) : void
UserID int Primary key for the user who entered this tag
UserName string Name of the user ( Last Name, Firt Name )
Description_Tag string Text of the user-entered descriptive tag
Date_Added System.DateTime Date the tag was added or last modified
TagID int Primary key for this tag from the database
return void

Contains_File_Extension() public method

Checks to see if a file extension exists in the file extensions lists
The file extension check is not caps sensitive and is tolerant of a period at the beginning, but it is not necessary either.
public Contains_File_Extension ( string Extension ) : bool
Extension string File extension to check
return bool

Delete_User_Tag() public method

Delete a user tag from this object, by TagID and UserID
This only deletes the user tag if the UserID for the tag matches the provided userid
public Delete_User_Tag ( int TagID, int UserID ) : bool
TagID int Primary key for this tag from the database
UserID int Primary key for the user who entered this tag
return bool