15
Hi
suggestions for next version:
Table name e.g.: mytable
if you refer to an array you use mytable_arr, thats fine.
if you refer to a handler you use
le="color: #000000"><?php $obj = $mytableHandler->get($_REQUEST["mytable_id"]);
it woult be fine, if object name is also more expressive like
le="color: #000000"><?php $mytable_obj = $mytableHandler->get($_REQUEST["mytable_id"]);
, especially if you copy code blockes from one into another file and if you use there different handlers
the same should be if you work with criterias, please generate
le="color: #000000"><?php $crit_mytable = new CriteriaCompo(); $crit_mytable->setSort("mytable_id ASC, mytable_type"); $crit_mytable->setOrder("ASC"); $mytable_arr = $mytableHandler->getall($crit_mytable);
instead of
le="color: #000000"><?php $criteria = new CriteriaCompo(); $criteria->setSort("mytable_id ASC, mytable_type"); $criteria->setOrder("ASC"); $mytable_arr = $mytableHandler->getall($criteria);