当前位置: 首页>>代码示例>>PHP>>正文


PHP DataManager::count方法代码示例

本文整理汇总了PHP中DataManager::count方法的典型用法代码示例。如果您正苦于以下问题:PHP DataManager::count方法的具体用法?PHP DataManager::count怎么用?PHP DataManager::count使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在DataManager的用法示例。


在下文中一共展示了DataManager::count方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: count

 /**
 * Return number of rows in this table
 *
 * @access public
 * @param string $conditions Query conditions
 * @return integer
 */
 function count($condition = null) {
   if(isset($this) && instance_of($this, 'LinkedObjects')) {
     return parent::count($condition);
   } else {
     return  LinkedObjects::instance()->count($condition);
     //$instance =&  LinkedObjects::instance();
     //return $instance->count($condition);
   } // if
 } // count
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:16,代码来源:BaseLinkedObjects.class.php

示例2: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'Plugins')) {
         return parent::count($condition);
     } else {
         return Plugins::instance()->count($condition);
         //$instance =& Plugins::instance();
         //return $instance->count($condition);
     }
     // if
 }
开发者ID:federosky,项目名称:ProjectPier-Core,代码行数:18,代码来源:BasePlugins.class.php

示例3: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'ProjectChartParams')) {
         return parent::count($condition);
     } else {
         return ProjectChartParams::instance()->count($condition);
         //$instance =& ProjectChartParams::instance();
         //return $instance->count($condition);
     }
     // if
 }
开发者ID:abhinay100,项目名称:feng_app,代码行数:18,代码来源:BaseProjectChartParams.class.php

示例4: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'DimensionMemberAssociations')) {
         return parent::count($condition);
     } else {
         return DimensionMemberAssociations::instance()->count($condition);
     }
     // if
 }
开发者ID:abhinay100,项目名称:feng_app,代码行数:16,代码来源:BaseDimensionMemberAssociations.class.php

示例5: count

 /**
  * Return number of rows in this table
  *
  * @param string $conditions Query conditions
  * @return integer
  * @throws DBQueryError
  */
 function count($conditions = null)
 {
     return DataManager::count($conditions, TABLE_PREFIX . 'incoming_mailboxes');
 }
开发者ID:NaszvadiG,项目名称:activecollab_loc,代码行数:11,代码来源:BaseIncomingMailboxes.class.php

示例6: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'ExternalCalendarUsers')) {
         return parent::count($condition);
     } else {
         return ExternalCalendarUsers::instance()->count($condition);
         //$instance =& MailAccounts::instance();
         //return $instance->count($condition);
     }
     // if
 }
开发者ID:abhinay100,项目名称:fengoffice_app,代码行数:18,代码来源:BaseExternalCalendarUsers.class.php

示例7: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'ApplicationLogs')) {
         return parent::count($condition);
     } else {
         return ApplicationLogs::instance()->count($condition);
         //$instance =& ApplicationLogs::instance();
         //return $instance->count($condition);
     }
     // if
 }
开发者ID:bklein01,项目名称:Project-Pier,代码行数:18,代码来源:BaseApplicationLogs.class.php

示例8: count

 /**
 * Return number of rows in this table
 *
 * @access public
 * @param string $conditions Query conditions
 * @return integer
 */
 function count($condition = null) {
   if(isset($this) && instance_of($this, 'PermissionGroups')) {
     return parent::count($condition);
   } else {
     return PermissionGroups::instance()->count($condition);
   } // if
 } // count
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:14,代码来源:BasePermissionGroups.class.php

示例9: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'TemplateParameters')) {
         return parent::count($condition);
     } else {
         return TemplateParameters::instance()->count($condition);
     }
     // if
 }
开发者ID:abhinay100,项目名称:feng_app,代码行数:16,代码来源:BaseTemplateParameters.class.php

示例10: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'DimensionObjectTypeOptions')) {
         return parent::count($condition);
     } else {
         return DimensionObjectTypeOptions::instance()->count($condition);
     }
     // if
 }
开发者ID:abhinay100,项目名称:feng_app,代码行数:16,代码来源:BaseDimensionObjectTypeOptions.class.php

示例11: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'AdministrationTools')) {
         return parent::count($condition);
     } else {
         return AdministrationTools::instance()->count($condition);
         //$instance =& AdministrationTools::instance();
         //return $instance->count($condition);
     }
     // if
 }
开发者ID:469306621,项目名称:Languages,代码行数:18,代码来源:BaseAdministrationTools.class.php

示例12: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'ProjectTicketSubscriptions')) {
         return parent::count($condition);
     } else {
         return ProjectTicketSubscriptions::instance()->count($condition);
     }
     // if
 }
开发者ID:bklein01,项目名称:Project-Pier,代码行数:16,代码来源:BaseProjectTicketSubscriptions.class.php

示例13: count

 /**
 * Return number of rows in this table
 *
 * @access public
 * @param string $conditions Query conditions
 * @return integer
 */
 function count($condition = null) {
   if(isset($this) && instance_of($this, 'ReportConditions')) {
     return parent::count($condition);
   } else {
     return  ReportConditions::instance()->count($condition);
   } // if
 } // count
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:14,代码来源:BaseReportConditions.class.php

示例14: count

	/**
	 * Return number of rows in this table
	 *
	 * @access public
	 * @param string $conditions Query conditions
	 * @return integer
	 */
	function count($condition = null) {
		if(isset($this) && instance_of($this, 'QueuedEmails')) {
			return parent::count($condition);
		} else {
			return QueuedEmails::instance()->count($condition);
			//$instance =& QueuedEmails::instance();
			//return $instance->count($condition);
		} // if
	} // count
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:16,代码来源:BaseQueuedEmails.class.php

示例15: count

 /**
  * Return number of rows in this table
  *
  * @access public
  * @param string $conditions Query conditions
  * @return integer
  */
 function count($condition = null)
 {
     if (isset($this) && instance_of($this, 'MemberPropertyMembers')) {
         return parent::count($condition);
     } else {
         return MemberPropertyMembers::instance()->count($condition);
     }
     // if
 }
开发者ID:abhinay100,项目名称:feng_app,代码行数:16,代码来源:BaseMemberPropertyMembers.class.php


注:本文中的DataManager::count方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。