Method ::`->()
- Method `->
mixed
`->(string
index
,object
|void
context
,int
|void
access
)- Description
Builtin arrow operator.
- Parameter
index
Symbol in
context
to access.- Parameter
context
Context in the current object to start the search from. If
UNDEFINED
or left out,this_program::this
will be used (ie start at the current context and ignore any overloaded symbols).- Parameter
access
Access permission override. One of the following:
0
See only public symbols.
UNDEFINED
1
See protected symbols as well.
This function indexes the current object with the string
index
. This is useful when the arrow operator has been overloaded.- See also