本文整理汇总了PHP中url::internal方法的典型用法代码示例。如果您正苦于以下问题:PHP url::internal方法的具体用法?PHP url::internal怎么用?PHP url::internal使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类url
的用法示例。
在下文中一共展示了url::internal方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<div class="page-header">
<h2>
<?php
echo $mainmodule;
?>
</h2>
</div>
<?php
echo $list;
?>
<p class="text-right">
<a href="<?php
echo url::internal($this->getModule(), 'index', null, '&filter=' . $this->filter);
?>
">Voir tout</a>
</p>
示例2: foreach
<?php
foreach ($topLinks as $module) {
?>
<li><a href="<?php
echo url::internal($module, 'index');
?>
"><?php
echo ucfirst($module);
?>
</a></li>
<?php
}
?>
<li><a href="<?php
echo url::internal('users', 'logout');
?>
">Deconnection</a></li>
</ul>
<form class="navbar-form navbar-right">
<input type="text" class="form-control" placeholder="Search...">
</form>
<?php
}
?>
</div>
</div>
</nav>
<div class="container-fluid">
示例3:
<div class="container-fluid">
<div class="row" style="margin-top: 80px;">
<div class="col-md-4 col-md-offset-4">
<div class="well well-lg">
<form role="form" action="<?php
echo url::internal('users', 'login');
?>
">
<div class="form-group">
<label for="exampleInputEmail1">Login</label>
<input type="text" name="login" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Mot de passe</label>
<input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<input type="hidden" name="action" value="login" >
<input type="hidden" name="controller" value="users" >
<button type="submit" class="btn btn-default">Connection</button>
</form>
</div>
</div>
</div>
</div>
示例4:
<a href="<?php
echo url::internal($this->moduletojoin, 'view', $this->joinid);
?>
" ><?php
echo $this->joinfieldvalue;
?>
</a>
示例5:
</div>
<div class="row">
<div class="col-md-6">
<p class="text-left">
<a href="<?php
echo url::internal($this->getModule(), 'edit');
?>
" type="button" class="btn btn-default glyphicon glyphicon glyphicon-new-window btn-xs"> Créer</a>
<p>
</div>
<div class="col-md-6">
<form method="post" action="<?php
echo url::internal($this->getModule(), 'index', null);
?>
">
<p class="text-right">
<button type="submit" name="start" value="<?php
echo $prevStart;
?>
" class="btn btn-default glyphicon glyphicon-chevron-left btn-xs"></button>
<button type="button" class="btn btn-default glyphicon btn-xs disabled"><?php
echo $start;
?>
/<?php
echo $total;
?>
</button>
<button type="submit" name="start" value="<?php
示例6:
<td>
<?php
echo $field;
?>
</td>
<?php
}
?>
<td>
<a class="glyphicon glyphicon-eye-open" href="<?php
echo url::internal($this->getModule(), 'view', $data['id']);
?>
" ></a>
<a class="glyphicon glyphicon-edit" href="<?php
echo url::internal($this->getModule(), 'edit', $data['id']);
?>
" type="button" class="btn btn-default" ></a>
<a class="glyphicon glyphicon-remove" href="<?php
echo url::internal($this->getModule(), 'delete', $data['id']);
?>
" type="button" class="btn btn-default" ></a>
</td>
</tr>
<?php
}
?>
</table>
</div>
示例7:
?>
<?php
}
?>
<input type="hidden" name="id" value="<?php
echo $id;
?>
" />
<div class="form-group">
<div class="col-sm-10">
<a href="<?php
echo url::internal($this->getModule(), 'view', $id);
?>
" type="button" class="btn btn-default">Voir</a>
<button type="submit" class="btn btn-default">Edit</button>
<a href="<?php
echo url::internal($this->getModule(), 'index');
?>
" type="button" class="btn btn-default">List</a>
<a href="<?php
echo url::internal($this->getModule(), 'delete', $id);
?>
" type="button" class="btn btn-default">Supprimer</a>
</div>
</div>
</form>