Manual:Hooks/GalleryGetModes/zh

详情
Allows an extension to add custom classes to render a gallery with. Add the mode name and the class to the associative array.


 * &$modeArray: An associative array mapping mode names to classes that implement that mode. It is expected all registered classes are a subclass of ImageGalleryBase.