Creating a model inside the code

DroidHost

Well-known member
when you use this code:
PHP:
    public function getAttachmentConstraints()
    {
        return XenForo_Model::create('XenForo_Model_Attachment')->getAttachmentConstraints();
    }

is that will include our extended model ?
 
Hello ragtek
I found that Kair is using strange behavior in coding the attachment .... there are fragment of the code all over ... and checking and setting value also.
and being difficult to track but I did resolve the problem ...
 
Top Bottom