OpenPSA API Documentation
API Documentation
Packages
Default
fi
midcom
midgard
net
no
org
Charts
Class hierarchy diagram
Reports
Errors
3909
Markers
todo
374
fixme
51
Deprecated elements
3
Back to top
Javascript is disabled; several features are only available if Javascript is enabled.
Public
Protected
Private
Inherited
Methods
__construct
(
$factory
,
$index_name
)
do_post
(
$xml
,
$optimize
)
Posts the xml to the suggested url using HTTP_Request2.
execute
(
$optimize
)
» Private
_send_request
(
)
Properties
mixed
$factory
The xml factory
\HTTP_Request2
$request
The HTTP_Request2 object
\
global
\
midcom_services_indexer_solrRequest
This class handles the posting to the server.
It's a simple wrapper around the HTTP_request2 library.
package
midcom.services
Methods
__construct
(
$factory
,
$index_name
)
Parameters
$factory
$index_name
do_post
(
$xml
,
$optimize
)
Posts the xml to the suggested url using HTTP_Request2.
Parameters
$xml
$optimize
execute
(
$optimize
)
Parameters
$optimize
_send_request
(
)
Properties
mixed
$factory
The xml factory
\HTTP_Request2
$request
The HTTP_Request2 object