TemplateFileCreator

class OCP\Files\Template\TemplateFileCreator
Source:lib/public/Files/Template/TemplateFileCreator.php#31
Implements:JsonSerializable

Properties

protected static property OCP\Files\Template\TemplateFileCreator::$appId
Source:lib/public/Files/Template/TemplateFileCreator.php#32
protected static property OCP\Files\Template\TemplateFileCreator::$mimetypes
Source:lib/public/Files/Template/TemplateFileCreator.php#33
protected static property OCP\Files\Template\TemplateFileCreator::$actionName
Source:lib/public/Files/Template/TemplateFileCreator.php#34
protected static property OCP\Files\Template\TemplateFileCreator::$fileExtension
Source:lib/public/Files/Template/TemplateFileCreator.php#35
protected static property OCP\Files\Template\TemplateFileCreator::$iconClass
Source:lib/public/Files/Template/TemplateFileCreator.php#36
protected static property OCP\Files\Template\TemplateFileCreator::$ratio
Source:lib/public/Files/Template/TemplateFileCreator.php#37
protected static property OCP\Files\Template\TemplateFileCreator::$order
Source:lib/public/Files/Template/TemplateFileCreator.php#38

Methods

public OCP\Files\Template\TemplateFileCreator::__construct($appId, $actionName, $fileExtension)
Source:lib/public/Files/Template/TemplateFileCreator.php#43
Since:21.0.0
public OCP\Files\Template\TemplateFileCreator::getAppId()
Source:lib/public/Files/Template/TemplateFileCreator.php#54
Since:21.0.0
public OCP\Files\Template\TemplateFileCreator::setIconClass($iconClass)
Source:lib/public/Files/Template/TemplateFileCreator.php#61
Since:21.0.0
public OCP\Files\Template\TemplateFileCreator::addMimetype($mimetype)
Source:lib/public/Files/Template/TemplateFileCreator.php#69
Since:21.0.0
public OCP\Files\Template\TemplateFileCreator::getMimetypes()
Source:lib/public/Files/Template/TemplateFileCreator.php#77
Since:21.0.0
public OCP\Files\Template\TemplateFileCreator::setRatio($ratio)
Source:lib/public/Files/Template/TemplateFileCreator.php#84
Since:21.0.0
public OCP\Files\Template\TemplateFileCreator::setOrder($order)
Source:

lib/public/Files/Template/TemplateFileCreator.php#93

Parameters:
  • $order (int) order in which the create action shall be listed
Since:

21.0.0

public OCP\Files\Template\TemplateFileCreator::getOrder()
Source:lib/public/Files/Template/TemplateFileCreator.php#101
Since:21.0.0
public OCP\Files\Template\TemplateFileCreator::jsonSerialize()
Source:lib/public/Files/Template/TemplateFileCreator.php#108
Since:21.0.0