NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Is there a support tool for PHP5 interface in PHPEd
Veteran

Joined: 30 Nov 2006
Posts: 186
Reply with quote
If I declare an interface in PHPed,

Code:
interface outputGenerator
{
    public function getOutputHTML();
}
Does PHPed then have a tool that can generate the functions in my class that I need to implement.

I.e.

Quote:
class formHandler() implements outputGenerator
{
private $aVariable;

public function __construct($someValue)
{
$this->aVariable = $someValue;
}

// something that can insert the interfaces below

public function getOutputHTML() // <-- this function stub was created by PHPed interface tool ????
{
echo ("<h1>" . $this->aVariable . " </h1>
}
}
Does such a code complete tool exists? Visual studio has it, and it is so nice.
View user's profileFind all posts by hgrSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
as of current PHPED version generating code based on interfaces is not supported, yet.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Is there a support tool for PHP5 interface in PHPEd
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