當前位置: 首頁>>代碼示例>>PHP>>正文


PHP DataManager::findOne方法代碼示例

本文整理匯總了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 );
		}
	}
開發者ID:Jtgadbois,項目名稱:Pedadida,代碼行數:7,代碼來源:BaseWidgets.class.php

示例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
 }
開發者ID:pnagaraju25,項目名稱:fengoffice,代碼行數:18,代碼來源:BaseTimeslots.class.php

示例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
 }
開發者ID:abhinay100,項目名稱:feng_app,代碼行數:18,代碼來源:BaseProjectChartParams.class.php

示例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
 }
開發者ID:pnagaraju25,項目名稱:fengoffice,代碼行數:18,代碼來源:BaseObjectHandins.class.php

示例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
 }
開發者ID:abhinay100,項目名稱:feng_app,代碼行數:16,代碼來源:BaseDimensionMemberAssociations.class.php

示例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
開發者ID:Jtgadbois,項目名稱:Pedadida,代碼行數:14,代碼來源:BaseWebpageTypes.class.php

示例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
 }
開發者ID:abhinay100,項目名稱:feng_app,代碼行數:16,代碼來源:BaseMemberPropertyMembers.class.php

示例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
 }
開發者ID:pnagaraju25,項目名稱:fengoffice,代碼行數:18,代碼來源:BaseWorkspaceBillings.class.php

示例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
開發者ID:Jtgadbois,項目名稱:Pedadida,代碼行數:14,代碼來源:BaseDimensionObjectTypeHierarchies.class.php

示例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
開發者ID:Jtgadbois,項目名稱:Pedadida,代碼行數:16,代碼來源:BaseLinkedObjects.class.php

示例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
 }
開發者ID:abhinay100,項目名稱:feng_app,代碼行數:16,代碼來源:BaseContactPasswords.class.php

示例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
開發者ID:Jtgadbois,項目名稱:Pedadida,代碼行數:14,代碼來源:BaseCustomPropertiesByCoType.class.php

示例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
 }
開發者ID:abhinay100,項目名稱:fengoffice_app,代碼行數:16,代碼來源:BaseReadObjects.class.php

示例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
 }
開發者ID:abhinay100,項目名稱:fengoffice_app,代碼行數:18,代碼來源:BaseMailSpamFilters.class.php

示例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
 }
開發者ID:rorteg,項目名稱:fengoffice,代碼行數:16,代碼來源:BaseRoleObjectTypePermissions.class.php


注:本文中的DataManager::findOne方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。