PHP Classes

File: engine/modules/core/feeds/feeds.hook.inc

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/core/feeds/feeds.hook.inc   Download  
File: engine/modules/core/feeds/feeds.hook.inc
Role: Example script
Content type: text/plain
Description: Example script
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 300 bytes
 

Contents

Class file image Download
<?php
/**
 * Implements hook_boot().
 *
 * @param Environment $env
 * The Environment.
 *
 * @param $vars
 * An array of variables.
 */
function feeds_init($env, $vars) {
  if (
$env->request[1] == 'feeds') {
   
$feed = new Feed($env, $env->request[2]);
    print
$feed->render();
    exit;
  }
}