PHP Class Newscoop\Controller\Plugin\Js

Inheritance: extends Zend_Controller_Plugin_Abstrac\Zend_Controller_Plugin_Abstract
Show file Open project: sourcefabric/newscoop

Public Properties

Property Type Description
$view Zend_View

Protected Properties

Property Type Description
$_basePath string physical path, if you don't set this you need to have a 404 handler with .htaccess, like originally designed
$_baseUrn string ! will be incomplete after constructor, full in postDispatch
$_fileSuffix string Js file suffix/extension
$_sharedFileName string The shared js file to be included with every request

Public Methods

Method Description
__construct ( array $p_opts ) jsPath is for those who don't have a propper server config in the js folder
postDispatch ( Zend_Controller_Request_Abstract $p_request )

Method Details

__construct() public method

jsPath is for those who don't have a propper server config in the js folder
public __construct ( array $p_opts )
$p_opts array {..., layout : { jsUrl : string, [ jsPath : string ] }, ... }

postDispatch() public method

public postDispatch ( Zend_Controller_Request_Abstract $p_request )
$p_request Zend_Controller_Request_Abstract

Property Details

$_basePath protected property

physical path, if you don't set this you need to have a 404 handler with .htaccess, like originally designed
protected string $_basePath
return string

$_baseUrn protected property

! will be incomplete after constructor, full in postDispatch
protected string $_baseUrn
return string

$_fileSuffix protected property

Js file suffix/extension
protected string $_fileSuffix
return string

$_sharedFileName protected property

The shared js file to be included with every request
protected string $_sharedFileName
return string

$view public property

public Zend_View $view
return Zend_View