note 94264 added to language.oop5.abstract
| From: | m dot hofrichter at osu1 dot php dot net | Date: | Mon, 26 Oct 2009 11:10:14 +0000 |
| Subject: | note 94264 added to language.oop5.abstract | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162096@lists.php.net to get a copy of this message | ||
I discovered that when using the @abstract tag from php-doc my ide
will give the option to implement all abstract methods automaticly.
many developers know this feature from Java ide's like netbeans,intelli-j or eclipse.
regards
example of php-doc @abstract tag ...
/**
* Abstract class PageController
*
* @see PageController:exec()
* @see PageController::doGET()
* @see PageController::doPost()
*
* @abstract
* @author hofrichter
*/
abstract class MyController {
abstract protected function doGET();
abstract protected function doPOST();
abstract public function exec();
}
----
Server IP: 83.137.20.135
Probable Submitter: 87.215.139.10
----
Manual Page -- http://www.php.net/manual/en/language.oop5.abstract.php
Edit -- https://master.php.net/note/edit/94264
Del: integrated -- https://master.php.net/note/delete/94264/integrated
Del: useless -- https://master.php.net/note/delete/94264/useless
Del: bad code -- https://master.php.net/note/delete/94264/bad+code
Del: spam -- https://master.php.net/note/delete/94264/spam
Del: non-english -- https://master.php.net/note/delete/94264/non-english
Del: in docs -- https://master.php.net/note/delete/94264/in+docs
Del: other reasons-- https://master.php.net/note/delete/94264
Reject -- https://master.php.net/note/reject/94264
Search -- https://master.php.net/manage/user-notes.php