phpBB 3.2 Upgrade Notes for Extensions

Discussion forum for Extension Writers regarding Extension Development.
User avatar
Extension Customisations
Extension Customisations
Posts: 3570
Joined: Sat Sep 10, 2011 7:12 pm
Location: Germany

Re: phpBB 3.2 Upgrade Notes for Extensions

Post by kasimi » Wed Jan 31, 2018 8:53 am

With lang being the @language service:

Code: Select all

$array = $this->lang->lang_raw('hlposts_tokens')

Code: Select all

 * Returns the raw value associated to a language key or the language key no translation is available.
 * No parameter substitution is performed, can be a string or an array.
 * @param string|array	$key	Language key
 * @return array|string
public function lang_raw($key)

User avatar
Former Team Member
Posts: 13401
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco

Re: phpBB 3.2 Upgrade Notes for Extensions

Post by 3Di » Wed Jan 31, 2018 11:08 pm

^^ That's it. Thank you :)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades

👾 º The return of Space Invaders º 👾

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: rxu and 6 guests