SGL_ItemActs as a wrapper for content objects.
Located in /SGL/Item.php (line 49)
static array
retrievePaginated
(int $catID, [ $bPublished = false], [int $dataTypeID = 1], [string $queryRange = 'thisCategory'], [int $from = ''], [string $orderBy = 'last_updated'])
mixed
generateFormFields
(int $fieldID, string $fieldName, [mixed $fieldValue = ''], int $fieldType, string $language)
int
$catID
(line 121)
Category ID
mixed
$dateCreated
(line 73)
Timestamp an Item was created
mixed
$expiryDate
(line 97)
Timestamp when an Item expires
int
$id
(line 57)
Item ID
mixed
$lastUpdated
(line 81)
Timestamp of last update for an Item
int
$lastUpdatedById
(line 65)
User ID of user to last update item
mixed
$startDate
(line 89)
Timestamp when an Item becomes available
int
$statusID
(line 129)
Status ID
string
$type
(line 105)
Item Type Name
int
$typeID
(line 113)
Item Type ID
static retrievePaginated (line 926)
Gets paginated list of articles.
Constructor SGL_Item (line 139)
Constructor
addDataItems (line 280)
Inserts Data Items into item_addtion table.
addMetaItems (line 236)
Inserts Meta Items into item table.
changeStatus (line 627)
Updates an Items Status (delete, approve, publish, archive) in the item table.
delete (line 404)
Deletes an Item from the item and item_addition table. If safe delete is enabled only updates the items status to 0.
generateFormFields (line 595)
Generates the form fields from the item_type_mapping table for the methods getDynamicContent() and getDynamicFields.
generateItemOutput (line 773)
Generates the output for an Item using the template defined below.
get (line 838)
Retrieves an Item's Meta Data value
getDynamicContent (line 454)
Builds a HTML form containing the data from the item_addition table. The input types are built using the data in the item_type and item_type_mapping tables.
getDynamicFields (line 529)
Builds a HTML form with the input types built using the data in the item_type and item_type_mapping tables.
getItemDetail (line 883)
Retrieve an Items Meta and Data details.
getItemListByCatID (line 853)
Retrieve a list of Items by CatID
manualPreview (line 736)
Retierves and returns an array containing an an Item's Meta and Data items.
preview (line 682)
Retierves an Item's Meta and Data items and generates the output using the method generateItemOutput().
set (line 826)
Sets an Item's Meta Data value
updateDataItems (line 355)
Update Data Items in item_addition table.
updateMetaItems (line 329)
Update Meta Items in item table.
_init (line 168)
Retrieves an Item's Meta Data. Sets the corrisponding class variables.
Documentation generated on Tue, 23 Feb 2010 18:14:31 +0000 by phpDocumentor 1.4.3