Example #1
0
 public function add($autodate = true, $null_values = false)
 {
     $this->position = CMS::getLastPosition((int) $this->id_cms_category);
     return parent::add($autodate, true);
 }
Example #2
0
 public function add($autodate = true, $nullValues = false)
 {
     $this->position = CMS::getLastPosition((int) Tools::getValue('id_cms_category'));
     return parent::add($autodate, true);
 }