PHP Class Gc\Datatype\AbstractDatatype\AbstractPrevalueEditor

Inheritance: extends Gc\Core\Object
Mostra file Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$datatype Gc\Datatype\AbstractDatatype Datatype

Public Methods

Method Description
__construct ( AbstractDatatype $datatypeAbstract ) Abstract function for save Editor
addPath ( string $dir ) : AbstractPrevalueEditor Add path in Zend\View\Resolver\TemplatePathStack
getConfig ( ) : void Get configuration
getDatatype ( ) : AbstractDatatype Get current datatype
getHelper ( string $name ) : mixed Retrieve helper from $name
getHelperManager ( ) : Zend\View\HelperPluginManager Get helper manager object
getRequest ( ) : Zend\Http\PhpEnvironment\Request Get request object
getRouter ( ) : Zend\Mvc\Router\Http\TreeRouteStack Get router object
load ( ) : void Abstract function for load Prevalue Editor
render ( string $name, array $data = [] ) : string Render template
save ( ) : void Abstract function for save Prevalue Editor
setConfig ( mixed $value ) : AbstractPrevalueEditor Set Configuration

Method Details

__construct() public method

Abstract function for save Editor
public __construct ( AbstractDatatype $datatypeAbstract )
$datatypeAbstract Gc\Datatype\AbstractDatatype Datatype

addPath() public method

Add path in Zend\View\Resolver\TemplatePathStack
public addPath ( string $dir ) : AbstractPrevalueEditor
$dir string Directory
return AbstractPrevalueEditor

getConfig() public method

Get configuration
public getConfig ( ) : void
return void

getDatatype() public method

Get current datatype
public getDatatype ( ) : AbstractDatatype
return Gc\Datatype\AbstractDatatype

getHelper() public method

Retrieve helper from $name
public getHelper ( string $name ) : mixed
$name string Name
return mixed

getHelperManager() public method

Get helper manager object
public getHelperManager ( ) : Zend\View\HelperPluginManager
return Zend\View\HelperPluginManager

getRequest() public method

Get request object
public getRequest ( ) : Zend\Http\PhpEnvironment\Request
return Zend\Http\PhpEnvironment\Request

getRouter() public method

Get router object
public getRouter ( ) : Zend\Mvc\Router\Http\TreeRouteStack
return Zend\Mvc\Router\Http\TreeRouteStack

load() abstract public method

Abstract function for load Prevalue Editor
abstract public load ( ) : void
return void

render() public method

Render template
public render ( string $name, array $data = [] ) : string
$name string Name
$data array Data
return string

save() abstract public method

Abstract function for save Prevalue Editor
abstract public save ( ) : void
return void

setConfig() public method

Set Configuration
public setConfig ( mixed $value ) : AbstractPrevalueEditor
$value mixed Value
return AbstractPrevalueEditor

Property Details

$datatype protected_oe property

Datatype
protected AbstractDatatype,Gc\Datatype $datatype
return Gc\Datatype\AbstractDatatype