Method MasterObject()->cast_to_object()
- Method
cast_to_object
objectcast_to_object(stringoname,stringcurrent_file,CompilationHandler|voidcurrent_handler)- Description
This function is called when the drivers wants to cast a string to an object because of an implict or explicit cast. This function may also receive more arguments in the future.
- Method
cast_to_object
objectcast_to_object(stringstr,string|voidcurrent_file)- Description
Called by the Pike runtime to cast strings to objects.
- Parameter
str String to cast to object.
- Parameter
current_file Filename of the file that attempts to perform the cast.
- Returns
Returns the resulting object.
- See also