本文整理匯總了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;
}