/**
 * This function will return paginated result. Result is an array where first element is 
 * array of returned object and second populated pagination object that can be used for 
 * obtaining and rendering pagination data using various helpers.
 * 
 * Items and pagination array vars are indexed with 0 for items and 1 for pagination
 * because you can't use associative indexing with list() construct
 *
 * @access public
 * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
 * @param integer $items_per_page Number of items per page
 * @param integer $current_page Current page number
 * @return array
 */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1) {
   if(isset($this) && instance_of($this, 'SearchableObjects')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return SearchableObjects::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
 /**
  * Return paginated result
  * 
  * This function will return paginated result as array. First element of 
  * returned array is array of items that match the request. Second parameter 
  * is Pager class instance that holds pagination data (total pages, current 
  * and next page and so on)
  *
  * @param array $arguments
  * @param integer $page
  * @param integer $per_page
  * @return array
  * @throws DBQueryError
  */
 function paginate($arguments = null, $page = 1, $per_page = 10)
 {
     return DataManager::paginate($arguments, $page, $per_page, TABLE_PREFIX . 'incoming_mailboxes', 'IncomingMailbox');
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'ProjectChartParams')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return ProjectChartParams::instance()->paginate($arguments, $items_per_page, $current_page);
         //$instance =& ProjectChartParams::instance();
         //return $instance->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * Return paginated result
  * 
  * This function will return paginated result as array. First element of 
  * returned array is array of items that match the request. Second parameter 
  * is Pager class instance that holds pagination data (total pages, current 
  * and next page and so on)
  *
  * @param array $arguments
  * @param integer $page
  * @param integer $per_page
  * @return array
  * @throws DBQueryError
  */
 function paginate($arguments = null, $page = 1, $per_page = 10)
 {
     return DataManager::paginate($arguments, $page, $per_page, TABLE_PREFIX . 'document_categories', 'DocumentCategory');
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'UserWsConfigOptionValues')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return UserWsConfigOptionValues::instance()->paginate($arguments, $items_per_page, $current_page);
         //$instance =& ConfigOptions::instance();
         //return $instance->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
 * This function will return paginated result. Result is an array where first element is 
 * array of returned object and second populated pagination object that can be used for 
 * obtaining and rendering pagination data using various helpers.
 * 
 * Items and pagination array vars are indexed with 0 for items and 1 for pagination
 * because you can't use associative indexing with list() construct
 *
 * @access public
 * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
 * @param integer $items_per_page Number of items per page
 * @param integer $current_page Current page number
 * @return array
 */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1) {
   if(isset($this) && instance_of($this, 'ReportConditions')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return  ReportConditions::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
 /**
  * This function will return paginated result. Result is an array where first element is
  * array of returned object and second populated pagination object that can be used for
  * obtaining and rendering pagination data using various helpers.
  *
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'ExternalCalendarUsers')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return ExternalCalendarUsers::instance()->paginate($arguments, $items_per_page, $current_page);
         //$instance =& MailAccounts::instance();
         //return $instance->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'RoleObjectTypePermissions')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return RoleObjectTypePermissions::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
 * This function will return paginated result. Result is an array where first element is 
 * array of returned object and second populated pagination object that can be used for 
 * obtaining and rendering pagination data using various helpers.
 * 
 * Items and pagination array vars are indexed with 0 for items and 1 for pagination
 * because you can't use associative indexing with list() construct
 *
 * @access public
 * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
 * @param integer $items_per_page Number of items per page
 * @param integer $current_page Current page number
 * @return array
 */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1) {
   if(isset($this) && instance_of($this, 'CustomPropertiesByCoType')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return  CustomPropertiesByCoType::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'I18nLocaleValues')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return I18NLocaleValues::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * Return paginated result
  * 
  * This function will return paginated result as array. First element of 
  * returned array is array of items that match the request. Second parameter 
  * is Pager class instance that holds pagination data (total pages, current 
  * and next page and so on)
  *
  * @param array $arguments
  * @param integer $page
  * @param integer $per_page
  * @return array
  * @throws DBQueryError
  */
 function paginate($arguments = null, $page = 1, $per_page = 10)
 {
     return DataManager::paginate($arguments, $page, $per_page, TABLE_PREFIX . 'currencies', 'Currency');
 }
예제 #12
0
 /**
  * This function will return paginated result. Result is an array where first element is
  * array of returned object and second populated pagination object that can be used for
  * obtaining and rendering pagination data using various helpers.
  *
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1, $count = null)
 {
     if (isset($this) && instance_of($this, 'MailDatas')) {
         return parent::paginate($arguments, $items_per_page, $current_page, $count);
     } else {
         return MailDatas::instance()->paginate($arguments, $items_per_page, $current_page, $count);
         //$instance =& MailDatas::instance();
         //return $instance->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'ContactConfigOptionValues')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return ContactConfigOptionValues::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * Return paginated result
  * 
  * This function will return paginated result as array. First element of 
  * returned array is array of items that match the request. Second parameter 
  * is Pager class instance that holds pagination data (total pages, current 
  * and next page and so on)
  *
  * @param array $arguments
  * @param integer $page
  * @param integer $per_page
  * @return array
  * @throws DBQueryError
  */
 function paginate($arguments = null, $page = 1, $per_page = 10)
 {
     return DataManager::paginate($arguments, $page, $per_page, TABLE_PREFIX . 'project_groups', 'ProjectGroup');
 }
 /**
 * This function will return paginated result. Result is an array where first element is 
 * array of returned object and second populated pagination object that can be used for 
 * obtaining and rendering pagination data using various helpers.
 * 
 * Items and pagination array vars are indexed with 0 for items and 1 for pagination
 * because you can't use associative indexing with list() construct
 *
 * @access public
 * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
 * @param integer $items_per_page Number of items per page
 * @param integer $current_page Current page number
 * @return array
 */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1) {
   if(isset($this) && instance_of($this, 'ContactDimensionPermissions')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return ContactDimensionPermissions::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
 /**
  * Return paginated result
  * 
  * This function will return paginated result as array. First element of 
  * returned array is array of items that match the request. Second parameter 
  * is Pager class instance that holds pagination data (total pages, current 
  * and next page and so on)
  *
  * @param array $arguments
  * @param integer $page
  * @param integer $per_page
  * @return array
  * @throws DBQueryError
  */
 function paginate($arguments = null, $page = 1, $per_page = 10)
 {
     return DataManager::paginate($arguments, $page, $per_page, TABLE_PREFIX . 'reminders', 'Reminder');
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'WorkspaceBillings')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return WorkspaceBillings::instance()->paginate($arguments, $items_per_page, $current_page);
         //$instance =& WorkspaceBillings::instance();
         //return $instance->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
 * This function will return paginated result. Result is an array where first element is 
 * array of returned object and second populated pagination object that can be used for 
 * obtaining and rendering pagination data using various helpers.
 * 
 * Items and pagination array vars are indexed with 0 for items and 1 for pagination
 * because you can't use associative indexing with list() construct
 *
 * @access public
 * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
 * @param integer $items_per_page Number of items per page
 * @param integer $current_page Current page number
 * @return array
 */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1) {
   if(isset($this) && instance_of($this, 'DimensionObjectTypeHierarchies')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return DimensionObjectTypeHierarchies::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'MemberPropertyMembers')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return MemberPropertyMembers::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * Return paginated result
  * 
  * This function will return paginated result as array. First element of 
  * returned array is array of items that match the request. Second parameter 
  * is Pager class instance that holds pagination data (total pages, current 
  * and next page and so on)
  *
  * @param array $arguments
  * @param integer $page
  * @param integer $per_page
  * @return array
  * @throws DBQueryError
  */
 function paginate($arguments = null, $page = 1, $per_page = 10)
 {
     return DataManager::paginate($arguments, $page, $per_page, TABLE_PREFIX . 'source_users', 'SourceUser');
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'ApplicationLogs')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return ApplicationLogs::instance()->paginate($arguments, $items_per_page, $current_page);
         //$instance =& ApplicationLogs::instance();
         //return $instance->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * Return paginated result
  * 
  * This function will return paginated result as array. First element of 
  * returned array is array of items that match the request. Second parameter 
  * is Pager class instance that holds pagination data (total pages, current 
  * and next page and so on)
  *
  * @param array $arguments
  * @param integer $page
  * @param integer $per_page
  * @return array
  * @throws DBQueryError
  */
 function paginate($arguments = null, $page = 1, $per_page = 10)
 {
     return DataManager::paginate($arguments, $page, $per_page, TABLE_PREFIX . 'modules', 'Module');
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'DimensionMemberAssociations')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return DimensionMemberAssociations::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * This function will return paginated result. Result is an array where first element is
  * array of returned object and second populated pagination object that can be used for
  * obtaining and rendering pagination data using various helpers.
  *
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'TemplateParameters')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return TemplateParameters::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'ObjectHandins')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return ObjectHandins::instance()->paginate($arguments, $items_per_page, $current_page);
         //$instance =& ObjectHandin::instance();
         //return $instance->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
예제 #26
0
	/**
	 * This function will return paginated result. Result is an array where first element is
	 * array of returned object and second populated pagination object that can be used for
	 * obtaining and rendering pagination data using various helpers.
	 *
	 * Items and pagination array vars are indexed with 0 for items and 1 for pagination
	 * because you can't use associative indexing with list() construct
	 *
	 * @access public
	 * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
	 * @param integer $items_per_page Number of items per page
	 * @param integer $current_page Current page number
	 * @return array
	 */
	function paginate($arguments = null, $items_per_page = 10, $current_page = 1) {
		if(isset($this) && instance_of($this, 'QueuedEmails')) {
			return parent::paginate($arguments, $items_per_page, $current_page);
		} else {
			return QueuedEmails::instance()->paginate($arguments, $items_per_page, $current_page);
			//$instance =& QueuedEmails::instance();
			//return $instance->paginate($arguments, $items_per_page, $current_page);
		} // if
	} // paginate
예제 #27
0
	function paginate($arguments = null, $items_per_page = 10, $current_page = 1) {
		if (isset ( $this ) && instance_of ( $this, 'Widgets' )) {
			return parent::paginate ( $arguments, $items_per_page, $current_page );
		} else {
			return Widgets::instance ()->paginate ( $arguments, $items_per_page, $current_page );
		}
	}
 /**
  * Return paginated result
  * 
  * This function will return paginated result as array. First element of 
  * returned array is array of items that match the request. Second parameter 
  * is Pager class instance that holds pagination data (total pages, current 
  * and next page and so on)
  *
  * @param array $arguments
  * @param integer $page
  * @param integer $per_page
  * @return array
  * @throws DBQueryError
  */
 function paginate($arguments = null, $page = 1, $per_page = 10)
 {
     return DataManager::paginate($arguments, $page, $per_page, TABLE_PREFIX . 'config_options', 'ConfigOption');
 }
 /**
  * This function will return paginated result. Result is an array where first element is 
  * array of returned object and second populated pagination object that can be used for 
  * obtaining and rendering pagination data using various helpers.
  * 
  * Items and pagination array vars are indexed with 0 for items and 1 for pagination
  * because you can't use associative indexing with list() construct
  *
  * @access public
  * @param array $arguments Query argumens (@see find()) Limit and offset are ignored!
  * @param integer $items_per_page Number of items per page
  * @param integer $current_page Current page number
  * @return array
  */
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1)
 {
     if (isset($this) && instance_of($this, 'ProjectCategories')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return ProjectCategories::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
 function paginate($arguments = null, $items_per_page = 10, $current_page = 1, $count = null)
 {
     $this->check_include_trashed($arguments);
     return parent::paginate($arguments, $items_per_page, $current_page, $count);
 }