SceneTemplate
in package
Uses
UserAssignable
Class SceneTemplates.
Tags
Table of Contents
- $class : string
- $module : string
- $userAssignable : bool
- $owningScenes : Collection
- $owningViewpoints : Collection
- __construct() : mixed
- SceneTemplates constructor.
- getClass() : string
- getModule() : string
- getOwningScenes() : Collection
- getOwningViewpoints() : Collection
- isUserAssignable() : bool
- setUserAssignable() : mixed
- Changes whether the template should be able to get manually assigned to a template or not.
Properties
$class
protected
string
$class
Tags
$module
protected
string
$module
Tags
$userAssignable
protected
bool
$userAssignable
= true
Tags
$owningScenes
private
Collection
$owningScenes
Tags
$owningViewpoints
private
Collection
$owningViewpoints
Tags
Methods
__construct()
SceneTemplates constructor.
public
__construct(string $class, string $module[, bool $userAssignable = true ]) : mixed
Parameters
- $class : string
-
FQCN of the scene handling class.
- $module : string
-
Module from where the class is from.
- $userAssignable : bool = true
-
Set to false to flag the scene as not-assignable for the user.
Tags
Return values
mixed —getClass()
public
getClass() : string
Return values
string —The class name of the template.
getModule()
public
getModule() : string
Return values
string —getOwningScenes()
public
getOwningScenes() : Collection
Return values
Collection —getOwningViewpoints()
public
getOwningViewpoints() : Collection
Return values
Collection —isUserAssignable()
public
isUserAssignable() : bool
Return values
bool —setUserAssignable()
Changes whether the template should be able to get manually assigned to a template or not.
public
setUserAssignable([bool $flag = true ]) : mixed
Parameters
- $flag : bool = true