code: public function replaceCSS($css)
      {
          if (is_array($css)) {
              $this->css = array();
              return $this->addCSS($css);
          } else {
              throw new InternalException("CSS files to add is not an array");
          }
      }
docs: /*
  Public: Replace css files