Documentation

EasyBlogControllerInstallPost extends EasyBlogSetupController
in package

Table of Contents

Properties

$result  : mixed

Methods

__construct()  : mixed
assignACL()  : mixed
Assign acl rules to existing Joomla groups
assignDefaultCategory()  : mixed
Check and assign a default category for the site.
clearJoomlaUpdates()  : mixed
When the user installs EasyBlog, we'll need to ensure that #__updates is also removed so that Joomla will not alert them about the upgrade again
convertUtf8mb4QueryToUtf8()  : mixed
Convert utf8mb4 to utf8
createDefaultCategory()  : mixed
Create a default category for the site
createDefaultMenu()  : mixed
Create a new default blog menu
createDefaultViewMeta()  : mixed
Create a default view meta for the site
createSamplePost()  : mixed
Create a sample post on the site
deleteUnusedBlock()  : mixed
The reason why need to add this is because we renamed the module element name from "module" to "modules" during Easyblog 6 RC 1 But the final fix can use back the original "module" element so we need to delete this "modules" row data everytime for those sites already have this "modules" element data #2813
ebExtract()  : mixed
method to extract zip file in installation part
ebQuery()  : mixed
method to execute query
engine()  : mixed
Loads up the EasyBlog library if it exists
execute()  : mixed
Post installation process
getExtensionId()  : mixed
Retrieves the extension id
getInfo()  : mixed
Gets the info about the latest version
getInstalledVersion()  : mixed
Loads the previous version that was installed
getJoomlaVersion()  : mixed
Retrieve the Joomla Version
getMainMenuType()  : mixed
Retrieves the main menu item
getPreviousVersion()  : mixed
get a configuration item
getResultObj()  : mixed
Allows caller to set the data
getVersion()  : mixed
Get's the version of this launcher so we know which to install
hasUTF8mb4Support()  : mixed
Determine if mysql can support utf8mb4 or not.
installActionLogs()  : mixed
Inserts necessary data for action logs
installBlocks()  : mixed
Install blocks on the site
installPostTemplates()  : mixed
Install blocks on the site
installReactions()  : mixed
Install reactions on the site
isDevelopment()  : mixed
Determines if we are in development mode
isEasyblogVersion3()  : mixed
Determine if the previous version is valid or not
isMySQL()  : mixed
Determine if database is set to mysql or not.
output()  : mixed
outputDevelopment()  : mixed
Outputs development notice
removeFoundry()  : mixed
Removes foundry folder if it exists
setInfo()  : mixed
splitSql()  : mixed
Splits a string of multiple queries into an array of individual queries.
unpublishOldModule()  : mixed
Unpublish old module for EasyBlog
unpublishOldPlugin()  : mixed
updateACL()  : mixed
Update the ACL for EasyBlog
updateConfig()  : mixed
Saves a configuration item
updateElegantThemes()  : mixed
Migrate elegant themes
updateGoogleAnalyticsConfig()  : mixed
Re-map back old GA configs to use the new configs
updateJoomlaUpdater()  : mixed
Once the installation is completed, we need to update Joomla's update site table with the appropriate data
updateManifestCache()  : mixed
Update the manifest_cache column to ensure that Joomla knows this is the latest version
updatePastelThemes()  : mixed
Since we have removed greenie and pinky themes in 5.2, we need to update the current theme that the user uses.
updateZincThemes()  : mixed
Since we have removed zinc themes in 5.2, we need to update the current theme that the user uses.
checkDevelopmentMode()  : mixed
Checks for development mode
data()  : mixed

Properties

Methods

assignACL()

Assign acl rules to existing Joomla groups

public assignACL() : mixed
Tags
since
5.0
access

public

assignDefaultCategory()

Check and assign a default category for the site.

public assignDefaultCategory() : mixed
Tags
since
5.1
access

public

clearJoomlaUpdates()

When the user installs EasyBlog, we'll need to ensure that #__updates is also removed so that Joomla will not alert them about the upgrade again

public clearJoomlaUpdates() : mixed
Tags
since
5.1
access

public

convertUtf8mb4QueryToUtf8()

Convert utf8mb4 to utf8

public convertUtf8mb4QueryToUtf8(mixed $query) : mixed
Parameters
$query : mixed
Tags
since
5.2
access

public

createDefaultCategory()

Create a default category for the site

public createDefaultCategory() : mixed
Tags
since
5.1
access

public

createDefaultMenu()

Create a new default blog menu

public createDefaultMenu() : mixed
Tags
since
5.0.42
access

public

createDefaultViewMeta()

Create a default view meta for the site

public createDefaultViewMeta() : mixed
Tags
since
5.1
access

public

createSamplePost()

Create a sample post on the site

public createSamplePost() : mixed
Tags
since
5.1
access

public

deleteUnusedBlock()

The reason why need to add this is because we renamed the module element name from "module" to "modules" during Easyblog 6 RC 1 But the final fix can use back the original "module" element so we need to delete this "modules" row data everytime for those sites already have this "modules" element data #2813

public deleteUnusedBlock() : mixed
Tags
since
6.0.0
access

public

ebExtract()

method to extract zip file in installation part

public ebExtract(mixed $destination, mixed $extracted) : mixed
Parameters
$destination : mixed
$extracted : mixed
Tags
since
5.2
access

public

ebQuery()

method to execute query

public ebQuery(mixed $db) : mixed
Parameters
$db : mixed
Tags
since
5.2
access

public

engine()

Loads up the EasyBlog library if it exists

public engine() : mixed
Tags
since
4.0
access

public

execute()

Post installation process

public execute() : mixed
Tags
since
1.0
access

public

getExtensionId()

Retrieves the extension id

public getExtensionId() : mixed
Tags
since
5.0.42
access

public

getInfo()

Gets the info about the latest version

public getInfo([mixed $update = false ]) : mixed
Parameters
$update : mixed = false
Tags
since
5.0.42
access

public

getInstalledVersion()

Loads the previous version that was installed

public getInstalledVersion() : mixed
Tags
since
1.0
access

public

getJoomlaVersion()

Retrieve the Joomla Version

public getJoomlaVersion() : mixed
Tags
since
5.0
access

public

getMainMenuType()

Retrieves the main menu item

public getMainMenuType() : mixed
Tags
since
1.0
access

public

getPreviousVersion()

get a configuration item

public getPreviousVersion(mixed $versionType) : mixed
Parameters
$versionType : mixed
Tags
since
1.0
access

public

getResultObj()

Allows caller to set the data

public getResultObj(mixed $message, mixed $state[, mixed $stateMessage = '' ]) : mixed
Parameters
$message : mixed
$state : mixed
$stateMessage : mixed = ''
Tags
since
5.0
access

public

getVersion()

Get's the version of this launcher so we know which to install

public getVersion() : mixed
Tags
since
1.0
access

public

hasUTF8mb4Support()

Determine if mysql can support utf8mb4 or not.

public hasUTF8mb4Support() : mixed
Tags
since
5.2
access

public

installActionLogs()

Inserts necessary data for action logs

public installActionLogs() : mixed
Tags
since
5.3.0
access

public

installBlocks()

Install blocks on the site

public installBlocks() : mixed
Tags
since
5.1
access

public

installPostTemplates()

Install blocks on the site

public installPostTemplates() : mixed
Tags
since
5.0
access

public

installReactions()

Install reactions on the site

public installReactions() : mixed
Tags
since
5.1
access

public

isDevelopment()

Determines if we are in development mode

public isDevelopment() : mixed
Tags
since
1.2
access

public

isEasyblogVersion3()

Determine if the previous version is valid or not

public isEasyblogVersion3() : mixed
Tags
since
6.0.6
access

public

isMySQL()

Determine if database is set to mysql or not.

public isMySQL() : mixed
Tags
since
5.2
access

public

output()

public output([mixed $data = array() ]) : mixed
Parameters
$data : mixed = array()

outputDevelopment()

Outputs development notice

public outputDevelopment() : mixed
Tags
since
6.0.0
access

public

removeFoundry()

Removes foundry folder if it exists

public removeFoundry() : mixed
Tags
since
5.1
access

public

setInfo()

public setInfo(mixed $message[, mixed $state = true ][, mixed $args = array() ]) : mixed
Parameters
$message : mixed
$state : mixed = true
$args : mixed = array()

splitSql()

Splits a string of multiple queries into an array of individual queries.

public splitSql(mixed $contents) : mixed
Parameters
$contents : mixed
Tags
since
5.2
access

public

unpublishOldModule()

Unpublish old module for EasyBlog

public unpublishOldModule() : mixed
Tags
since
5.0
access

public

unpublishOldPlugin()

public unpublishOldPlugin() : mixed

updateACL()

Update the ACL for EasyBlog

public updateACL() : mixed
Tags
since
5.1
access

public

updateConfig()

Saves a configuration item

public updateConfig(mixed $key, mixed $value) : mixed
Parameters
$key : mixed
$value : mixed
Tags
since
5.1
access

public

updateElegantThemes()

Migrate elegant themes

public updateElegantThemes() : mixed
Tags
since
5.2.0
access

public

updateGoogleAnalyticsConfig()

Re-map back old GA configs to use the new configs

public updateGoogleAnalyticsConfig() : mixed
Tags
since
5.2.0
access

public

updateJoomlaUpdater()

Once the installation is completed, we need to update Joomla's update site table with the appropriate data

public updateJoomlaUpdater() : mixed
Tags
since
5.0.42
access

public

updateManifestCache()

Update the manifest_cache column to ensure that Joomla knows this is the latest version

public updateManifestCache() : mixed
Tags
since
5.1
access

public

updatePastelThemes()

Since we have removed greenie and pinky themes in 5.2, we need to update the current theme that the user uses.

public updatePastelThemes() : mixed
Tags
since
5.2.0
access

public

updateZincThemes()

Since we have removed zinc themes in 5.2, we need to update the current theme that the user uses.

public updateZincThemes() : mixed
Tags
since
5.2.0
access

public

checkDevelopmentMode()

Checks for development mode

protected checkDevelopmentMode() : mixed
Tags
since
6.0.0
access

public

data()

protected data(mixed $key, mixed $value) : mixed
Parameters
$key : mixed
$value : mixed

        
On this page

Search results