OssnSite Class Reference
Inheritance diagram for OssnSite:
OssnDatabase OssnBase OssnThemes

Public Member Functions

 getSettings ($settings)
 
 getAllSettings ()
 
 UpdateSettings ($settings, $values, $wheres)
 
- Public Member Functions inherited from OssnDatabase
 Connect ()
 
 insert ($params)
 
 statement ($query)
 
 execute ()
 
 update ($params=array())
 
 select ($params, $multi= '')
 
 fetch ($data=false)
 
 delete ($params)
 
 getLastEntry ()
 
 constructWheres (array $array, $operator="AND")
 
 generateLimit ($data_limit=false, $page_limit=false, $offset=false)
 
- Public Member Functions inherited from OssnBase
 getGUID ()
 
 getID ()
 
 getParam ($param)
 
 isParam ($param)
 

Detailed Description

Definition at line 12 of file OssnSite.php.

Member Function Documentation

getAllSettings ( )

Get all site settings

Returns
object

Definition at line 33 of file OssnSite.php.

getSettings (   $settings)

Get site settings;

Parameters
string$settingssettings name
string$settings
Returns
string

Definition at line 21 of file OssnSite.php.

UpdateSettings (   $settings,
  $values,
  $wheres 
)

Update site settings

Parameters
array$settingsarray(settings)
array$valuesarray(values)
array$wheresarray(settings id)
Returns
boolean

Definition at line 51 of file OssnSite.php.


The documentation for this class was generated from the following file: