WE_Frontend::Main2 - a collection of we_redisys (frontend) related functions
use WE_Frontend::Main2; my $fe = new WE_Frontend::Main -root => $root, -config => $wesiteinfo_config_object; $fe->publish; $fe->searchindexer;
This is the next generation of the old
WE_Frontend::Main module. Both modules share the same methods, but have a different constructor API.
Note that all methods are loaded into the
WE_Frontend::Main. Therefore it is not possible to use the old and this version of the module at the same time.
Because of this, you cannot "use base" for inheritance, but rather:
use WE_Frontend::Main2; push @ISA, "WE_Frontend::Main";
WE_Frontend::Main2 class has two members:
See the method listing in WE_Frontend::MainCommon.
Slaven Rezic - firstname.lastname@example.org