Liferay 6.0.5

com.liferay.util.bridges.php
Class PHPPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by com.liferay.util.bridges.php.PHPPortlet
All Implemented Interfaces:
EventPortlet, Portlet, PortletConfig, ResourceServingPortlet

public class PHPPortlet
extends GenericPortlet


Field Summary
protected  boolean addPortletParams
           
protected  String editUri
           
protected  String helpUri
           
protected  javax.servlet.http.HttpServlet quercusServlet
           
protected  ServletObjectsFactory servletObjectsFactory
           
protected  String viewUri
           
 
Constructor Summary
PHPPortlet()
           
 
Method Summary
 void destroy()
           
 void doDispatch(RenderRequest renderRequest, RenderResponse renderResponse)
           
 void doEdit(RenderRequest renderRequest, RenderResponse renderResponse)
           
 void doHelp(RenderRequest renderRequest, RenderResponse renderResponse)
           
 void doView(RenderRequest renderRequest, RenderResponse renderResponse)
           
 void init(PortletConfig portletConfig)
           
protected  void initQuercus(javax.servlet.ServletConfig servletConfig)
           
 void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  void processPHP(String phpURI, RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  String rewriteURLs(String page, PortletURL portletURL)
           
 
Methods inherited from class javax.portlet.GenericPortlet
doHeaders, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processEvent, render, serveResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editUri

protected String editUri

helpUri

protected String helpUri

viewUri

protected String viewUri

addPortletParams

protected boolean addPortletParams

servletObjectsFactory

protected ServletObjectsFactory servletObjectsFactory

quercusServlet

protected javax.servlet.http.HttpServlet quercusServlet
Constructor Detail

PHPPortlet

public PHPPortlet()
Method Detail

init

public void init(PortletConfig portletConfig)
          throws PortletException
Specified by:
init in interface Portlet
Overrides:
init in class GenericPortlet
Throws:
PortletException

doDispatch

public void doDispatch(RenderRequest renderRequest,
                       RenderResponse renderResponse)
                throws IOException,
                       PortletException
Overrides:
doDispatch in class GenericPortlet
Throws:
IOException
PortletException

doEdit

public void doEdit(RenderRequest renderRequest,
                   RenderResponse renderResponse)
            throws IOException,
                   PortletException
Overrides:
doEdit in class GenericPortlet
Throws:
IOException
PortletException

doHelp

public void doHelp(RenderRequest renderRequest,
                   RenderResponse renderResponse)
Overrides:
doHelp in class GenericPortlet

doView

public void doView(RenderRequest renderRequest,
                   RenderResponse renderResponse)
Overrides:
doView in class GenericPortlet

processAction

public void processAction(ActionRequest actionRequest,
                          ActionResponse actionResponse)
Specified by:
processAction in interface Portlet
Overrides:
processAction in class GenericPortlet

destroy

public void destroy()
Specified by:
destroy in interface Portlet
Overrides:
destroy in class GenericPortlet

initQuercus

protected void initQuercus(javax.servlet.ServletConfig servletConfig)
                    throws PortletException
Throws:
PortletException

processPHP

protected void processPHP(String phpURI,
                          RenderRequest renderRequest,
                          RenderResponse renderResponse)

rewriteURLs

protected String rewriteURLs(String page,
                             PortletURL portletURL)

Liferay 6.0.5