Related API Functions
- int LCSGetID(Object p_Obj)
Returns the item's ID
- LCSItem LCSGetItem(int p_Id)
Returns the item structure, given the ID
- void LCSSetItem(LCSItem p_Obj)
Save an Item
- string LCSGetItemParam(LCSItem p_Obj, string p_Param)
Retrieves a parameter related to an item. "" if the parameter is not set.
- void LCSSetItemParam(LCSItem p_Obj, string p_Param, string p_Value)
Set a parameter related to an item.
- void LCSSetItemContent(int p_Id, string p_Content, int p_Page=0)
Set an item's content for a given page. If not specified, the first page will be used.
- string LCSGetItemContent(string p_Id, int p_Page=0)
Retrieves an item's content
- string LCSGetItemURL(Object p_Item)
Returns the URL of the item
- void LCSDeleteItem(int p_Id)
Removes an item
- void LCSDeleteItems(string p_IDs)
Removes a list of item. p_IDs is a string of comma-delimited id (ex: "1,4,5,6")
- bool LCSRenameItem(int p_ID, string p_NewName)
Renames an item. Returns true if the item could be renamed, false else.
- LCSItem &LCSCreateItem(int p_ParentID, string p_Name)
Creates a new item
- LCSItem LCSGetCurItem()
Returns the URL of the item
- void LCSSetItemVar(LCSItem &p_Item, string p_VarName, string p_Value)
Set an item's variable
- string LCSGetItemVar(LCSItem p_Item, string p_VarName)
Returns the an item variable. "" if not set.
- void LCSSaveItemVars(LCSItem p_Item)
Saves the items variables to disk
- void LCSLoadItemVars(LCSItem &p_Item)
Loads the item's variables from disk