]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 27 Jun 2013 10:17:34 +0000 (10:17 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 27 Jun 2013 10:17:34 +0000 (10:17 +0000)
inc/ws/Util/html5/class.ws.html5.links.php

index 04cc859b4dadad571f0180bbcd9533676287b10d..8bad840b2e03d29ea61b23f82f66a7687c5257e9 100644 (file)
@@ -52,6 +52,8 @@ class wsHTML5Link {
                        case 7:
                                if ($compiler->book->parametres->customLinkClass == 'WescoLink') {
                                        return new wescoLink($id, $init, $compiler);
+                               } else if ($compiler->book->parametres->customLinkClass == 'HaguenauManifLink') {
+                                       return new haguenauManifLink($id, $init, $compiler);
                                }
                        case 8:
                        case 9:
@@ -481,4 +483,17 @@ class wescoLink extends normalLink {
 
 }
 
+class haguenauManifLink extends internalLink {
+
+       public function getPage() {
+               $fiches = array(
+                       "1" => 7, "2" => 8, "3" => 14, "4" => 16, "5" => 17, "6" => 18, "7" => 19, "8" => 20, "9" => 22, "10" => 23, "11" => 24, "12" => 27
+                       , "13" => 29, "14" => 32, "15" => 34, "16" => 37, "17" => 38, "18" => 41, "19" => 43,
+                       "20" => 45, "21" => 46, "22" => 52, "23" => 53, "24" => 54, "25" => 56, "26" => 59, "27" => 60
+               );
+               return $fiches[$this->to];
+       }
+
+}
+
 ?>