Page 1 of 1

Show declarations (not work)

PostPosted: April 23rd, 2017, 9:12 am
by yii
Hi guys!
PHP Tools not support this?
vs-devs1.jpg


Best regards.

Re: Show declarations (not work)

PostPosted: April 26th, 2017, 8:58 am
by Miloslav Beno
Hello,

Could you please provide a body of XenForo_Model::create method, it highly depends on what's happening inside the method.

Thanks!

Re: Show declarations (not work)

PostPosted: May 2nd, 2017, 5:01 pm
by yii
Miloslav Beno wrote:Hello,

Could you please provide a body of XenForo_Model::create method, it highly depends on what's happening inside the method.

Thanks!


Code: Select all
<?php

class Core_Addons_Service_Model_Service extends XenForo_Model
{
   
    public function SearchUsersGroup($user_name)
   {
      $db = XenForo_Application::get('db');
        $data = $db->fetchAll('SELECT * FROM xf_service WHERE user_service = ?',
        array($user_name));
        return $data;
    }

}

Re: Show declarations (not work)

PostPosted: May 4th, 2017, 7:37 am
by Miloslav Beno
Hi,

Thanks! And if you try just F12 instead of Alt+F12, does it work? So the only issue is Peek Window? What VS + PHP Tools version fo you use?

Cheers,