protected function getResourceInformation($uid, $part = null)
    {
        if ($part) {
            return isset($this->resources[$uid][$part]) ? $this->resources[$uid][$part] : false;
        } else {
            return $this->resources[$uid];
        }
    }
protected function getResourceInformation($uid, $part = null)
    {
        if ($part) {
            return isset($this->resources[$uid][$part]) ? $this->resources[$uid][$part] : false;
        } else {
            return $this->resources[$uid];
        }
    }
protected function getResourceInformation ( $ uid , $ part = null ) { if ( $ part ) { return isset ( $ this -> resources [ $ uid ] [ $ part ] ) ? $ this -> resources [ $ uid ] [ $ part ] : false ; } else { return $ this -> resources [ $ uid ] ; } }
Returns information about a resource

This method is intend to return information about a resource. Complete or partially.

@param string $uid  The uid of the resource to store information about
@param string $part Set if a single part should be stored, keep empty for returning complete array

@author Benjamin Carl <opensource@clickalicious.de>
@return mixed Single information or array
@access protected
Returns information about a resource