42 lines
1.2 KiB
PHTML
42 lines
1.2 KiB
PHTML
<div id="wsdl">
|
|
<h1>WSDL</h1>
|
|
<p><a href="<?=$this->wsdl?>">Télécharger le WSDL</a></p>
|
|
<i>Le fichier est accessible sans authentification.</i>
|
|
</div>
|
|
|
|
<div class="op-list">
|
|
<h1>Liste des opérations :</h1>
|
|
<ol>
|
|
<?php foreach ($this->serviceMethods as $method) {?>
|
|
<li>
|
|
<b><?php echo $method['name'];?></b>
|
|
<a href="#<?php echo $method['name'];?>"><i>Détail</i></a>
|
|
</li>
|
|
<?php } ?>
|
|
</ol>
|
|
</div>
|
|
|
|
<div class="op-detail">
|
|
<h1>Détails :</h1>
|
|
<?php foreach ($this->serviceMethods as $method) {?>
|
|
<div class="function">
|
|
<a name="<?php echo $method['name'];?>"> </a>
|
|
<h2><?php echo $method['name'];?></h2>
|
|
<div><u>Description : </u></div>
|
|
<div class="description"><?=$this->docDescription($method)?></div>
|
|
<div class="complement"><?=$this->docComplement($method)?></div>
|
|
<div class="function-detail" id="<?=$method['name']?>">
|
|
<p><?php echo $this->docMethod($method);?></p>
|
|
<div><u>Paramètres : </u></div>
|
|
<div class="parameters">
|
|
<?php echo $this->docParameter($method['params'], $this->serviceTypes);?>
|
|
</div>
|
|
<div><u>Retour : </u></div>
|
|
<div class="return">
|
|
<?php echo $this->docReturn($method['return'], $this->serviceTypes);?>
|
|
</div>
|
|
</div>
|
|
<p>Exemple : <?php echo $this->docExemple($method['name']);?></p>
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|