Example #1
0
	function findOne($arguments = null) {
		if (isset ( $this ) && instance_of ( $this, 'Widgets' )) {
			return parent::findOne ( $arguments );
		} else {
			return Widgets::instance ()->findOne ( $arguments );
		}
	}
 /**
  * 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
 }
 /**
  * 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
 }
 /**
  * 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
 }
 /**
  * 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
 }
 /**
 * 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
 /**
  * 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
 }
 /**
  * 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
 }
 /**
 * 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
 /**
 * 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
 /**
  * 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
 }
 /**
 * 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
 /**
  * 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
 }
 /**
  * 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
 }
 /**
  * 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
 }
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return I18NLocale
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'I18nLocales')) {
         return parent::findOne($arguments);
     } else {
         return I18nLocales::instance()->findOne($arguments);
     }
     // if
 }
 /**
 * Find one specific record
 *
 * @access public
 * @param array $arguments
 * @return ContactDimensionPermission 
 */
 function findOne($arguments = null) {
   if(isset($this) && instance_of($this, 'ContactDimensionPermissions')) {
     return parent::findOne($arguments);
   } else {
     return ContactDimensionPermissions::instance()->findOne($arguments);
   } // if
 } // findOne
Example #18
0
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return TabPanel 
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'TabPanels')) {
         return parent::findOne($arguments);
     } else {
         return TabPanels::instance()->findOne($arguments);
     }
     // if
 }
 /**
 * Find one specific record
 *
 * @access public
 * @param array $arguments
 * @return  ReportConditions 
 */
 function findOne($arguments = null) {
   if(isset($this) && instance_of($this, 'ReportConditions')) {
     return parent::findOne($arguments);
   } else {
     return  ReportConditions::instance()->findOne($arguments);
   } // if
 } // findOne
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return ProjectTicketSubscription 
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'ProjectTicketSubscriptions')) {
         return parent::findOne($arguments);
     } else {
         return ProjectTicketSubscriptions::instance()->findOne($arguments);
     }
     // if
 }
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return MailAccount
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'ExternalCalendarUsers')) {
         return parent::findOne($arguments);
     } else {
         return ExternalCalendarUsers::instance()->findOne($arguments);
         //$instance =& MailAccounts::instance();
         //return $instance->findOne($arguments);
     }
     // if
 }
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return AdministrationTool 
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'AdministrationTools')) {
         return parent::findOne($arguments);
     } else {
         return AdministrationTools::instance()->findOne($arguments);
         //$instance =& AdministrationTools::instance();
         //return $instance->findOne($arguments);
     }
     // if
 }
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return ApplicationLog 
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'ApplicationLogs')) {
         return parent::findOne($arguments);
     } else {
         return ApplicationLogs::instance()->findOne($arguments);
         //$instance =& ApplicationLogs::instance();
         //return $instance->findOne($arguments);
     }
     // if
 }
 /**
 * Find one specific record
 *
 * @access public
 * @param array $arguments
 * @return PermissionGroup 
 */
 function findOne($arguments = null) {
   if(isset($this) && instance_of($this, 'PermissionGroups')) {
     return parent::findOne($arguments);
   } else {
     return PermissionGroups::instance()->findOne($arguments);
   } // if
 } // findOne
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return ConfigOption 
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'UserWsConfigOptionValues')) {
         return parent::findOne($arguments);
     } else {
         return UserWsConfigOptionValues::instance()->findOne($arguments);
         //$instance =& ConfigOptions::instance();
         //return $instance->findOne($arguments);
     }
     // if
 }
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return TemplateObject
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'TemplateParameters')) {
         return parent::findOne($arguments);
     } else {
         return TemplateParameters::instance()->findOne($arguments);
     }
     // if
 }
	/**
	 * Find one specific record
	 *
	 * @access public
	 * @param array $arguments
	 * @return QueuedEmail
	 */
	function findOne($arguments = null) {
		if(isset($this) && instance_of($this, 'QueuedEmails')) {
			return parent::findOne($arguments);
		} else {
			return QueuedEmails::instance()->findOne($arguments);
			//$instance =& QueuedEmails::instance();
			//return $instance->findOne($arguments);
		} // if
	} // findOne
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return Company 
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'Companies')) {
         return parent::findOne($arguments);
     } else {
         return Companies::instance()->findOne($arguments);
         //$instance =& Companies::instance();
         //return $instance->findOne($arguments);
     }
     // if
 }
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return Category 
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'ProjectCategories')) {
         return parent::findOne($arguments);
     } else {
         return ProjectCategories::instance()->findOne($arguments);
     }
     // if
 }
 /**
  * Find one specific record
  *
  * @access public
  * @param array $arguments
  * @return MaxSystemPermission 
  */
 function findOne($arguments = null)
 {
     if (isset($this) && instance_of($this, 'MaxSystemPermissions')) {
         return parent::findOne($arguments);
     } else {
         return MaxSystemPermissions::instance()->findOne($arguments);
     }
     // if
 }