public function register($id, $styleData)
    {
        if (self::getRegistry()->isRegistered($id)) {
            common_Logger::w('Style already registered');
        }
        if($this->isValidStyleData($styleData)){
            self::getRegistry()->set($id, $styleData);
        }else{
            common_Logger::w('Invalid style data format');
        }
        
    }