From an ATK4 page, i can call jqplot using a javascript helper file like this on the page $chart = $p->add(\'jqplot\', null, \'chart1\');
I\'m implementing a subscripti开发者_开发技巧on in a DB. The email must be unique, so I have a UNIQUE index in the database. I have this code in my page init:
function init(){ parent::init(); $f = $this-开发者_运维问答>add(\'Form\'); $f->addField(\'dropdown\', \'Label:\')->setModel(\'User\');
I currently have a page defined which displays some data in rows. At the end of each row, there is a view which shows a total which is extracted from mysql.
i want to modify the line in the code below ($g->addColumn(\'button\',\'check_out\') to $g->addColumn(\'button\',\'check_in\')if the field instock is \'N\'
I use atk 4.1.2. I found a problem while I tried to Insert/Update my Model. It seems like because I added two fields in my table, i.e. : created_by and updated_by.
From: http://agiletoolkit.org/learn/understand/model/add class Model_MyModel extends Model_Table { function init(){
I was able to get the value from an input type=text with code like this: $salad_size= $form->addField(\'line\',\'salad\');
Is it possible to make a query using any of the methods of dsql() ? something like: 开发者_如何学编程
The menu class documentation - and the provided example - do not seem to show any way for me to build a navigation menu with more than 1 level of navigation.