TemplateLayout¶
-
class
OC\TemplateLayout¶ Source: lib/private/TemplateLayout.php#59 Parent: OC_Template
Properties¶
Methods¶
-
public
OC\TemplateLayout::__construct($renderAs, $appId="")¶ Source: Parameters: - $renderAs (string)
- $appId (string) application id
-
protected
OC\TemplateLayout::getVersionHashSuffix($path=false, $file=false)¶ Source: Parameters: - $path (string)
- $file (string)
Returns: string
-
public static
OC\TemplateLayout::findStylesheetFiles($styles, $compileScss=true)¶ Source: Parameters: - $styles (array)
Returns: array
-
public
OC\TemplateLayout::getAppNamefromPath($path)¶ Source: Parameters: - $path (string)
Returns: string | bool
-
public static
OC\TemplateLayout::findJavascriptFiles($scripts)¶ Source: Parameters: - $scripts (array)
Returns: array
-
public static
OC\TemplateLayout::convertToRelativePath($filePath)¶ - Converts the absolute file path to a relative path from \OC::$SERVERROOT
Source: Parameters: - $filePath (string) Absolute path
Returns: string Relative path
Throws: \ExceptionIf $filePath is not under \OC::$SERVERROOT