本文整理汇总了PHP中Load::link方法的典型用法代码示例。如果您正苦于以下问题:PHP Load::link方法的具体用法?PHP Load::link怎么用?PHP Load::link使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Load
的用法示例。
在下文中一共展示了Load::link方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: strtoupper
</div>
<div class="row">
<ol class="breadcrumb">
<li><a href="<?php
echo Load::link("/Users");
?>
"><?php
echo strtoupper($formation->getName());
?>
</a></li>
<li><a><?php
echo $formation->getAnnee();
?>
</a></li>
<li><a href="<?php
echo Load::link("/Users/Cours?i=" . $matiere->id);
?>
"><?php
echo $matiere->getName();
?>
</a></li>
<li><a href="#"><?php
echo $fichier->name;
?>
</a></li>
</ol>
</div>
<div class="row">
<div class="panel panel-primary">
<div class="panel-heading">
<?php
示例2:
?>
">Etudiants</a></li> <!- Admin ->
<?php
}
}
?>
<li class="uk-nav-divider"></li>
<?php
if ($is_logged) {
?>
<li><a href="<?php
echo Load::link("/Logout");
?>
"><i class="uk-icon-sign-out"></i> Quitter</a></li>
<?php
} else {
?>
<li><a href="<?php
echo Load::link("/Login");
?>
"><i class="uk-icon-sign-out"></i> Se Connecter</a></li>
<?php
}
?>
</ul>
</div>
</div>
示例3:
echo $formation->getAnnee();
?>
</a></li>
<li><a href="<?php
echo Load::link("/Users/Cours?i=" . $matiere->id);
?>
"><?php
echo $matiere->getName();
?>
</a></li>
<li><a>Edition</a></li>
<?php
} else {
?>
<li><a href="<?php
echo Load::link("/Users");
?>
">Accueil</a></li>
<?php
}
?>
</a>
</li>
</ol>
</div>
<div class="row">
<h2 class="page-header">Modification du cours</h2>
</div>
<?php
示例4:
?>
</h1>
<br/>
<p class="uk-text-center">Vous êtes dans votre espace administrateur</p>
</div>
<div class="row">
<h2 class="page-header">Getting Started</h2>
</div>
<div class="row">
<div class="btn-group btn-group-justified">
<div class="btn-group">
<a href="<?php
echo Load::link("/Admin/Enseignants");
?>
" class="btn btn-default">Ajouter un enseignant</a>
</div>
<div class="btn-group">
<a href="<?php
echo Load::link("/Admin/Etudiants");
?>
" class="btn btn-default">Ajouter un étudiant</a>
</div>
</div>
</div>
</div>
示例5: foreach
<div class="panel panel-primary">
<div class="panel-heading"><?php
echo $devoir->getName();
?>
</div>
<div class="panel-body">
<!--<div>
<p class="lead">blabla</p>
</div>-->
<div class="list-group col-md-8">
<?php
foreach ($devoir->getFichiersAttendus() as $file) {
?>
<a class="list-group-item" href="<?php
echo Load::link("/Users/Cours/" . $file->id);
?>
"><?php
echo $file->getName();
?>
</a>
<?php
}
?>
</div>
</div>
</div>
<?php
}
?>
示例6: ucfirst
echo ucfirst($user->prenom) . " " . ucfirst($user->nom);
?>
</h3>
</div>
<div class="row">
<ol class="breadcrumb">
<li><a>Créer un cours</a></li>
</ol>
</div>
<div class="row">
<h2 class="page-header">Création d'un cours</h2>
</div>
<div class="row">
<form method="post" action="<?php
echo Load::link("/Users/Cours/Create");
?>
">
<input type="hidden" name="postData" value="1">
<div class="form-group">
<label class="control-label">Nom du cours :</label>
<input required class="form-control" name="matiere-name" type="text">
</div>
<div class="form-group">
<label class="control-label">Formation :</label>
<select name="id-form" class="form-control" type="text">
<?php
foreach ($formations as $f) {
?>
<option value="<?php
示例7:
<div class="container">
<form class="form-horizontal" method="post" action="<?php
echo Load::link("/Users/Verify");
?>
" >
<div class="row">
<div class="col-md-6 col-md-offset-2
col-sm-8 col-sm-offset-2
col-xs-10 col-xs-offset-1
uk-margin-top">
<div class="form-group">
<label class="col-md-4
col-sm-4
col-xs-12
control-label" for="login">Login :</label>
<div class="col-md-6
col-sm-6
col-xs-12">
<input class="form-control" id="login" type="text" name="login">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 col-md-offset-2
col-sm-8 col-sm-offset-2
示例8: strtoupper
?>
</h1>
<?php
}
?>
<h3 class="page-header"> <?php
echo strtoupper($f->name);
?>
</h3>
<div class="list-group col-md-8">
<?php
foreach ($f->matieres as $m) {
?>
<a class="list-group-item" href="<?php
echo Load::link("/Users/Cours?i=" . $m->id);
?>
">
<?php
echo $m->name;
?>
</a>
<?php
}
?>
</div>
</div>
<?php
}