PHP Classes

File: includes/funcs.php

Recommend this page to a friend!
  Classes of Pablo Veinberg   PHP Validar CPF e CNPJ   includes/funcs.php   Download  
File: includes/funcs.php
Role: Auxiliary script
Content type: text/plain
Description: Aux functions
Class: PHP Validar CPF e CNPJ
Validate Brazil fiscal numbers
Author: By
Last change:
Date: 9 years ago
Size: 313 bytes
 

Contents

Class file image Download
<?php

function metodo_acesso(ReflectionMethod $metodo) {
    if (
$metodo->isPublic())
        return
'public';
    else if (
$metodo->isProtected())
        return
'protected';
    else
        return
'private';
}

function
clean_comments($str) {
    return
str_replace(array('*','/'), '', $str);
}