private function loadComponent($namespace, $component)
    {
        $fullyQualifiedCloudControlComponent = '\\CloudControl\\Cms\\components\\' . $component;
        $fullyQualifiedComponent = '\\components\\' . $component;
        if (class_exists($fullyQualifiedCloudControlComponent, true)) {
            $this->runComponent($namespace, $fullyQualifiedCloudControlComponent);
        } elseif (class_exists($fullyQualifiedComponent, true)) {
            $this->runComponent($namespace, $fullyQualifiedComponent);
        }
    }
private function loadComponent($namespace, $component)
    {
        $fullyQualifiedCloudControlComponent = '\\CloudControl\\Cms\\components\\' . $component;
        $fullyQualifiedComponent = '\\components\\' . $component;
        if (class_exists($fullyQualifiedCloudControlComponent, true)) {
            $this->runComponent($namespace, $fullyQualifiedCloudControlComponent);
        } elseif (class_exists($fullyQualifiedComponent, true)) {
            $this->runComponent($namespace, $fullyQualifiedComponent);
        }
    }
private function loadComponent ( $ namespace , $ component ) { $ fullyQualifiedCloudControlComponent = '\\CloudControl\\Cms\\components\\' . $ component ; $ fullyQualifiedComponent = '\\components\\' . $ component ; if ( class_exists ( $ fullyQualifiedCloudControlComponent , true ) ) { $ this -> runComponent ( $ namespace , $ fullyQualifiedCloudControlComponent ) ; } elseif ( class_exists ( $ fullyQualifiedComponent , true ) ) { $ this -> runComponent ( $ namespace , $ fullyQualifiedComponent ) ; } }
Tries to determine component class name and wheter it exists

@param $namespace String
@param $component String
Tries to determine component class name and wheter it exists