Parent: $root.$extobjects.COMPONENT.$objects
$objrefcount | The count of existing objects of this type created as an object reference |
$listrefs | $listrefs([bCurTaskOnly=kFalse]) Returns a list of object references to objects that have been allocated using $newref or $newstatementref,and which are still valid.If bCurTaskOnly is kTrue,the list only contains objects in the current task |
$makepool | $makepool(name[,count=0,hostname,username,password,initmethod]) creates a pool of session objects (this method only applies to an object that is a SQL session object, or a sub-class of a SQL session object) As well as allocating sessions, $makepool can also call an initialisation method and logon to each session. name is the name of the pool, used to identify the pool in the $root.$sessionpools group. count is the number of sessions to be created in the pool. If initmethod is not empty, then it must have the form "class.method"; Omnis calls the method in the class once for each session created in the pool, allowing you to set initial values for the session. Omnis passes a single parameter to the method, an object reference to the session. If the hostname or username parameter is not empty, hostname, username and password are used to log on to the database server (after running the initmethod if specified). |
$new | $new(parameters) creates and returns a dynamic instance of the object; typically used to return a new object instance to an object variable with no subtype specified |
$newref | $newref(parameters) creates and returns a dynamic instance of the object to be used with an Object reference variable; typically used to return a new object instance to an object reference variable |