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,667
- Points
- 823
Reputation:
I need to throw exception in setup but the class is already extended by AbstractSetup and the exception comes from AbstractController.
Is there an easy way to get the exception and throw a message? Or can I extends two classes at the same time ?
Code:
Read more
Continue reading...
Is there an easy way to get the exception and throw a message? Or can I extends two classes at the same time ?
Code:
Code:
public function uninstallStep1()
{
$data = \XF::finder('My\Addon:Class')->fetchOne();
if ($data['column']) {
throw $this->exception(
$this->error(\XF::phrase('not_valid'))...
Read more
Continue reading...