PublicTemplateResponse

class OCP\AppFramework\Http\Template\PublicTemplateResponse
Class PublicTemplateResponse
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#36
Parent:OCP\AppFramework\Http\TemplateResponse

Properties

Methods

public OCP\AppFramework\Http\Template\PublicTemplateResponse::__construct($appName, $templateName, $params=[])
PublicTemplateResponse constructor.
Source:

lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#50

Parameters:
  • $appName (string)
  • $templateName (string)
  • $params (array)
Since:

14.0.0

public OCP\AppFramework\Http\Template\PublicTemplateResponse::setHeaderTitle($title)
Source:

lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#59

Parameters:
  • $title (string)
Since:

14.0.0

public OCP\AppFramework\Http\Template\PublicTemplateResponse::getHeaderTitle()
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#67
Returns:string
Since:14.0.0
public OCP\AppFramework\Http\Template\PublicTemplateResponse::setHeaderDetails($details)
Source:

lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#75

Parameters:
  • $details (string)
Since:

14.0.0

public OCP\AppFramework\Http\Template\PublicTemplateResponse::getHeaderDetails()
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#83
Returns:string
Since:14.0.0
public OCP\AppFramework\Http\Template\PublicTemplateResponse::setHeaderActions($actions)
Source:

lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#92

Parameters:
  • $actions (array)
Since:

14.0.0

Throws:

\InvalidArgumentException

public OCP\AppFramework\Http\Template\PublicTemplateResponse::getPrimaryAction()
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#109
Returns:\OCP\AppFramework\Http\Template\IMenuAction
Since:14.0.0
Throws:\Exception
public OCP\AppFramework\Http\Template\PublicTemplateResponse::getActionCount()
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#120
Returns:int
Since:14.0.0
public OCP\AppFramework\Http\Template\PublicTemplateResponse::getOtherActions()
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#128
Returns:\OCP\AppFramework\Http\Template\IMenuAction[]
Since:14.0.0
public OCP\AppFramework\Http\Template\PublicTemplateResponse::setFooterVisible($visible=false)
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#135
Since:14.0.0
public OCP\AppFramework\Http\Template\PublicTemplateResponse::getFooterVisible()
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#142
Since:14.0.0
public OCP\AppFramework\Http\Template\PublicTemplateResponse::render()
Source:lib/public/AppFramework/Http/Template/PublicTemplateResponse.php#150
Returns:string
Since:14.0.0