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
$result
private
mixed
$result
= array()
Methods
__construct()
public
__construct() : mixed
assignACL()
Assign acl rules to existing Joomla groups
public
assignACL() : mixed
Tags
assignDefaultCategory()
Check and assign a default category for the site.
public
assignDefaultCategory() : mixed
Tags
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
convertUtf8mb4QueryToUtf8()
Convert utf8mb4 to utf8
public
convertUtf8mb4QueryToUtf8(mixed $query) : mixed
Parameters
- $query : mixed
Tags
createDefaultCategory()
Create a default category for the site
public
createDefaultCategory() : mixed
Tags
createDefaultMenu()
Create a new default blog menu
public
createDefaultMenu() : mixed
Tags
createDefaultViewMeta()
Create a default view meta for the site
public
createDefaultViewMeta() : mixed
Tags
createSamplePost()
Create a sample post on the site
public
createSamplePost() : mixed
Tags
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
ebExtract()
method to extract zip file in installation part
public
ebExtract(mixed $destination, mixed $extracted) : mixed
Parameters
- $destination : mixed
- $extracted : mixed
Tags
ebQuery()
method to execute query
public
ebQuery(mixed $db) : mixed
Parameters
- $db : mixed
Tags
engine()
Loads up the EasyBlog library if it exists
public
engine() : mixed
Tags
execute()
Post installation process
public
execute() : mixed
Tags
getExtensionId()
Retrieves the extension id
public
getExtensionId() : mixed
Tags
getInfo()
Gets the info about the latest version
public
getInfo([mixed $update = false ]) : mixed
Parameters
- $update : mixed = false
Tags
getInstalledVersion()
Loads the previous version that was installed
public
getInstalledVersion() : mixed
Tags
getJoomlaVersion()
Retrieve the Joomla Version
public
getJoomlaVersion() : mixed
Tags
getMainMenuType()
Retrieves the main menu item
public
getMainMenuType() : mixed
Tags
getPreviousVersion()
get a configuration item
public
getPreviousVersion(mixed $versionType) : mixed
Parameters
- $versionType : mixed
Tags
getResultObj()
Allows caller to set the data
public
getResultObj(mixed $message, mixed $state[, mixed $stateMessage = '' ]) : mixed
Parameters
- $message : mixed
- $state : mixed
- $stateMessage : mixed = ''
Tags
getVersion()
Get's the version of this launcher so we know which to install
public
getVersion() : mixed
Tags
hasUTF8mb4Support()
Determine if mysql can support utf8mb4 or not.
public
hasUTF8mb4Support() : mixed
Tags
installActionLogs()
Inserts necessary data for action logs
public
installActionLogs() : mixed
Tags
installBlocks()
Install blocks on the site
public
installBlocks() : mixed
Tags
installPostTemplates()
Install blocks on the site
public
installPostTemplates() : mixed
Tags
installReactions()
Install reactions on the site
public
installReactions() : mixed
Tags
isDevelopment()
Determines if we are in development mode
public
isDevelopment() : mixed
Tags
isEasyblogVersion3()
Determine if the previous version is valid or not
public
isEasyblogVersion3() : mixed
Tags
isMySQL()
Determine if database is set to mysql or not.
public
isMySQL() : mixed
Tags
output()
public
output([mixed $data = array() ]) : mixed
Parameters
- $data : mixed = array()
outputDevelopment()
Outputs development notice
public
outputDevelopment() : mixed
Tags
removeFoundry()
Removes foundry folder if it exists
public
removeFoundry() : mixed
Tags
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
unpublishOldModule()
Unpublish old module for EasyBlog
public
unpublishOldModule() : mixed
Tags
unpublishOldPlugin()
public
unpublishOldPlugin() : mixed
updateACL()
Update the ACL for EasyBlog
public
updateACL() : mixed
Tags
updateConfig()
Saves a configuration item
public
updateConfig(mixed $key, mixed $value) : mixed
Parameters
- $key : mixed
- $value : mixed
Tags
updateElegantThemes()
Migrate elegant themes
public
updateElegantThemes() : mixed
Tags
updateGoogleAnalyticsConfig()
Re-map back old GA configs to use the new configs
public
updateGoogleAnalyticsConfig() : mixed
Tags
updateJoomlaUpdater()
Once the installation is completed, we need to update Joomla's update site table with the appropriate data
public
updateJoomlaUpdater() : mixed
Tags
updateManifestCache()
Update the manifest_cache column to ensure that Joomla knows this is the latest version
public
updateManifestCache() : mixed
Tags
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
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
checkDevelopmentMode()
Checks for development mode
protected
checkDevelopmentMode() : mixed
Tags
data()
protected
data(mixed $key, mixed $value) : mixed
Parameters
- $key : mixed
- $value : mixed