本文整理匯總了PHP中eZDataType::objectDisplayInformation方法的典型用法代碼示例。如果您正苦於以下問題:PHP eZDataType::objectDisplayInformation方法的具體用法?PHP eZDataType::objectDisplayInformation怎麽用?PHP eZDataType::objectDisplayInformation使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類eZDataType
的用法示例。
在下文中一共展示了eZDataType::objectDisplayInformation方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: objectDisplayInformation
/**
* Sets grouped_input to true for edit view of the datatype
*
* @param eZContentObjectAttribute $objectAttribute
* @param array|bool $mergeInfo
*
* @return array
*/
public function objectDisplayInformation($objectAttribute, $mergeInfo = false)
{
return eZDataType::objectDisplayInformation($objectAttribute, array('edit' => array('grouped_input' => true)));
}
示例2: objectDisplayInformation
function objectDisplayInformation($objectAttribute, $mergeInfo = false)
{
$classAttribute = $objectAttribute->contentClassAttribute();
$content = $this->classAttributeContent($classAttribute);
$editGrouped = ($content['selection_type'] == 0 or $content['selection_type'] == 1 and $content['fuzzy_match']);
$info = array('edit' => array('grouped_input' => $editGrouped), 'collection' => array('grouped_input' => $editGrouped));
return eZDataType::objectDisplayInformation($objectAttribute, $info);
}
示例3: objectDisplayInformation
function objectDisplayInformation($objectAttribute, $mergeInfo = false)
{
$classAttribute = $objectAttribute->contentClassAttribute();
$isOption = $classAttribute->attribute('data_int2');
$editGrouped = $isOption == false;
$info = array('edit' => array('grouped_input' => $editGrouped), 'collection' => array('grouped_input' => $editGrouped));
return eZDataType::objectDisplayInformation($objectAttribute, $info);
}
示例4: objectDisplayInformation
function objectDisplayInformation($contentObjectAttribute, $mergeInfo = false)
{
$classAttribute = $contentObjectAttribute->contentClassAttribute();
$content = eZObjectRelationBrowseType::classAttributeContent($classAttribute);
$editGrouped = ($content['selection_type'] == 0 or $content['selection_type'] == 1);
$info = array('edit' => array('grouped_input' => $editGrouped), 'collection' => array('grouped_input' => $editGrouped));
return eZDataType::objectDisplayInformation($contentObjectAttribute, $info);
}