DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:environment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:environment [2017-11-19 14:19]
Klap-in [$ACT]
devel:environment [2018-04-25 16:28] (current)
andi [$ACT]
Line 11: Line 11:
 :!: ''$ACT'' can also be an array instead of a string depending on when it is used. So if you compare it using a string comparison function (e.g. ''strcmp()'', ''strncmp()'') then you better make sure that it is not an array using ''!is_array($ACT)''. Otherwise the result may be undefined. :!: :!: ''$ACT'' can also be an array instead of a string depending on when it is used. So if you compare it using a string comparison function (e.g. ''strcmp()'', ''strncmp()'') then you better make sure that it is not an array using ''!is_array($ACT)''. Otherwise the result may be undefined. :!:
  
-[[devel:develonly]] +:!: If you are handling an [[devel:event:ACTION_ACT_PREPROCESS]] event, use ''%%$event->data%%'' instead of ''$ACT''.
-:!: Since 2017/2018, if you are in a [[devel:event:ACTION_ACT_PREPROCESS]] event handler, use ''%%$event->data%%'' instead of ''$ACT''.+
  
 ==== $auth ==== ==== $auth ====
devel/environment.txt · Last modified: 2018-04-25 16:28 by andi