Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4862

Content-assist for php function : return $this

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.1.2, Aptana Studio 3.1.3
    • Fix Version/s: None
    • Component/s: Content Assist, PHP
    • Labels:

      Description

      <?php

      class Test{
      	public function testmethod(){ return $this; }
      }
       
      class Test2 extends Test{
      	public function test2(){
      		$this->testmethod()->
      	}
      }
      

      No content-assist after "$this->test()->" : it should propose test() and test2().
      This works when test() return a new Object :

      class Test{
      	public function testmethod(){ return new Test2(); }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              christophe.hurpeau Christophe Hurpeau
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code