本文整理匯總了PHP中DAO::getAdditionalFieldNames方法的典型用法代碼示例。如果您正苦於以下問題:PHP DAO::getAdditionalFieldNames方法的具體用法?PHP DAO::getAdditionalFieldNames怎麽用?PHP DAO::getAdditionalFieldNames使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類DAO
的用法示例。
在下文中一共展示了DAO::getAdditionalFieldNames方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: getAdditionalFieldNames
/**
* Get a list of additional fields that do not have
* dedicated accessors.
* @return array
*/
function getAdditionalFieldNames()
{
$additionalFields = parent::getAdditionalFieldNames();
// FIXME: Move this to a PID plug-in.
$additionalFields[] = 'pub-id::publisher-id';
return $additionalFields;
}
示例2: getAdditionalFieldNames
/**
* Get a list of additional fields that do not have
* dedicated accessors.
* @return array
*/
function getAdditionalFieldNames()
{
$additionalFields = parent::getAdditionalFieldNames();
// FIXME: Move this to a PID plug-in.
$additionalFields[] = 'pub-id::publisher-id';
$additionalFields[] = 'copyrightYear';
$additionalFields[] = 'licenseURL';
return $additionalFields;
}
示例3: getAdditionalFieldNames
/**
* @copydoc DAO::getAdditionalFieldNames()
*/
function getAdditionalFieldNames()
{
return array_merge(parent::getAdditionalFieldNames(), array('orcid'));
}
示例4: getAdditionalFieldNames
/**
* Get a list of additional fields that do not have
* dedicated accessors.
* @return array
*/
function getAdditionalFieldNames()
{
return array_merge(parent::getAdditionalFieldNames(), array('pub-id::publisher-id', 'copyrightYear', 'licenseURL'));
}
示例5: getAdditionalFieldNames
/**
* Get a list of additional fields.
* @return array
*/
function getAdditionalFieldNames()
{
return array_merge(parent::getAdditionalFieldNames(), array('sortOption'));
}
示例6: getAdditionalFieldNames
/**
* Get a list of additional fields that do not have
* dedicated accessors.
* @return array
*/
function getAdditionalFieldNames()
{
$additionalFields = parent::getAdditionalFieldNames();
$additionalFields[] = 'pub-id::publisher-id';
$additionalFields[] = 'chapterId';
return $additionalFields;
}
示例7: getAdditionalFieldNames
/**
* @see DAO::getAdditionalFieldNames()
*/
function getAdditionalFieldNames()
{
assert(is_array($this->additionalFieldNames));
return parent::getAdditionalFieldNames() + $this->additionalFieldNames;
}