protected function read()
    {
        $method = '__'.str_replace(__CLASS__.'::', '', __METHOD__);

        if ($this->hasMethod($method) && is_callable([$this, $method])) {
            $arguments = func_get_args();
            if (empty($arguments)) {
                $result = $this->{$method}();
            } else {
                $result = call_user_func_array([$this, $method], $arguments);
            }

            return $result;
        }
    }
protected function read()
    {
        $method = '__'.str_replace(__CLASS__.'::', '', __METHOD__);

        if ($this->hasMethod($method) && is_callable([$this, $method])) {
            $arguments = func_get_args();
            if (empty($arguments)) {
                $result = $this->{$method}();
            } else {
                $result = call_user_func_array([$this, $method], $arguments);
            }

            return $result;
        }
    }
protected function read ( ) { $ method = '__' . str_replace ( __CLASS__ . '::' , '' , __METHOD__ ) ; if ( $ this -> hasMethod ( $ method ) && is_callable ( [ $ this , $ method ] ) ) { $ arguments = func_get_args ( ) ; if ( empty ( $ arguments ) ) { $ result = $ this -> { $ method } ( ) ; } else { $ result = call_user_func_array ( [ $ this , $ method ] , $ arguments ) ; } return $ result ; } }
Read of cRud.

@author Benjamin Carl <opensource@clickalicious.de>

@return mixed Data on success, otherwise null
Read of cRud .