Preload without Class
Basically preload is written a sub class of XCube_ActionFilter. But, You may write area outside of bracket. The Coding Style Guide recommends Class-Driven, so this is not standard in Cube. But, it's useful for light-weight customizing & duplicatable modules. Especially duplicatable modules can not obey the naming convention of Legacy's ActionFilter, because it's impossible to decide their namespace before. Code outside of class is executable without namespace.
Page Info | |
---|---|
Page Name : | XOOPSCubeLegacy/CookBook/PreloadWithoutClass |
Page aliases : | None |
Page owner : | Anonymous |
Can Read | |
Groups : | All visitors |
Users : | All visitors |
Can Edit | |
Groups : | Support Site Webmasters |
Users : | No one |
Counter: 14728,
today: 1,
yesterday: 0
Princeps date: 2007-04-23 (Mon) 13:06:01
Last-modified: 2007-04-23 (Mon) 13:06:01 (JST) (5065d) by Anonymous