ARC2::getStoreEndpoint PHP Метод

getStoreEndpoint() статический публичный Метод

static public getStoreEndpoint ( $a = '', $caller = '' )
    static function getStoreEndpoint($a = '', $caller = '')
    {
        return ARC2::getComponent('StoreEndpoint', $a, $caller);
    }

Usage Example

Пример #1
0
 function synchro_rdf($session_id = 0, $activateEndpoint = false, $altBaseUri = '')
 {
     global $charset;
     //Pour créer des tables temporaires
     if ($session_id) {
         $this->config['store_name'] = $session_id . $this->config['store_name'];
     }
     //endpoint pour connecteurs
     if ($activateEndpoint) {
         $this->store = ARC2::getStoreEndpoint($this->config);
         $this->store->go();
     } else {
         //on initialise les tables mysql
         $this->initStore();
         if ($charset == 'utf-8') {
             mysql_query("SET NAMES 'utf8'");
         }
         //on initialise les uri
         if (trim($altBaseUri)) {
             $this->baseURI = $altBaseUri;
         }
         $this->prefix .= "\n\t\t\tPREFIX pmb: <" . $this->baseURI . ">\n\n";
         $this->baseUriConcept = $this->baseURI . "concept#";
         $this->baseUriThesaurus = $this->baseURI . "thesaurus#";
         $this->baseUriManifestation = $this->baseURI . "manifestation#";
         $this->baseUriExpression = $this->baseURI . "expression#";
         $this->baseUriOeuvre = $this->baseURI . "oeuvre#";
         $this->baseUriOeuvreBulletin = $this->baseURI . "oeuvre#fromBulletin";
         $this->baseUriAuteur = $this->baseURI . "auteur#";
         //on charge les correspondances rdf
         $this->loadMapping();
     }
     return;
 }
All Usage Examples Of ARC2::getStoreEndpoint