ajnos
Member
We have defined some constants in our datawriter.
Is it ok, if we access them in other classes (controlller, model) with:
or could there be any problems because of the xenforo autoloader or the event listeners (if an add-on extends our datawriter)?
Is it ok, if we access them in other classes (controlller, model) with:
PHP:
...
$dw->set('status', Ragtek_AS_DataWriter_Article::ARTICLE_REVIEW);
$dw->save();
}