/** * @param int $id optional */ public function __construct($id = null) { $prefix = get_instance()->container->param('ikantam.theme.table.prefix'); $this->table = $prefix . 'templates'; $this->has_many['tag']['join_table'] = $prefix . 'templates_tags'; parent::__construct($id); }
public function __construct($id = null) { $this->table = get_instance()->container->param('ikantam.theme.table.prefix') . 'userdata'; parent::__construct($id); }