islem98 Posted August 24, 2019 Share Posted August 24, 2019 hello world, i'm trying to get the value of fields_form properity of the class admincontroller of a specific controller in another controller (after executing renderForm()) i overrided the class admincontroller like this: <?php class AdminController extends AdminControllerCore{ public function getFIeldsForm(){ $this->renderForm(); return $this->fields_form; } } i'm wondering if this is the best way to do it? ps: i'm using prestashop 1.7.5.2 Link to comment Share on other sites More sharing options...
islem98 Posted August 24, 2019 Author Share Posted August 24, 2019 yes i'm getting what i want but while i'm executing this in another controller is it right? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now