本文整理匯總了PHP中Thread::changePackedPostContent方法的典型用法代碼示例。如果您正苦於以下問題:PHP Thread::changePackedPostContent方法的具體用法?PHP Thread::changePackedPostContent怎麽用?PHP Thread::changePackedPostContent使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Thread
的用法示例。
在下文中一共展示了Thread::changePackedPostContent方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: if
<div class="clearfix">
<span class="fl">
服用說明:
</span>
<p class="oh zoom">
<?=$medicineInfo['medicineDesc']?>
</p>
</div>
<br>
<?php } ?>
<?php } ?>
<?php if($thread->hasConditionDesc()){ ?>
<div class="mt10 mb15 orange2">
病情描述:
</div>
<?=$thread->conditionDesc?>
<?php } ?>
<?php if($thread->hasHopeHelp()){ ?>
<div class="mt10 mb15 orange2">
希望醫生提供的幫助:
</div>
<?=$thread->hopeHelp?>
<?php } ?>
<?php if($thread->hasContents()){ ?>
<br />
<?=Thread::changePackedPostContent($thread->contents)?>
<?php } ?>
<br>
示例2: include
<?php
$isRef = false;
include(dirname(__FILE__).'/_patientinfo.php');
if ($post->isFormatPostContent())
{
include(dirname(__FILE__).'/_formatthread.php');
}
else
{
$mycontent = strip_tags($post->content);
if($post->isShowHospitalInfo())
{
$casepostContent = $post->thread->getPreHospitalContent().Thread::changePackedPostContent($mycontent);
}
else
{
$casepostContent = Thread::changePackedPostContent($mycontent);
}
?>
<div class="pt20 pl15 pb10 f16 lh140 pr15 hh">
<?=nl2br($casepostContent)?>
</div>
<?php
}
include(dirname(__FILE__).'/_attachment.php');
?>
<p class="pt10 tr f12 gray9 pr10"><?=$post->getSourceCtime4Flow()?></p>
</div>