Example #1
0
 function __construct()
 {
     $ref = new ReflectionClass(__CLASS__);
     $this->tags = '';
     foreach ($ref->getmethods() as $method) {
         if (preg_match('/^_(?=[[:alpha:]])/', $method->name)) {
             $this->tags .= (strlen($this->tags) ? '|' : '') . substr($method->name, 1);
         }
     }
 }