PHP code example of icybee / module-sites
1. Go to this page and download the library: Download icybee/module-sites 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/ */
icybee / module-sites example snippets
$app->models['nodes']->one->site;
$app->site;
# or
$app->request->context->site;
$app->site_id;
# or
$app->request->context->site_id;
$app->request->context->site;
$app->request->context->site_id;