NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Symfony code complement support for models


Joined: 01 Apr 2010
Posts: 1
Reply with quote
Hi,

I'm using Symfony to write WebApps.

Code:
class Test extends BaseTest
{
      public function __toString() {
        return $this->getUrl();
    }
}


phpED does not recognize the code for

$this->getUrl();

The point is, that there is no "real" getUrl(); It get's called within the parents __call method.

Parent:

Code:
abstract class BaseTest extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('test');
        $this->hasColumn('url', 'string', 255, array(
             'type' => 'string',
             'notnull' => true,
             'length' => '255',
             ));
    }
}


NetBeans does it well, but I don't like it at all, so it would be nice if phpEd would have such a feature, too!
View user's profileFind all posts by RaubiSend private message
Symfony code complement support for models
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic