1. Go to this page and download the library: Download pessek/hypeajax library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pessek / hypeajax example snippets
echo elgg_view('my_view', [
// tells the view system to defer view render
'deferred' => true,
// if set to false, placeholder will not be rendered
// if set to a value, that value will be used as the placeholder
// if not set, default ajax loader will be used
'placeholder' => false,
// you can pass other view vars, as you would with normal views
// various Elgg data will be serialized and available to the deferred view
// some of the values may need to be wrapped into a Serializable instance
'entity' => get_entity(123),
'user' => get_user(234),
]);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.