O'Reilly logo

PHP Application Development with NetBeans Beginner's Guide by M A Hossain Tonu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — using @todo tags

In this tutorial, we will learn to use @todo tags to document our future tasks, and will view the tasks list from the NetBeans task or action items window:

  1. Inside the TestChild PHP class or in the preceding document block of the class, we can use a @todo tag; inside multiple line comments or DocBlock, add a tag similar to the following:
    /**
    * @todo have to add class variable and functions
    */
    

    In the above document block, we can see that the task has been described beside the tag separated by a whitespace. Also, a @todo tag can be added using a single comment line as follows:

    //TODO need to add class variable and functions
    
  2. So, the TestChild class may look similar to the following:
    class TestChild extends Test { //TODO ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required