$this->lang->line with passing parameters |
(10-02-2015, 06:19 AM)jLinux Wrote:(10-02-2015, 05:22 AM)ciadmin Wrote: Here's the idea...This is the exact solution I was going to suggest. the Variadic functions got my attention... So its like extending the Lang classs to use lang->line(line, args, args) instead of sprintf(lang->line(), ..., ...). I'd try that
TastyIgniter - Open Source Restaurant Ordering and Management System
|
Messages In This Thread |
$this->lang->line with passing parameters - by rchiu5hk - 10-02-2015, 04:54 AM
RE: $this->lang->line with passing parameters - by ciadmin - 10-02-2015, 05:22 AM
RE: $this->lang->line with passing parameters - by jLinux - 10-02-2015, 06:19 AM
RE: $this->lang->line with passing parameters - by sampoyigi - 10-04-2015, 10:23 AM
RE: $this->lang->line with passing parameters - by jLinux - 10-04-2015, 01:25 PM
RE: $this->lang->line with passing parameters - by ivantcholakov - 10-04-2015, 01:58 PM
RE: $this->lang->line with passing parameters - by jLinux - 10-04-2015, 02:13 PM
RE: $this->lang->line with passing parameters - by sampoyigi - 10-05-2015, 03:09 AM
|