コード例 #1
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, 'SearchableObjects')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return SearchableObjects::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
コード例 #2
0
 /**
  * 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');
 }
コード例 #3
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, '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
 }
コード例 #4
0
 /**
  * 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');
 }
コード例 #5
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, '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
 }
コード例 #6
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, 'ReportConditions')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return  ReportConditions::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
コード例 #7
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, '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
 }
コード例 #8
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, 'RoleObjectTypePermissions')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return RoleObjectTypePermissions::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
コード例 #9
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, 'CustomPropertiesByCoType')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return  CustomPropertiesByCoType::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
コード例 #10
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, 'I18nLocaleValues')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return I18NLocaleValues::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
コード例 #11
0
 /**
  * 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
 }
コード例 #13
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, 'ContactConfigOptionValues')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return ContactConfigOptionValues::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
コード例 #14
0
 /**
  * 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');
 }
コード例 #15
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, 'ContactDimensionPermissions')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return ContactDimensionPermissions::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
コード例 #16
0
 /**
  * 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');
 }
コード例 #17
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, '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
 }
コード例 #18
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, 'DimensionObjectTypeHierarchies')) {
     return parent::paginate($arguments, $items_per_page, $current_page);
   } else {
     return DimensionObjectTypeHierarchies::instance()->paginate($arguments, $items_per_page, $current_page);
   } // if
 } // paginate
コード例 #19
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, 'MemberPropertyMembers')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return MemberPropertyMembers::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
コード例 #20
0
 /**
  * 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');
 }
コード例 #21
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, '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
 }
コード例 #22
0
 /**
  * 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');
 }
コード例 #23
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, 'DimensionMemberAssociations')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return DimensionMemberAssociations::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
コード例 #24
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, 'TemplateParameters')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return TemplateParameters::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
コード例 #25
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, '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 );
		}
	}
コード例 #28
0
 /**
  * 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');
 }
コード例 #29
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, 'ProjectCategories')) {
         return parent::paginate($arguments, $items_per_page, $current_page);
     } else {
         return ProjectCategories::instance()->paginate($arguments, $items_per_page, $current_page);
     }
     // if
 }
コード例 #30
0
 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);
 }