本文整理汇总了PHP中model::call方法的典型用法代码示例。如果您正苦于以下问题:PHP model::call方法的具体用法?PHP model::call怎么用?PHP model::call使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类model
的用法示例。
在下文中一共展示了model::call方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
$debug = 1;
?>
<!-- Intro Content -->
<div class="row">
<!-- Title -->
<div class="col-md-6">
<?php
echo \model::call("image", "contentimage");
?>
</div>
<div class="col-md-6">
<!--
<h2 class="rr-content-label"><?php
echo \model::property("label");
?>
</h2>
-->
<div class="rr-content-content">
<?php
echo \model::property("content");
?>
</div>
</div>
</div>
<!-- /.row -->
示例2:
* Created by PhpStorm.
* User: csibi
* Date: 2015.11.11.
* Time: 20:50
*/
?>
<div class="col-md-6 img-portfolio">
<a href="<?php
echo \model::url();
?>
" title="<?php
echo \model::property("label");
?>
">
<?php
echo \model::call("image", "contentimage", "img-responsive img-hover");
?>
</a>
<h3>
<a href="<?php
echo \model::url();
?>
" class="rr-portfolio-label" title="<?php
echo \model::property("label");
?>
"><?php
echo \model::property("label");
?>
</a>
</h3>
</div>
示例3: substr
<div class="col-sm-6 col-lg-6 col-md-6">
<div class="thumbnail">
<?php
echo \model::property("leadimage") != "image/" ? \model::call("image", "leadimage") : "";
?>
<div class="caption">
<h4 class="pull-right rr-product-price"><?php
echo \model::property("price");
?>
Ft</h4>
<h4><a href="<?php
echo \model::url();
?>
" class="rr-product-label"><?php
echo \model::property("label");
?>
</a>
</h4>
<div class="rr-product-lead">
<?php
echo substr(strip_tags(html_entity_decode(\model::property("lead"))), 0, 200);
?>
</div>
</div>
<?php
\runner::route("review");
?>
</div>
</div>
示例4: array
?>
" alt="<?php
echo \model::property("name");
?>
">
</a>
<?php
}
?>
<div class="media-body">
<h4 class="media-heading"><span class="rr-comment-subject"><?php
echo \model::property("subject");
?>
</span>
<small><?php
echo \model::call("date_str");
?>
</small>
</h4>
<div class="rr-comment-comment">
<?php
echo \model::property("comment");
?>
</div>
<a href="#" class="reply-btn" data-reply-to="<?php
echo \model::property("id");
?>
">Reply</a>
</div>
<?php
\runner::route("/desktop/body/content/post/comment", array("model_reference" => \model::property("model_reference"), "reply" => \model::property("id")));
示例5: urlencode
</a>
</h2>
<p class="lead">
by <a href="?search=<?php
echo urlencode(\model::property("author"));
?>
" class="rr-post-author"><?php
echo \model::property("author");
?>
</a>
</p>
<p><span class="glyphicon glyphicon-time"></span> Posted on <span class="rr-post-date"><?php
echo \model::call("date_str");
?>
</span></p>
<hr>
<?php
echo \model::call("image", "leadimage");
?>
<div class="rr-post-lead lead">
<?php
echo \model::property("lead");
?>
</div>
<a class="btn btn-primary" href="<?php
echo \model::url();
?>
">Read More <span class="glyphicon glyphicon-chevron-right"></span></a>
<hr>
示例6:
?>
" alt="">
<a href="<?php
echo $size_l;
?>
" class="glp-zoom"></a>
</figure>
</div>
<div class="col-sm-4 lg-preview-descr">
<h4><?php
echo \model::property("label");
?>
</h4>
<div class="single-post">
<span class="sp-tags-title">TAGS</span><span class="sp-tags"><?php
echo \model::call("tag");
?>
</span>
</div>
<button class="btn btn-primary glp-readmore" data-category="<?php
echo \model::property("category");
?>
"><?php
echo \model::property("category");
?>
</button>
<div class="mb-social glp-social">
<p>Share</p>
<a href="https://twitter.com/home?status=<?php
echo \runner::config("BASE") . \model::url();
?>