Blesta Source Documentation

Plugins extends Component

Factory class for creating Plugin handler objects

Table of Contents

Properties

$components
$helpers
$models

Methods

__construct()
create() Creates and returns an instance of the given plugin handler
Properties
Methods

create()

Creates and returns an instance of the given plugin handler

public static create(string $plugin_name) : object
Parameters
$plugin_name : string

The name of the Plugin handler to load

Tags
throws
Exception

Thrown if the $plugin_name is not a recognized plugin handler or does not inherit from the appropriate parent.

Return values
object

An instance of the requested Plugin handler

Tags
subpackage

components.plugins

copyright

Copyright (c) 2010, Phillips Data, Inc.

license

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

link

Blesta


        
On this page

Search results