dbObject::__call PHP Méthode

__call() public méthode

Provides magic access to private functions of the class and native public mysqlidb functions
public __call ( string $method, mixed $arg ) : mixed
$method string
$arg mixed
Résultat mixed
    public function __call($method, $arg)
    {
        if (method_exists($this, $method)) {
            return call_user_func_array(array($this, $method), $arg);
        }
        call_user_func_array(array($this->db, $method), $arg);
        return $this;
    }

Usage Example

Exemple #1
0
 public function __call($closure, $arguments)
 {
     return parent::__call($closure, $arguments);
 }