XenForo
Administrative
- Thread starter
- Admin
- #1
I tried to extend the XF\Pub\Controller\Post and XF\Service\Post\Editor, in the second extended class I add a function called checkContent, but when I run the code the content $editor is not the expected one:
PHP:
Read more
ادامه مطلب...
PHP:
Code:
<?php
namespace TSK\newTest\XF\Pub\Controller;
use XF\Mvc\ParameterBag;
class Post extends XFCP_Post
{
protected function setupPostEdit(\XF\Entity\Post $post)
{
$editor = parent::setupPostEdit($post)...
Read more
ادامه مطلب...