本文整理汇总了PHP中DataManager::findOne方法的典型用法代码示例。如果您正苦于以下问题:PHP DataManager::findOne方法的具体用法?PHP DataManager::findOne怎么用?PHP DataManager::findOne使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DataManager
的用法示例。
在下文中一共展示了DataManager::findOne方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: findOne
function findOne($arguments = null) {
if (isset ( $this ) && instance_of ( $this, 'Widgets' )) {
return parent::findOne ( $arguments );
} else {
return Widgets::instance ()->findOne ( $arguments );
}
}
示例2: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return Timeslot
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'Timeslots')) {
return parent::findOne($arguments);
} else {
return Timeslots::instance()->findOne($arguments);
//$instance =& Timeslots::instance();
//return $instance->findOne($arguments);
}
// if
}
示例3: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return ProjectChartParam
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'ProjectChartParams')) {
return parent::findOne($arguments);
} else {
return ProjectChartParams::instance()->findOne($arguments);
//$instance =& ProjectChartParams::instance();
//return $instance->findOne($arguments);
}
// if
}
示例4: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return ObjectHandin
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'ObjectHandins')) {
return parent::findOne($arguments);
} else {
return ObjectHandins::instance()->findOne($arguments);
//$instance =& ObjectHandins::instance();
//return $instance->findOne($arguments);
}
// if
}
示例5: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return DimensionMemberAssociation
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'DimensionMemberAssociations')) {
return parent::findOne($arguments);
} else {
return DimensionMemberAssociations::instance()->findOne($arguments);
}
// if
}
示例6: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return ImType
*/
function findOne($arguments = null) {
if(isset($this) && instance_of($this, 'WebpageTypes')) {
return parent::findOne($arguments);
} else {
return WebpageTypes::instance()->findOne($arguments);
} // if
} // findOne
示例7: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return MemberPropertyMember
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'MemberPropertyMembers')) {
return parent::findOne($arguments);
} else {
return MemberPropertyMembers::instance()->findOne($arguments);
}
// if
}
示例8: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return WorkspaceBilling
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'WorkspaceBillings')) {
return parent::findOne($arguments);
} else {
return WorkspaceBillings::instance()->findOne($arguments);
//$instance =& WorkspaceBillings::instance();
//return $instance->findOne($arguments);
}
// if
}
示例9: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return DimensionObjectTypeHierarchy
*/
function findOne($arguments = null) {
if(isset($this) && instance_of($this, 'DimensionObjectTypeHierarchies')) {
return parent::findOne($arguments);
} else {
return DimensionObjectTypeHierarchies::instance()->findOne($arguments);
} // if
} // findOne
示例10: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return LinkedObjects
*/
function findOne($arguments = null) {
if(isset($this) && instance_of($this, 'LinkedObjects')) {
return parent::findOne($arguments);
} else {
return LinkedObjects::instance()->findOne($arguments);
//$instance =& LinkedObjects::instance();
//return $instance->findOne($arguments);
} // if
} // findOne
示例11: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return ContactPassword
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'ContactPasswords')) {
return parent::findOne($arguments);
} else {
return ContactPasswords::instance()->findOne($arguments);
}
// if
}
示例12: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return CustomPropertiesByCoType
*/
function findOne($arguments = null) {
if(isset($this) && instance_of($this, 'CustomPropertiesByCoType')) {
return parent::findOne($arguments);
} else {
return CustomPropertiesByCoType::instance()->findOne($arguments);
} // if
} // findOne
示例13: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return ReadObjects
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'ReadObjects')) {
return parent::findOne($arguments);
} else {
return ReadObjects::instance()->findOne($arguments);
}
// if
}
示例14: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return MailAccount
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'MailSpamFilters')) {
return parent::findOne($arguments);
} else {
return MailSpamFilters::instance()->findOne($arguments);
//$instance =& MailAccounts::instance();
//return $instance->findOne($arguments);
}
// if
}
示例15: findOne
/**
* Find one specific record
*
* @access public
* @param array $arguments
* @return RoleObjectTypePermission
*/
function findOne($arguments = null)
{
if (isset($this) && instance_of($this, 'RoleObjectTypePermissions')) {
return parent::findOne($arguments);
} else {
return RoleObjectTypePermissions::instance()->findOne($arguments);
}
// if
}