{** as came style naming is to be used in this classes, some needed vars are defined here **} {if $app.attributes.phpName != ''} {assign var="appPHPName" value=$app.attributes.phpName} {else} {assign var="appPHPName" value=$app.attributes.name|@ucfirst} {/if} {assign var="appName" value=$app.attributes.name} {if $app.attributes.plural != ''} {assign var="appPHPPlural" value=$app.attributes.plural|@ucfirst} {assign var="appPlural" value=$app.attributes.plural} {else} {assign var="appPHPPlural" value="`$appPHPName`s"} {assign var="appPlural" value="`$appName`s"} {/if}