本文整理汇总了PHP中ZurmoHtml::resolveDivWrapperForContent方法的典型用法代码示例。如果您正苦于以下问题:PHP ZurmoHtml::resolveDivWrapperForContent方法的具体用法?PHP ZurmoHtml::resolveDivWrapperForContent怎么用?PHP ZurmoHtml::resolveDivWrapperForContent使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ZurmoHtml
的用法示例。
在下文中一共展示了ZurmoHtml::resolveDivWrapperForContent方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: resolveTypeAndValueContent
/**
* @return string
*/
protected function resolveTypeAndValueContent()
{
$typeContent = $this->renderTypeContent();
$valueContent = $this->renderValueContent();
$typeAndValueContent = null;
ZurmoHtml::resolveDivWrapperForContent($typeContent, $typeAndValueContent, 'dynamic-action-attribute-type');
$typeAndValueContent .= $valueContent;
if ($this->model->shouldSetValue) {
$style = null;
} else {
$style = 'display:none;';
}
return ZurmoHtml::tag('div', array('class' => 'dynamic-action-attribute-type-and-value-wrapper', 'style' => $style), $typeAndValueContent);
}
示例2: resolveDivWrapperForContent
/**
* @param string $innerContent
* @param string $content
* @param null|string $class
*/
protected static function resolveDivWrapperForContent($innerContent, &$content, $class = null)
{
ZurmoHtml::resolveDivWrapperForContent($innerContent, $content, $class);
}
示例3: getRecipientContent
/**
* @return string
*/
protected function getRecipientContent()
{
$content = null;
ZurmoHtml::resolveDivWrapperForContent($this->model->getTypeLabel(), $content, 'dynamic-row-label email-message-recipient-label');
$content .= $this->renderTypeContent();
$content .= $this->renderAudienceTypeContent();
$content .= $this->renderFormAttributesContent();
return $content;
}