public function getResources()
    {
        $resources = array();
        foreach ($this->resources as $r) {
            $resources = array_merge($resources, $r);
        }

        return $resources;
    }
public function getResources()
    {
        $resources = array();
        foreach ($this->resources as $r) {
            $resources = array_merge($resources, $r);
        }

        return $resources;
    }
public function getResources ( ) { $ resources = array ( ) ; foreach ( $ this -> resources as $ r ) { $ resources = array_merge ( $ resources , $ r ) ; } return $ resources ; }
Returns an array of resources.

@return array An array of resources
Returns an array of resources .