|
of_register
|
|
Full name
|
pfc_n_cst_dwcache.of_register
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_register(string,string,string,boolean)
|
Name
|
Datatype
|
la_args
|
any[20]
|
lds_control
|
datastore
|
ldw_control
|
datawindow
|
lpo_obj
|
powerobject[]
|
ls_sql
|
string
|
ltr_obj
|
n_tr
|
public function integer of_register (string as_id, string as_dwobjectname, string as_importfile, boolean ab_initialload);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_Register
//
// Access: public
//
// Arguments:
// as_id The ID to be given to this Cache Object.
// as_dwobjectname The DataWindow Object to be used on the Cache Object.
// as_importfile The name of the file.
// ab_initialload Perform an initial load.
//
// Returns: integer
// 1 successful.
// 0 already registered.
// -1 error.
//
// Description:
// Registers the object into the service.
// The cache data is found on an import file. There will be an initial
// load of this data. The of_Refresh() functions will have no effect on this
// Cache object.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1999 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.
//
//////////////////////////////////////////////////////////////////////////////
n_tr ltr_obj
any la_args[20]
powerobject lpo_obj[]
datawindow ldw_control
string ls_sql
datastore lds_control
Return of_Register ( IMPORTFILE, ab_initialload, as_id, &
as_dwobjectname, ltr_obj, la_args, &
lpo_obj, ldw_control, lds_control, as_importfile, ls_sql)
end function