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

Public Member Functions

 getActive ()
 
 total ()
 
 getThemes ()
 
 upload ()
 
 getActivePath ()
 
 loadActive ()
 
 Enable ($theme)
 
 deletetheme ($theme)
 
 isOld ($element)
 
- Public Member Functions inherited from OssnSite
 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)
 

Static Public Member Functions

static getTheme ($name)
 
static checkRequirments ($element)
 
- 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

◆ checkRequirments()

static checkRequirments (   $element)
static

Check theme requirments

Parameters
string$elementA valid theme xml file
Returns
false|array

◆ deletetheme()

deletetheme (   $theme)

Delete theme

Returns
boolean

◆ Enable()

Enable (   $theme)

Enable Theme

@params string $name Theme id;

Returns
boolean

◆ getActive()

getActive ( )

Get active theme

Returns
string;

◆ getActivePath()

getActivePath ( )

Get active theme startup file

Returns
string

◆ getTheme()

static getTheme (   $name)
static

Get theme details

Parameters
string$nameTheme id;
Returns
object|false;

◆ getThemes()

getThemes ( )

Get components list

Returns
components ids;

◆ isOld()

isOld (   $element)

Check if theme is older than 3.x

Parameters
string$elementComponent xml string.
Returns
boolean

◆ loadActive()

loadActive ( )

Get active theme startup file

Returns
string

◆ total()

total ( )

Get total themes

Returns
integer

◆ upload()

upload ( )

Upload component

Requires component package file,

Returns
boolean

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