DotKernel/admin/System.php

Properties

Description

DotBoost Technologies Inc.

DotKernel Application Framework


Classes

System

Properties

 
 
Admin  
No 
No 

Description

System Model Here are all the actions related to the system settings

Methods

__construct, _listDirectory, activateEmailTransporter, addEmailTransporter, deleteEmailTransporter, getAPCInfo, getEmailTransporterBy, getEmailTransporterList, getGeoIpVersion, getHostname, getMysqlVersion, getSettings, getWarnings, getWurflInfo, updateEmailTransporter, updateSettings, validateEmailTransporter,

__construct( ) : n/a

Description

Constructor

Return value

Type Description
n/a n/a

Tags

Name Description
access public

_listDirectory(   $directory, ) : n/a

Arguments

Name Type Description Default
$directory n/a

Return value

Type Description
n/a n/a

activateEmailTransporter( int   $id, int   $isActive, ) : void

Description

Activate/Inactivate email transporter

Arguments

Name Type Description Default
$id int - transporter ID
$isActive int

Return value

Type Description
void

Tags

Name Description
access public

addEmailTransporter( array   $data, ) : void

Description

Add email transporter

Arguments

Name Type Description Default
$data array

Return value

Type Description
void

Tags

Name Description
access public

deleteEmailTransporter( int   $id, ) : void

Description

Delete email transporter

Arguments

Name Type Description Default
$id int

Return value

Type Description
void

Tags

Name Description
access public

getAPCInfo( ) : array

Description

Get information about APC Returns an array with the following elements: version: a string with the version of APC that is currently installed or an empty string if it's not installed enabled: boolean

Return value

Type Description
array

Tags

Name Description
access public

getEmailTransporterBy( string   $field, string   $value, ) : array

Description

Get email transporter by field

Arguments

Name Type Description Default
$field string
$value string

Return value

Type Description
array

Tags

Name Description
access public

getEmailTransporterList( int   $page = 1, ) : array

Description

Get email transporter list

Arguments

Name Type Description Default
$page int [optional] 1

Return value

Type Description
array

Tags

Name Description
access public

getGeoIpVersion( ) : array

Description

Get GeoIp Version release Return an array with keys "country" & "city"

Return value

Type Description
array

Tags

Name Description
access public

getHostname( ) : string

Description

Get Hostname Return a string

Return value

Type Description
string

Tags

Name Description
access public

getMysqlVersion( ) : string

Description

Get MySQL Version

Return value

Type Description
string

Tags

Name Description
access public

getSettings( int   $isEditable = 1, ) : array

Description

Get settings that are by default editable

Arguments

Name Type Description Default
$isEditable int [optional] 1

Return value

Type Description
array

Tags

Name Description
access public

getWarnings( ) : array

Description

Get any warnings to display in the dashboard Each array element returned is an array with two strings: type and description

Return value

Type Description
array

Tags

Name Description
access public

getWurflInfo( ) : array

Description

Get information about the Wurfl library installed Returns an array with the following elements: cacheBuilt: the date the last time the cache was manually built, stored in the setting table date: the last modified date of the wurfl xml file

Return value

Type Description
array

Tags

Name Description
access public

updateEmailTransporter( array   $data, ) : void

Description

Update email transporter

Arguments

Name Type Description Default
$data array

Return value

Type Description
void

Tags

Name Description
access public

updateSettings( array   $data, ) : void

Description

Update settings

Arguments

Name Type Description Default
$data array

Return value

Type Description
void

Tags

Name Description
access public

validateEmailTransporter(   $data, ) : array

Description

Validate transporter

Arguments

Name Type Description Default
$data n/a

Return value

Type Description
array

Tags

Name Description
access public
Documentation was generated by DocBlox.

Packages

  • Admin
    • Admin
      Admin Model Here are all the actions related to the user
    • Admin_View
      Admin View Class class that prepare output related to User controller
    • System
      System Model Here are all the actions related to the system settings
    • System_View
      System View Class class that prepare output related to User controller
    • User
      User Model Here are all the actions related to the user
    • User_View
      User View Class class that prepare output related to User controller
    • View
      Admin View abstract over the Dot_Template class
  • DotKernel
    • DotLibrary
    • Frontend
      • Page
        Page Model Dummy class, is not doing anything
      • Page
        Page Model Dummy class, is not doing anything yet
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • User
        User Model Here are all the actions related to the user
      • User_View
        User View Class class that prepare output related to User controller
      • View
        View Model abstract over the Dot_Template class
    • Mobile
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • View
        View Model abstract over the Dot_Template class
    • Rss
      • Sample
        Sample Model Here are all the actions related to the Sample
      • Sample_View
        Sample View Class
      • View
        View class - used for outputting rss content