public function save($idSite)
    {
        $this->checkIdSiteIsLoaded($idSite);

        $optionName = self::getAnnotationCollectionOptionName($idSite);
        Option::set($optionName, serialize($this->annotations[$idSite]));
    }
public function save($idSite)
    {
        $this->checkIdSiteIsLoaded($idSite);

        $optionName = self::getAnnotationCollectionOptionName($idSite);
        Option::set($optionName, serialize($this->annotations[$idSite]));
    }
public function save ( $ idSite ) { $ this -> checkIdSiteIsLoaded ( $ idSite ) ; $ optionName = self :: getAnnotationCollectionOptionName ( $ idSite ) ; Option :: set ( $ optionName , serialize ( $ this -> annotations [ $ idSite ] ) ) ; }
Persists the annotations list for a site, overwriting whatever exists.

@param int $idSite The ID of the site to save annotations for.
@throws Exception if $idSite is not an ID that was supplied upon construction.
Persists the annotations list for a site overwriting whatever exists .