/**
 * 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
 /**
  * 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
 }
 /**
  * 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
 }
 /**
  * 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
 }
 /**
  * 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');
 }
 /**
  * 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
 }
 /**
  * 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
 }
 /**
 * 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
 /**
  * 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
 }
 /**
  * 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
 }
 /**
  * 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
 }
 /**
  * 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 . 'modules');
 }
 /**
  * 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
 }
 /**
  * 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 . 'source_users');
 }
 /**
 * 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
예제 #16
0
	/**
	 * 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
 /**
  * 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
 }
 /**
  * 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, 'ContactImValues')) {
         return parent::count($condition);
     } else {
         return ContactImValues::instance()->count($condition);
         //$instance =& ContactImValues::instance();
         //return $instance->count($condition);
     }
     // if
 }
예제 #19
0
 /**
 * 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, 'WebpageTypes')) {
     return parent::count($condition);
   } else {
     return WebpageTypes::instance()->count($condition);
   } // if
 } // 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 . 'config_options');
 }
 /**
  * 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 . 'document_categories');
 }
 /**
  * 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, 'I18nLocales')) {
         return parent::count($condition);
     } else {
         return I18nLocales::instance()->count($condition);
     }
     // if
 }
 /**
  * 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, 'UserWsConfigOptionValues')) {
         return parent::count($condition);
     } else {
         return UserWsConfigOptionValues::instance()->count($condition);
         //$instance =& ConfigOptions::instance();
         //return $instance->count($condition);
     }
     // if
 }
 /**
 * 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, 'ContactDimensionPermissions')) {
     return parent::count($condition);
   } else {
     return ContactDimensionPermissions::instance()->count($condition);
   } // if
 } // count
예제 #25
0
	function count($condition = null) {
		if (isset ( $this ) && instance_of ( $this, 'Widgets' )) {
			return parent::count ( $condition );
		} else {
			return Widgets::instance ()->count ( $condition );
		}
	}
 /**
 * 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, 'ObjectProperties')) {
     return parent::count($condition);
   } else {
     return  ObjectProperties::instance()->count($condition);
     //$instance =&  ObjectProperties::instance();
     //return $instance->count($condition);
   } // if
 } // count
예제 #27
0
 /**
  * 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, 'CronEvents')) {
         return parent::count($condition);
     } else {
         return CronEvents::instance()->count($condition);
     }
     // if
 }
 /**
  * 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, 'WorkspaceBillings')) {
         return parent::count($condition);
     } else {
         return WorkspaceBillings::instance()->count($condition);
         //$instance =& WorkspaceBillings::instance();
         //return $instance->count($condition);
     }
     // if
 }
 /**
  * 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, 'ProjectCategories')) {
         return parent::count($condition);
     } else {
         return ProjectCategories::instance()->count($condition);
     }
     // if
 }
 /**
  * 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, 'ProjectTaskListTemplates')) {
         return parent::count($condition);
     } else {
         return ProjectTaskListTemplates::instance()->count($condition);
         //$instance =& ProjectTaskListTemplates::instance();
         //return $instance->count($condition);
     }
     // if
 }