Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • _404
  • AdminBilling
  • AdminClient
  • AdminClients
  • AdminCompanyAutomation
  • AdminCompanyBilling
  • AdminCompanyCurrencies
  • AdminCompanyCustomfields
  • AdminCompanyEmails
  • AdminCompanyGateways
  • AdminCompanyGeneral
  • AdminCompanyGroups
  • AdminCompanyModules
  • AdminCompanyPlugins
  • AdminCompanyTaxes
  • AdminDialog
  • AdminLicense
  • AdminLogin
  • AdminLogout
  • AdminMain
  • AdminMyinfo
  • AdminPackages
  • AdminSearch
  • AdminSettings
  • AdminSystemApi
  • AdminSystemAutomation
  • AdminSystemBackup
  • AdminSystemCompanies
  • AdminSystemGeneral
  • AdminSystemHelp
  • AdminSystemMarketplace
  • AdminSystemStaff
  • AdminSystemThemes
  • AdminSystemUpgrade
  • AdminTests
  • AdminTheme
  • AdminTools
  • Api
  • Callback
  • ClientAccounts
  • ClientContacts
  • ClientDialog
  • ClientInvoices
  • ClientLogin
  • ClientLogout
  • ClientMain
  • ClientPay
  • ClientServices
  • ClientTheme
  • ClientTransactions
  • Cron
  • Install
  • Main
  • Upgrade
  • Uploads

Class Install

Handle the installation process via web or command line

Controller
Extended by Install
Package: blesta\app\controllers
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/controllers/install.php

Methods summary

public
# __construct( )

Set up

Set up

Overrides

Controller::__construct
private
# processCli( )

Process CLI installation

Process CLI installation

private
# agreeCli( )

Agree to terms and conditions

Agree to terms and conditions

private
# systemRequirementsCli( )

Handle system requirements check

Handle system requirements check

private
# databaseCli( )

Collect DB information, verify credentials and run DB installation

Collect DB information, verify credentials and run DB installation

private false
# writeConfig( )

Write the config file details

Write the config file details

Returns

false
If the file could not be renamed (e.g. written to)
public
# index( )

Install

Install

Overrides

Controller::index
private
# postInstall( )

Finish the installation process by generating key pairs and installing base plugins

Finish the installation process by generating key pairs and installing base plugins

private
# tmpDir( )

Determine the location of the temp directory on this system

Determine the location of the temp directory on this system

protected array
# getMinReq( )

Returns an array of minimum requirements

Returns an array of minimum requirements

Returns

array
An associative array of requirements
protected array
# getRecReq( )

Returns an array of recommended requirements

Returns an array of recommended requirements

Returns

array
An associative array of requirements
protected mixed
# meetsMinReq( )

Checks to ensure that the current system meets the required minimum requirements.

Checks to ensure that the current system meets the required minimum requirements.

Returns

mixed
Boolean true if all requirements met, an array of failed requirements on failure
protected mixed
# meetsRecReq( )

Checks to ensure that the current system meets the recommended minimum requirements.

Checks to ensure that the current system meets the recommended minimum requirements.

Returns

mixed
Boolean true on success, an array of failed requirements on failure
protected array
# systemInfo( mixed $fields = "all" )

Creates a data dump of current system settings for the given field or fields.

Creates a data dump of current system settings for the given field or fields.

Parameters

$fields
mixed
$fields The system info field to fetch or "all", or an array of system info fields (server, ini, ext, php)

Returns

array
An array of system data
protected string
# getOs( )

Determine the operating system on this system

Determine the operating system on this system

Returns

string
A 3-character OS name (e.g. LIN or WIN)

Methods inherited from Controller

clearCache(), components(), draw(), emptyCache(), helpers(), partial(), postAction(), preAction(), redirect(), render(), set(), setDefaultViewPath(), startCaching(), stopCaching(), uses()

Magic methods summary

Properties summary

private array $db_info
#

An array of database connection details

An array of database connection details

private boolean $installed
#

True if already installed, false otherwise

True if already installed, false otherwise

Properties inherited from Controller

$action, $components, $controller, $files, $get, $helpers, $is_cli, $plugin, $post, $structure, $structure_view, $uri, $uri_str, $uses, $view

Blesta API documentation generated by ApiGen 2.8.0