【发布时间】:2012-05-25 13:24:23
【问题描述】:
我正在尝试从以下输入数据中去除除 <p>,<br>,<strong>,<b> 之外的所有 html 标记:
public function init()
{
parent::init();
$this->fields = array(
'name' => 'Name',
'age' => 'Age',
'profile' => 'Profile',
);
$this->mdata = array();
$this->verify = true;
}
有人知道如何在其中应用 Zend_Filter_StripTags 吗?
【问题讨论】:
标签: php zend-framework