Netbeans code templates' modifiers
Posted
by hsz
on Stack Overflow
See other posts from Stack Overflow
or by hsz
Published on 2010-05-06T10:14:17Z
Indexed on
2010/05/06
10:18 UTC
Read the original article
Hit count: 232
netbeans
|netbeans6.8
Hello !
I set a new PHP
code template in Netbeans
:
/* @var $$${name}Table Model_${name}_Table */
$$${name}Table = Container::get('model')->get('${name}_Table');
and if I use as ${name}
some value - shop
- I have in output:
/* @var $shopTable Model_shop_Table */
$shopTable = Container::get('model')->get('shop_Table');
Is it possible to add some modifier to the second and fourth ${name}
so I will have it started with upper letter ?
Shop_Table
instead of shop_Table
© Stack Overflow or respective owner