PHP 클래스 Gc\View\Helper\Script

상속: extends Zend\View\Helper\AbstractHelper
파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$helperScriptParameters array Script parameter
$pluginManager Zend\Mvc\Controller\PluginManager Controller plugin manager
$request Zend\Http\PhpEnvironment\Request Http Request
$response Zend\Http\PhpEnvironment\Response Http Response
$serviceManager Zend\ServiceManager\ServiceManager Service manager

공개 메소드들

메소드 설명
__call ( string $method, array $params ) : mixed Method overloading: return/call plugins
__construct ( Zend\ServiceManager\ServiceManager $serviceManager ) Constructor
__invoke ( string $identifier, array $params = [] ) : mixed Returns script from identifier.
getDocument ( ) : Model Returns param from name.
getParam ( string $name ) : mixed Returns param from name.
getRequest ( ) : Zend\Http\PhpEnvironment\Request Get Http Request instance.
getResponse ( ) : Zend\Http\PhpEnvironment\Response Get Http Response instance.
getServiceLocator ( ) : Zend\ServiceManager\ServiceManager Retrieve serviceManager instance
plugin ( string $name, array $options = null ) : mixed Get plugin instance

메소드 상세

__call() 공개 메소드

If the plugin is a functor, call it, passing the parameters provided. Otherwise, return the plugin instance.
public __call ( string $method, array $params ) : mixed
$method string Method
$params array Parameters
리턴 mixed

__construct() 공개 메소드

Constructor
public __construct ( Zend\ServiceManager\ServiceManager $serviceManager )
$serviceManager Zend\ServiceManager\ServiceManager Service manager

__invoke() 공개 메소드

Returns script from identifier.
public __invoke ( string $identifier, array $params = [] ) : mixed
$identifier string Identifier
$params array Parameters
리턴 mixed

getDocument() 공개 메소드

Returns param from name.
public getDocument ( ) : Model
리턴 Gc\Document\Model

getParam() 공개 메소드

Returns param from name.
public getParam ( string $name ) : mixed
$name string Parameter name
리턴 mixed

getRequest() 공개 메소드

Get Http Request instance.
public getRequest ( ) : Zend\Http\PhpEnvironment\Request
리턴 Zend\Http\PhpEnvironment\Request

getResponse() 공개 메소드

Get Http Response instance.
public getResponse ( ) : Zend\Http\PhpEnvironment\Response
리턴 Zend\Http\PhpEnvironment\Response

getServiceLocator() 공개 메소드

Retrieve serviceManager instance
public getServiceLocator ( ) : Zend\ServiceManager\ServiceManager
리턴 Zend\ServiceManager\ServiceManager

plugin() 공개 메소드

Get plugin instance
public plugin ( string $name, array $options = null ) : mixed
$name string Name of plugin to return
$options array Options to pass to plugin constructor (if not already instantiated)
리턴 mixed

프로퍼티 상세

$helperScriptParameters 보호되어 있는 프로퍼티

Script parameter
protected array $helperScriptParameters
리턴 array

$pluginManager 보호되어 있는 프로퍼티

Controller plugin manager
protected PluginManager,Zend\Mvc\Controller $pluginManager
리턴 Zend\Mvc\Controller\PluginManager

$request 보호되어 있는 프로퍼티

Http Request
protected Request,Zend\Http\PhpEnvironment $request
리턴 Zend\Http\PhpEnvironment\Request

$response 보호되어 있는 프로퍼티

Http Response
protected Response,Zend\Http\PhpEnvironment $response
리턴 Zend\Http\PhpEnvironment\Response

$serviceManager 보호되어 있는 프로퍼티

Service manager
protected ServiceManager,Zend\ServiceManager $serviceManager
리턴 Zend\ServiceManager\ServiceManager