of_getobjects


pfcmain.pbl   >   pfc_u_tvs   >   of_getobjects   

Full name pfc_u_tvs.of_getobjects
Access protected
Extend of integer
Return value integer
Prototype protected function integer of_getobjects(ref powerobject[])

Name Datatype
No Data

Name Datatype
No Data

protected function integer of_getobjects (ref powerobject apo_objects[]);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_GetObjects
//
//	Access:		protected
//
//	Arguments:		
//	apo_objects[] 	An array of objects on which the update process will take effect
//						passed by reference.
//
//	Returns:  integer
//	 # of objects in the array
//	-1 = error
//
//	Description:
//	Gets the current objects for which an updates will be attempted.
//
//	If another service is added to the tree, this event will need to be extended or 
//	overridden to get those objects which need updates.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////

// Determine the datasource.
If IsValid(inv_levelsource) Then
	If inv_levelsource.of_GetObjects(apo_objects) < 1 then Return -1
	Return upperbound(apo_objects)
End If

Return -1
end function

     
Name Owner
pfc_u_tvs.of_accepttext pfc_u_tvs
pfc_u_tvs.of_updatespending pfc_u_tvs
pfc_u_tvs.of_validation pfc_u_tvs
pfc_u_tvs.of_updateprep pfc_u_tvs
pfc_u_tvs.of_postupdate pfc_u_tvs
pfc_u_tvs.of_update pfc_u_tvs

     
Name Owner
systemfunctions.isvalid systemfunctions
systemfunctions.upperbound systemfunctions
pfc_n_cst_tvsrv_levelsource.of_getobjects pfc_n_cst_tvsrv_levelsource

     
Full name
No Data

     
Name Scope
No Data