OPEN SOURCE SOCIAL NETWORK 6.6
Loading...
Searching...
No Matches
OssnSite Class Reference
Inheritance diagram for OssnSite:
OssnDatabase OssnBase OssnSession OssnThemes

Public Member Functions

 getSettings ($settings)
 
 getAllSettings ($reserved=true)
 
 UpdateSettings ($settings, $values, $wheres)
 
 deleteSetting ($name='')
 
 setSetting ($name, $value='')
 
- Public Member Functions inherited from OssnDatabase
 __construct ()
 
 Connect ()
 
 insert ($params)
 
 statement ($query)
 
 execute ($values=array())
 
 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)
 
 clearVars ()
 
 __destruct ()
 
- Public Member Functions inherited from OssnBase
 getGUID ()
 
 getID ()
 
 getParam ($param)
 
 isParam ($param)
 
 __call ($method, $args)
 

Additional Inherited Members

- Static Public Member Functions inherited from OssnSession
static start ()
 
static assign ($name='', $value='')
 
static unassign ($name='')
 
static isSession ($name='')
 
static getSession ($name='')
 

Member Function Documentation

◆ deleteSetting()

deleteSetting (   $name = '')

Delete site setting E] Improve Site Settings #1747

Note
use setSetting instead
Parameters
string$nameName of settings
Returns
boolean

◆ getAllSettings()

getAllSettings (   $reserved = true)

Get all site settings

Returns
object Get all site settings
Parameters
boolean$reservedLoad only reserved names
Returns
object

◆ getSettings()

getSettings (   $settings)

Get site settings;

Parameters
string$settingssettings name
string$settings
Returns
string

◆ setSetting()

setSetting (   $name,
  $value = '' 
)

Set site setting [E] Improve Site Settings #1747

Parameters
string$nameName of setting
string$valueActual value for setting
Returns
boolean

◆ UpdateSettings()

UpdateSettings (   $settings,
  $values,
  $wheres 
)

Update site settings

Note
use setSetting instead
Parameters
array$settingsarray(settings)
array$valuesarray(values)
array$wheresarray(settings id)
Returns
boolean

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