hw_GetObject
(PHP 4)
hw_GetObject — Object record
Описание
Gets an object record. If the second parameter is an array of integer the function will
Список параметров
-
connection
-
The connection identifier.
-
objectID
-
The object identifier, or an array of identifiers.
-
query
-
The query string has the following syntax:
<expr> ::= "(" <expr> ")" | "!" <expr> | /* NOT */ <expr> "||" <expr> | /* OR */ <expr> "&&" <expr> | /* AND */ <attribute> <operator> <value> <attribute> ::= /* any attribute name (Title, Author, DocumentType ...) */ <operator> ::= "=" | /* equal */ "<" | /* less than (string compare) */ ">" | /* greater than (string compare) */ "~" /* regular expression matching */
Возвращаемые значения
Returns the object record for the given object ID if the second parameter is an integer.
If the second parameter is an array of integer the function will return an array of object records. In such a case the last parameter is also evaluated which is a query string.
Смотрите также
- hw_getandlock() - Return object record and lock object
- hw_getobjectbyquery() - Search object
[an error occurred while processing the directive]
- hw_Array2Objrec
- hw_changeobject
- hw_Children
- hw_ChildrenObj
- hw_Close
- hw_Connect
- hw_connection_info
- hw_cp
- hw_Deleteobject
- hw_DocByAnchor
- hw_DocByAnchorObj
- hw_Document_Attributes
- hw_Document_BodyTag
- hw_Document_Content
- hw_Document_SetContent
- hw_Document_Size
- hw_dummy
- hw_EditText
- hw_Error
- hw_ErrorMsg
- hw_Free_Document
- hw_GetAnchors
- hw_GetAnchorsObj
- hw_GetAndLock
- hw_GetChildColl
- hw_GetChildCollObj
- hw_GetChildDocColl
- hw_GetChildDocCollObj
- hw_GetObject
- hw_GetObjectByQuery
- hw_GetObjectByQueryColl
- hw_GetObjectByQueryCollObj
- hw_GetObjectByQueryObj
- hw_GetParents
- hw_GetParentsObj
- hw_getrellink
- hw_GetRemote
- hw_getremotechildren
- hw_GetSrcByDestObj
- hw_GetText
- hw_getusername
- hw_Identify
- hw_InCollections
- hw_Info
- hw_InsColl
- hw_InsDoc
- hw_insertanchors
- hw_InsertDocument
- hw_InsertObject
- hw_mapid
- hw_Modifyobject
- hw_mv
- hw_New_Document
- hw_objrec2array
- hw_Output_Document
- hw_pConnect
- hw_PipeDocument
- hw_Root
- hw_setlinkroot
- hw_stat
- hw_Unlock
- hw_Who
Коментарии
There is a problem with the ObcectIds as used in Hyperwave ( like 0x232123).The automatic type conversion makes a variable like this a string, and you get nothin. Even the explicit conversion (like intval (0x232123)) leads to nonsense: You need to convert a hyperwave hexdec-Oid as follows:
intval(hexdec(Oid));
then you get results :-)