TinCan.SubStatement Class
Constructor
TinCan.SubStatement
(
-
[cfg]
Parameters:
-
[cfg]
Object optionalConfiguration used to initialize.
-
[actor]
TinCan.Agent optionalActor of statement
-
[verb]
TinCan.Verb optionalVerb of statement
-
[object]
TinCan.Activity | TinCan.Agent optionalAlias for 'target'
-
[target]
TinCan.Activity | TinCan.Agent optionalObject of statement
-
[result]
TinCan.Result optionalStatement Result
-
[context]
TinCan.Context optionalStatement Context
-
Item Index
Methods
asVersion
(
-
[version]
Parameters:
-
[version]
String optionalVersion to return (defaults to newest supported)
fromJSON
()
Object
static
Returns:
Object:
SubStatement
init
(
-
[options]
Parameters:
-
[options]
Object optionalConfiguration used to initialize (see constructor)
log
()
toString
()
String
Returns:
String:
String representation of the statement
Properties
actor
Object
context
Object
LOG_SRC
Unknown
objectType
String
Default: Agent