Ferreteria/v0.5/registry/feature
< Ferreteria | v0.5 | registry
Jump to navigation
Jump to search
Feature registration
Feature registration for non-Dropin classes from config/portable/features.php:
class csSetup {
static public function OnSetup() {
$oReg = FD\caFeature::FeatureClassRegistry();
$oReg->AddFeature(FU\account\cFeature::class);
$oReg->AddFeature(FU\client\cFeature::class);
$oReg->AddFeature(FU\perm\cFeature::class);
$oReg->AddFeature(FU\session\cFeature::class);
$oReg->AddFeature(FDN\cFeature::class);
}
}
For an example of how to read the Feature Registry, see cDropinLink::InvokeFeature()
.