Skip to content

Commit

Permalink
Dev: functions needed for twig conversion added
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed May 8, 2018
1 parent 49459cf commit 5549d8f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions application/config/internal.php
Expand Up @@ -257,7 +257,8 @@
'json_encode' => 'CJSON::encode',
'getLanguageNameFromCode' => 'getLanguageNameFromCode',
'checkconditionFunction' => 'checkconditionFunction',
'doRender' => 'doRender'
'doRender' => 'doRender',
'flattenText' => 'flattenText'
),
'filters' => array(
'jencode' => 'CJSON::encode',
Expand All @@ -280,10 +281,11 @@
'nl2br',
'split',
'trim',
'json_encode'
'json_encode',
'replace',
),
'methods' => array(
'ETwigViewRendererStaticClassProxy' => array("encode", "textfield", "form", "link", "emailField", "beginForm", "endForm", "dropDownList", "htmlButton", "passwordfield", "hiddenfield", "textArea"),
'ETwigViewRendererStaticClassProxy' => array("encode", "textfield", "form", "link", "emailField", "beginForm", "endForm", "dropDownList", "htmlButton", "passwordfield", "hiddenfield", "textArea", "checkBox"),
'Survey' => array("getAllLanguages", "localizedtitle"),
'LSHttpRequest' => array("getParam"),
'LSCaptcha' => array("renderOut")
Expand Down Expand Up @@ -346,7 +348,9 @@
'dump',
'getLanguageNameFromCode',
'checkconditionFunction',
'doRender'
'doRender',
'flattenText',
'range'
),
),

Expand Down

1 comment on commit 5549d8f

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning : all of this are rewrited in develop … sometimes i really didn't understand why something goes to develop, and another to master.

I really think php to twig can be done in master only …

Please sign in to comment.