ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,699
- Points
- 823
Reputation:
Trying to write my first add-on, extended Thread, I want to see the structure of $params, my code goes like this.
PHP:
Read more
Continue reading...
PHP:
Code:
class Thread extends XFCP_Thread
{
public function actionEdit(ParameterBag $params)
{
// dump $params
// the first way
\XF::dump($params);
\XF::dumpSimple($params);
// the 2nd way
\XF::logError('in logError');
\XF::logException('in logException');
// the 3rd way
\XF\Util\File::log('debug.txt'...
Read more
Continue reading...