Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9230499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:50:26+00:00 2026-06-18T05:50:26+00:00

I’m using ubuntu 12.04 and Netbeans 7.2.1 I’v got this project from github https://github.com/opencart/opencart

  • 0

I’m using ubuntu 12.04 and Netbeans 7.2.1

I’v got this project from github
https://github.com/opencart/opencart

Then I tried to add some variables in /upload/system/engine/controller.php via phpDoc like this

/**
 * @property Loader $load Description
 * @property Config $config Description
 * @property DB $db Desc
 */

It worked fine and in child controllers (for example upload/catalog/product/category.php) I saw hints when typed “$this->”.

Then I got all “global” vars that can be in Registry, that contains parent controller and available via “$this->” and wrote them with code

echo ‘ * @property ‘ . get_class($value) . ‘ ‘ . $key . ‘ Description’ . ‘
‘;

Then I copy result and paste it to phpdoc block. It was

 * @property Loader load Description
 * @property Config config Description
 * @property DB db Description
 * @property Url url Description
 * @property Log log Description
 * @property Request request Description
 * @property Response response Description
 * @property Cache cache Description
 * @property Session session Description
 * @property Language language Description
 * @property Document document Description
 * @property Customer customer Description
 * @property Affiliate affiliate Description
 * @property Currency currency Description
 * @property Tax tax Description
 * @property Weight weight Description
 * @property Length length Description
 * @property Cart cart Description
 * @property Encryption encryption Description

I was very hopeful opening child controller for testing autocomplete, but autocomplete didn’t show me anything I added after typing “$this->”.

I tried some combinations and noticed, that it works only when I’m using autocomplete when type “@pro” and then type “enter” button and then fill fields by typing “tab” to focus on next field. So even typing “@pro” and then typing “tab” and then manually write all other words don’t make netbeans show autocomplete for that.

Does anyone know, what am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:50:27+00:00Added an answer on June 18, 2026 at 5:50 am

    I see, i miss “$” symbol in

     * @property Log log Description
    

    need

     * @property Log $log Description
    

    Shame on me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I am using jsonparser to parse data and images obtained from json response. When
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am using JSon response to parse title,date content and thumbnail images and place
I'm new to using the Perl treebuilder module for HTML parsing and can't figure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.