cikcak Posted June 5, 2015 Share Posted June 5, 2015 Hey friends, could someone explain me how it works? For example, I have made admin controller where I print data from database. I used fields list to take variable from database and its automatically generate a table. I add additional functions: public function renderList() { $this->addRowAction('duplicate'); $this->addRowAction('delete'); return parent::renderList(); } And also see - ADD more function. But guys, how it works? I tried to create a new class MlpdfOrders and add values to defination array (all variables from table where I put data). Create a new public function renderForm() with a new form (all inputs to create a new row). After I click add new I got error: Fatal error: Class 'MlpdfOrders' not found in localhost/ps/classes/controller/AdminController.php on line 1366 Is it any easier way to add a new row in database? Thanks for any info 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