本文整理汇总了PHP中Clients::getClinets方法的典型用法代码示例。如果您正苦于以下问题:PHP Clients::getClinets方法的具体用法?PHP Clients::getClinets怎么用?PHP Clients::getClinets使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Clients
的用法示例。
在下文中一共展示了Clients::getClinets方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: substr
<?php
$config = new Config();
$ne = new NewsAndEvent();
$news = $ne->getNEList('news');
$events = $ne->getNEList('event');
$client = new Clients();
$clients = $client->getClinets();
$sponcer = new Sponcer();
$sponcers = $sponcer->getSponcer('sponcer-girl');
$pm = new PageManager();
?>
<!-- Start main-content -->
<div class="main-content">
<!-- Section: home -->
<section>
<div class="container pb-0">
<div class="section-title text-center mb-0">
<div class="row">
<div class="col-md-12">
<h3 class="text-uppercase mt-0">WomenLine</h3>
<div class="title-icon">
<i class="flaticon-hand221"></i>
</div>
<div class="col-lg-10 col-md-9 col-sm-6 text-left">
<p><?php
echo substr(strip_tags($pm->setPage('introduction')->getPageInfo('page-content')), 0, 250);
?>
...</p>
</div>
<div class="col-lg-2 col-md-3 col-sm-6">
示例2: Config
<?php
$config = new Config();
$url = new URL();
$obj = new Clients();
$item_list = $obj->getClinets();
$id = $url->getRequestedItem();
echo Comman::loadView('admin-header');
if ($url->getRequestedFunction() != 'edit') {
?>
<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="panel">
<div class="panel-heading">
<div class="panel-title">Add Partner</div>
</div>
<div class="panel-body">
<form action="<?php
echo Comman::getController('clients');
?>
?action=create" method="post">
<label for="name">Name</label>
<input type="text" required name="name" id="name" placeholder="Name" class="form-control">
<input type="hidden" name="return_path" value="<?php
echo $url->getRequestedUri();
?>
/edit/">
<button type="submit" class="btn btn-primary" style="margin-top: 10px;">Add</button>
</form>
</div>