Blesta Source Documentation

AutomationTypeInterface

Simple interface for defining automation type methods

Table of Contents

Methods

canRun() Determines whether the automation type can be run given a date
raw() Retrieves the raw automation data
Methods

canRun()

Determines whether the automation type can be run given a date

public canRun(string $date) : bool
Parameters
$date : string

A date timestamp representing the date the automation type may be run at

Return values
bool

True if the automation type may be run, or false otherwise

raw()

Retrieves the raw automation data

public raw() : mixed
Return values
mixed

The raw automation data

Tags
subpackage

core.Automation.Type.Common

copyright

Copyright (c) 2018, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results