1, 'collection' => 2, 'title' => 3, 'first_author' => 4, 'author' => 4, 'author_corp' => 4, 'typdoc' => 5, 'keywords' => 6, 'abstract' => 7, 'mention_edition' => 8, 'collection_issn' => 9, 'pub_place' => 10, 'year_edition' => 11, 'book_title' => 14, 'parent_issn' => 13, 'book_isbn' => 13, 'isbn' => 12, 'issn' => 12, 'date_parution' => 11, 'num_bull' => 15, 'pages' => 16, 'tpages' => 16, 'external_id' => 17, 'serial_title' => 18 ); public function __construct($notice) { $this->notice = $notice; } public function setEntityType($type){ switch ($type){ case "referent" : $this->entityType = "rft"; break; case "referring_entity" : $this->entityType = "rfe"; break; case "requester" : $this->entityType = "req"; break; case "service_type" : $this->entityType = "svc"; break; case "resolver" : $this->entityType = "res"; break; case "referrer" : $this->entityType = "rfr"; break; default : $this->entityType = $type; break; } } public static function serialize($tab){} } /* * Description via identifiant */ class openurl_descriptor_identifier extends openurl_descriptor{ public function __construct($notice=array()) { parent::__construct($notice); $this->uri = parent::$uri."/nam"; } } /* * Description via valeurs */ class openurl_descriptor_byval extends openurl_descriptor{ public function __construct($notice=array()) { parent::__construct($notice); $this->uri = parent::$uri."/fmt"; } } /* * Description via une référence à un jeu de valeur */ class openurl_descriptor_byref extends openurl_descriptor{ public function __construct($notice=array()) { parent::__construct($notice); $this->uri = parent::$uri."/fmt"; } } /* * Description via données privées */ class openurl_descriptor_private extends openurl_descriptor{ public function __construct($notice=array()) { parent::__construct($notice); } }