AbstractDBObject - Global
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- API reference
The AbstractDBObject script include provides common methods for classes based on records in the database.
Use this script include as a base class to create your own database object class.
AbstractDBObject - isValid()
Determines if the current database record is valid.
See also IPService - Global.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
Boolean | True if the database record is valid, false otherwise. Flag that indicates whether the database record is valid. Valid values:
|
Example
The following example shows how to get a list of valid instances using the IPService() class from the IP Services [cmdb_ip_service] table. The IPService class extends the AbstractDBObject() class.
Output: