PHP code example of jagilpe / ajax-blocks-bundle
1. Go to this page and download the library: Download jagilpe/ajax-blocks-bundle 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/ */
jagilpe / ajax-blocks-bundle example snippets
// in AppKernel::registerBundles()
$bundles = array(
// ...
new Jagilpe\AjaxBlocksBundle\AjaxBlocksBundle(),
// ...
);
class DefaultController extends Controller
{
// ...
public function myAjaxBlockAction()
{
$variables = array();
// Get the
class DefaultController extends Controller
{
// ...
public function myAjaxBlockAction($entityId, $otherParameter)
{
$variables = array();
// Get the