PHP 클래스 Piwik\Plugins\Installation\Controller

상속: extends Piwik\Plugin\ControllerAdmin
파일 보기 프로젝트 열기: piwik/piwik

공개 프로퍼티들

프로퍼티 타입 설명
$steps

공개 메소드들

메소드 설명
databaseSetup ( ) Installation Step 3: Database Set-up
finished ( ) Installation Step 8: Finished!
firstWebsiteSetup ( ) Installation Step 6: Configure first web-site
getDefaultAction ( ) : string Get default action (first installation step)
getEmptyPageForSystemCheck ( ) : string System check will call this page which should load quickly, in order to look at Response headers (eg. to detect if pagespeed is running)
getInstallationCss ( ) : string Return the base.less compiled to css
getInstallationJs ( ) : string Return the base.less compiled to css
getInstallationSteps ( ) : array Get installation steps
hasEnoughTablesToReuseDb ( $tablesInstalled ) should be private but there's a bug in php 5.3.6
reuseTables ( )
saveLanguage ( ) Save language selection in session-store
setupSuperUser ( ) Installation Step 5: General Set-up (superuser login/password/email and subscriptions)
systemCheck ( ) Installation Step 2: System Check
systemCheckPage ( ) This controller action renders an admin tab that runs the installation system check, so people can see if there are any issues w/ their running Piwik installation.
tablesCreation ( ) Installation Step 4: Table Creation
trackingCode ( ) Installation Step 7: Display JavaScript tracking code
welcome ( ) Installation Step 1: Welcome

보호된 메소드들

메소드 설명
registerNewsletter ( $email, $newsletterPiwikORG, $newsletterProfessionalServices )
updateComponents ( ) : array | boolean

비공개 메소드들

메소드 설명
addTrustedHosts ( $siteUrl ) Add trusted hosts
checkPiwikIsNotInstalled ( )
createConfigFile ( $dbInfos ) Write configuration file from session-store
createSuperUser ( $login, $password, $email )
deleteConfigFileIfNeeded ( )
extractHost ( string $url ) : string | false Extract host from URL
getParam ( $name )
markInstallationAsCompleted ( ) Write configuration file from session-store
redirectToNextStep ( string $currentStep, $parameters = [] ) : void Redirect to next step
resetLanguageCookie ( )

메소드 상세

databaseSetup() 공개 메소드

Installation Step 3: Database Set-up
public databaseSetup ( )

finished() 공개 메소드

Installation Step 8: Finished!
public finished ( )

firstWebsiteSetup() 공개 메소드

Installation Step 6: Configure first web-site
public firstWebsiteSetup ( )

getDefaultAction() 공개 메소드

Get default action (first installation step)
public getDefaultAction ( ) : string
리턴 string function name

getEmptyPageForSystemCheck() 공개 메소드

System check will call this page which should load quickly, in order to look at Response headers (eg. to detect if pagespeed is running)

getInstallationCss() 공개 메소드

Return the base.less compiled to css
public getInstallationCss ( ) : string
리턴 string

getInstallationJs() 공개 메소드

Return the base.less compiled to css
public getInstallationJs ( ) : string
리턴 string

getInstallationSteps() 공개 메소드

Get installation steps
public getInstallationSteps ( ) : array
리턴 array installation steps

hasEnoughTablesToReuseDb() 공개 메소드

should be private but there's a bug in php 5.3.6
public hasEnoughTablesToReuseDb ( $tablesInstalled )

registerNewsletter() 보호된 메소드

protected registerNewsletter ( $email, $newsletterPiwikORG, $newsletterProfessionalServices )
$email
$newsletterPiwikORG
$newsletterProfessionalServices

reuseTables() 공개 메소드

public reuseTables ( )

saveLanguage() 공개 메소드

Save language selection in session-store
public saveLanguage ( )

setupSuperUser() 공개 메소드

Installation Step 5: General Set-up (superuser login/password/email and subscriptions)
public setupSuperUser ( )

systemCheck() 공개 메소드

Installation Step 2: System Check
public systemCheck ( )

systemCheckPage() 공개 메소드

This admin tab is only viewable by the Super User.
public systemCheckPage ( )

tablesCreation() 공개 메소드

Installation Step 4: Table Creation
public tablesCreation ( )

trackingCode() 공개 메소드

Installation Step 7: Display JavaScript tracking code
public trackingCode ( )

updateComponents() 보호된 메소드

protected updateComponents ( ) : array | boolean
리턴 array | boolean

welcome() 공개 메소드

Can also display an error message when there is a failure early (eg. DB connection failed)
public welcome ( )

프로퍼티 상세

$steps 공개적으로 프로퍼티

public $steps