Overview

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • auth
        • ldap
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
      • exchange
        • rates
          • currency
            • layer
          • fixer
          • open
            • exchange
              • rates
          • x
            • rates
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • perforated
            • invoice
          • quickbooks
            • invoice
          • templates
            • default
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • reports
        • aging
          • invoices
        • client
          • data
            • portability
        • custom
          • report
        • invoice
          • creation
        • package
          • revenue
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • core
      • Automation
        • Tasks
          • Common
          • Task
        • Type
          • Common
          • Cron
      • Pricing
        • ItemComparator
        • MetaItem
        • Modifier
          • Type
            • Description
              • Type
                • Discount
                • Option
                • Service
                • Tax
            • Discount
            • Price
            • Proration
        • Presenter
          • Build
            • Invoice
            • InvoiceData
            • Options
            • Service
            • ServiceChange
            • ServiceData
          • Collection
          • Format
            • Fields
            • Type
              • Discount
              • Item
              • Option
              • Options
              • Package
              • Pricing
              • Service
              • Tax
          • Items
            • Invoice
            • Service
          • Type
      • ServiceProviders
      • Util
        • Captcha
          • Captchas
          • Common
        • Common
          • Traits
        • Events
          • Common
          • Handlers
          • Observers
        • Filters
          • Common
        • GeoIp
        • Input
          • Fields
            • Common
        • Tax
        • Widgets
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • helpers
      • color
      • data
        • structure
  • None
  • PHP

Classes

  • Upgrade3_0_0A4
  • Upgrade3_0_0A5
  • Upgrade3_0_0A6
  • Upgrade3_0_0A7
  • Upgrade3_0_0B1
  • Upgrade3_0_0B2
  • Upgrade3_0_0B3
  • Upgrade3_0_0B6
  • Upgrade3_0_0B7
  • Upgrade3_0_2
  • Upgrade3_0_3
  • Upgrade3_0_4
  • Upgrade3_1_0B1
  • Upgrade3_1_1
  • Upgrade3_1_2
  • Upgrade3_2_0B1
  • Upgrade3_2_1
  • Upgrade3_3_0B1
  • Upgrade3_3_0B2
  • Upgrade3_3_2
  • Upgrade3_4_0
  • Upgrade3_4_0B1
  • Upgrade3_4_3
  • Upgrade3_5_0B1
  • Upgrade3_5_0B2
  • Upgrade3_5_0B4
  • Upgrade3_5_1
  • Upgrade3_6_0B1
  • Upgrade3_6_2
  • Upgrade4_0_0B1
  • Upgrade4_0_0B2
  • Upgrade4_0_0B6
  • Upgrade4_10_0B1
  • Upgrade4_11_0B1
  • Upgrade4_12_0B1
  • Upgrade4_12_1
  • Upgrade4_1_0B1
  • Upgrade4_1_1
  • Upgrade4_2_0B1
  • Upgrade4_2_0B2
  • Upgrade4_2_2
  • Upgrade4_3_0B1
  • Upgrade4_4_0B1
  • Upgrade4_5_0B1
  • Upgrade4_6_0
  • Upgrade4_6_0B1
  • Upgrade4_7_0B1
  • Upgrade4_8_0B1
  • Upgrade4_9_0B1
  • Upgrade4_9_1
  • Upgrade5_0_0B1
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class Upgrade4_0_0B2

Upgrades to version 4.0.0-b2

UpgradeUtil
Extended by Upgrade4_0_0B2
Package: blesta\components\upgrades\tasks
Copyright: Copyright (c) 2016, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/upgrades/tasks/upgrade4_0_0_b2.php
Methods summary
public
# __construct( )

Setup

Setup

public
# tasks( )

Returns a numerically indexed array of tasks to execute for the upgrade process

Returns a numerically indexed array of tasks to execute for the upgrade process

Retrun

array A numerically indexed array of tasks to execute for the upgrade process
public
# process( string $task )

Processes the given task

Processes the given task

Parameters

$task
The task to process
public
# rollback( )

Rolls back all tasks completed for the upgrade process

Rolls back all tasks completed for the upgrade process

public
# addVoidInvoiceSetting( boolean $undo = false )

Adds a new setting to handle voiding invoices associated with a service that is canceled

Adds a new setting to handle voiding invoices associated with a service that is canceled

Parameters

$undo
Whether to add or undo the change
Methods inherited from UpgradeUtil
addConfig(), editConfig(), errors(), mergeConfig(), newRecord(), replaceConfig()
Blesta API documentation generated by ApiGen