code example
/*
* @ (#) cngift.php 1.82 03/06/25
*
* Sample documents written by Flowering Stone
* will be a simple demonstration of coding specifications
*
*/
Require ("db.php");
/**
* Demonstration with Class
*
* @version 1.82 03.06.25
* @author Flowering Stones
*/
Class Blah extends SomeClass {
/* This class Run-time annotation is written here * *
/** comments on variables write here * *
static int $classVar 1;
/**
* Write multiple lines of comments on variables written here
*/
static string classVar2;
Document Comment for/** variable * *
int instanceVar1;
Document Comment for/** variable * *
Int[] INSTANCEVAR3;
/**
* Comments on the constructor
*/
function blah () {
// ... Here to execute ...
}
/**
* ... Document Comment for function ...
*/
function dosomething () {
// ... Here to execute ...
}
/**
* ... The annotation document for the method.
* Multi-line Comment
*/
public void Dosomethingelse (Object someparam) {
// ... Here to execute ...
}
}