void register_object(string object_name, object $object, array allowed methods/properties, boolean format)
void register_object
This is to register an object for use in the templates. See the object section of the manual for examples.