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

  • ApplyInvoiceLateFees
  • ApplyPayments
  • Autodebit
  • BackupsAmazons3
  • BackupsSftp
  • CancelScheduledServices
  • CardExpirationReminders
  • CleanupLogs
  • CreateInvoices
  • DeliverInvoices
  • DeliverReports
  • ExchangeRates
  • LicenseValidation
  • Module
  • PaymentReminders
  • Plugin
  • ProcessRenewingServices
  • ProcessServiceChanges
  • ProvisionPendingServices
  • SuspendServices
  • UnsuspendServices
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class UnsuspendServices

The unsuspend_services automation task

Blesta\Core\Automation\Tasks\Common\AbstractTask implements Blesta\Core\Automation\Tasks\Common\LoggableInterface, Blesta\Core\Automation\Tasks\Common\RunnableInterface
Extended by Blesta\Core\Automation\Tasks\Common\StaffNoticeTask
Extended by Blesta\Core\Automation\Tasks\Task\UnsuspendServices
Namespace: Blesta\Core\Automation\Tasks\Task
Package: blesta\core\Automation\Tasks\Task
Copyright: Copyright (c) 2018, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at core/Automation/Tasks/Task/UnsuspendServices.php
Methods summary
public
# __construct( Blesta\Core\Automation\Type\Common\AutomationTypeInterface $task, array $options = [] )

Initialize a new task

Initialize a new task

Parameters

$task
The raw automation task
$options

An additional options necessary for the task:

  • print_log True to print logged content to stdout, or false otherwise (default false)
  • cli True if this is being run via the Command-Line Interface, or false otherwise (default true)
  • client_uri The URI of the client interface

Overrides

Blesta\Core\Automation\Tasks\Common\StaffNoticeTask::__construct()
public
# run( )

Executes the task

Executes the task

protected boolean
# isTimeToRun( )

Determines whether this task can run at the given date

Determines whether this task can run at the given date

Returns

boolean
True if it is time for the task to run, or false otherwise
Methods inherited from Blesta\Core\Automation\Tasks\Common\StaffNoticeTask
sendServiceCancelError(), sendServiceCreateError(), sendServiceRenewalError(), sendServiceSuspendError(), sendServiceUnsuspendError()
Methods inherited from Blesta\Core\Automation\Tasks\Common\AbstractTask
isCurrentDay(), loadLanguage(), log(), logComplete(), resetErrors(), setDate()
Properties inherited from Blesta\Core\Automation\Tasks\Common\AbstractTask
$date, $logger, $options, $task
Blesta API documentation generated by ApiGen