Accueil » Archives » avril 2021

Archives avril 2021

Shnoulle (Denis Chenu) · GitHub »

[30 avril 2021 - 11:33 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@34754f0af1 Apr 30, 2021 Shnoulle commented Apr 30, 2021 Got it ! commands/TwigCommand.php: Yii::import('application.helpers.admin.htmleditor_helper', true); controllers/admin/translate.php: (...)

Shnoulle (Denis Chenu) · GitHub »

[30 avril 2021 - 11:29 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@34754f0af1 Apr 30, 2021 Shnoulle commented Apr 30, 2021 admin.htmleditor to admin.htmleditor maybe ?

Shnoulle (Denis Chenu) · GitHub »

[30 avril 2021 - 11:29 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@34754f0af1 Apr 30, 2021 Shnoulle commented Apr 30, 2021 Yes : and Yii::import avoid situation. I confirm : in a plugin : /** * Add function to be used in beforeQuestionRender event and to attriubute */ (...)

Shnoulle (Denis Chenu) · GitHub »

[30 avril 2021 - 11:18 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@34754f0af1 Apr 30, 2021 Shnoulle commented Apr 30, 2021 Wait, $forceInclude is not checked? A lot lines after : https://github.com/yiisoft/yii/blob/d7cf08db201ded76622b4d10c45a25194ebe9d32/framework/Yi…

Shnoulle (Denis Chenu) · GitHub »

[30 avril 2021 - 10:35 | Shnoulle (Denis Chenu) · GitHub]

Shnoulle commented on commit LimeSurvey/LimeSurvey@34754f0af1 Apr 30, 2021 Shnoulle commented Apr 30, 2021 public static function import($alias,$forceInclude=false) if(isset(self::$_imports[$alias])) // previously imported return (...)