Show declarations (not work)

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Show declarations (not work)

Postby yii » April 23rd, 2017, 9:12 am

Hi guys!
PHP Tools not support this?
vs-devs1.jpg


Best regards.
You do not have the required permissions to view the files attached to this post.
yii
 
Posts: 4
Joined: April 6th, 2017, 1:07 pm

Re: Show declarations (not work)

Postby Miloslav Beno » April 26th, 2017, 8:58 am

Hello,

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

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Show declarations (not work)

Postby yii » May 2nd, 2017, 5:01 pm

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;
    }

}
yii
 
Posts: 4
Joined: April 6th, 2017, 1:07 pm

Re: Show declarations (not work)

Postby Miloslav Beno » May 4th, 2017, 7:37 am

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,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 44 guests

cron

User Control Panel

Login

Who is online

In total there are 44 users online :: 0 registered, 0 hidden and 44 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 44 guests