XenForo
Administrative
- Thread starter
- Admin
- #1
Hello,
I have 3rd addon, and it has a function:
Code:
I extend this class and rewrite that function like that (of course, I created an extension in ACP).
Code:
Read more
ادامه مطلب...
I have 3rd addon, and it has a function:
Code:
Code:
<?php
namespace Abc\Xyz\Job;
use XF\Job\AbstractRebuildJob;
class MathJaxParser extends AbstractRebuildJob
{
public static function isContainsMathJax(string $message): bool
{
return preg_match('/(\\\()(.*?)(\\\))|\$([^\$]+)\$|\$\$([^\$]+)\$\$/ism', $message) === 1;
}
... another function
}
I extend this class and rewrite that function like that (of course, I created an extension in ACP).
Code:
<?php...
Read more
ادامه مطلب...