\Request::active()->controller
Actually the primary reason for the existance of the properties is internal, that they're also available is secundairy.Except that it's used in request class to call the action from that controller which is internal fuelphp problem?
Because that's the controller, it's not called "controller_segment" it's called controller. And why "we" need it? Because that's where the Request::execute() method takes its cues from. I'll repeat: that's the primary reason for the existance of these properties - that they're available t you is still secundairy.So why we need full namespaced class name in Request::active()->controller property?
echo substr(\Inflector::denamespace(\Request::active()->controller), 11);
It looks like you're new here. If you want to get involved, click one of these buttons!