protected function setCurrentResourceInformation($information, $part = null)
    {
        if ($part) {
            $this->currentResourceInformation[$part] = $information;
        } else {
            $this->currentResourceInformation = $information;
        }

    }
protected function setCurrentResourceInformation($information, $part = null)
    {
        if ($part) {
            $this->currentResourceInformation[$part] = $information;
        } else {
            $this->currentResourceInformation = $information;
        }

    }
protected function setCurrentResourceInformation ( $ information , $ part = null ) { if ( $ part ) { $ this -> currentResourceInformation [ $ part ] = $ information ; } else { $ this -> currentResourceInformation = $ information ; } }
Stores information about the current resource

This method is intend to store information about the current resource. Complete or partially.

@param mixed  $information The information to store
@param string $part        Set if a single part should be stored, keep empty for storing complete array

@author Benjamin Carl <opensource@clickalicious.de>
@return void
@access protected
Stores information about the current resource