Method ::`->()
- Method `->
mixed`->(stringindex,object|voidcontext,int|voidaccess)- Description
Builtin arrow operator.
- Parameter
index Symbol in
contextto access.- Parameter
context Context in the current object to start the search from. If
UNDEFINEDor left out,this_program::thiswill be used (ie start at the current context and ignore any overloaded symbols).- Parameter
access Access permission override. One of the following:
0See only public symbols.
UNDEFINED1See 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