Packages:
System
System.Collections
System.Data
System.I18N
System.Util
System.Web.Services
System.Web.UI.ActiveControls
System.Web.UI.WebControls
Classes:
|
Class LContentCore
TControl
|
--LContentCore
Mainly provides database access for LContent database
Method Summary |
void
|
deletes record in database
|
void
|
returns brick configuration options from application.xml
|
LContent
|
returns records from database
|
void
|
redirects to user to admin or content
|
void
|
saves record in database and performs redirect
|
Method Details |
deleteRecordById
public void deleteRecordById |
(integer $id ) |
deletes record in database
Input |
integer | $id | id of the record to be deleted |
Output |
Exception |
|
getConfiguration
public void getConfiguration |
(mixed $option ) |
returns brick configuration options from application.xml
Input |
mixed | $option | |
Output |
Exception |
|
queryRecords
public LContent queryRecords |
(integer,Criteria $c ) |
returns records from database
Input |
integer,Criteria | $c | |
Output |
LContent
| object |
Exception |
|
redirectToList
public void redirectToList |
() |
redirects to user to admin or content
|
saveRecord
public void saveRecord |
(LContent $record ) |
saves record in database and performs redirect
Input |
LContent | $record | |
Output |
Exception |
|
Constant Details |
STATUS_OFF
|
STATUS_PUBLISHED
|
STATUS_STAGING
|
|
|