register_object
注册对象

void register_object (string object_name, object $object, array allowed methods/properties, boolean format, array block methods)

This is to register an object for use in the templates. See the object section of the manual for examples.

注册一个在模板中使用的对象,相关的例子在手册的对象小节中。