quicker default template actions #6

Open
opened 2017-03-24 22:50:40 +01:00 by jfk · 0 comments
jfk commented 2017-03-24 22:50:40 +01:00 (Migrated from office.ticktoo.net)

add smarty functions to handle string lib / common calls faster:

  • $strings->formatCurrency ... => {ttCurrency}{...}{/ttCurrency}
  • $strings->formatHumanDate... => {ttDate}{...}{/ttDate}
  • etc...

Wrap objects from storage layer into nice-access alias :

  • $element->getAttribute('fuuu', $currentlanguage) => $element.fuuu.local
  • $element->getAttribute('fuuu') => $element.fuuu
  • $element->property => $element.property
  • etc..
**add smarty functions to handle string lib / common calls faster**: - `$strings->formatCurrency ...` => `{ttCurrency}{...}{/ttCurrency}` - `$strings->formatHumanDate...` => `{ttDate}{...}{/ttDate}` - etc... **Wrap objects from storage layer into nice-access alias** : - `$element->getAttribute('fuuu', $currentlanguage)` => `$element.fuuu.local` - `$element->getAttribute('fuuu')` => `$element.fuuu` - `$element->property` => `$element.property` - etc..
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
t4-modules/core#6
No description provided.