Liferay 6.2-ce-ga5

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  com.caucho.quercus.servlet.QuercusServlet quercusServlet
           
protected  ServletObjectsFactory servletObjectsFactory
           
protected  String viewUri
           
 
Fields inherited from class javax.portlet.GenericPortlet
AUTOMATIC_RESOURCE_DISPATCH
 
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

addPortletParams

protected boolean addPortletParams

editUri

protected String editUri

helpUri

protected String helpUri

quercusServlet

protected com.caucho.quercus.servlet.QuercusServlet quercusServlet

servletObjectsFactory

protected ServletObjectsFactory servletObjectsFactory

viewUri

protected String viewUri
Constructor Detail

PHPPortlet

public PHPPortlet()
Method Detail

destroy

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

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

init

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

processAction

public void processAction(ActionRequest actionRequest,
                          ActionResponse actionResponse)
Specified by:
processAction in interface Portlet
Overrides:
processAction 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.2-ce-ga5