Creating a model inside the code

DroidHost

Well-known member
#1
when you use this code:
PHP:
    public function getAttachmentConstraints()
    {
        return XenForo_Model::create('XenForo_Model_Attachment')->getAttachmentConstraints();
    }
is that will include our extended model ?
 

DroidHost

Well-known member
#5
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