File: most_basic.php

package info (click to toggle)
php-horde-autoloader 2.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 156 kB
  • ctags: 98
  • sloc: php: 394; xml: 268; sh: 3; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
 * Most basic usage example for Horde_Autoloader
 * Load the default Horde Autoloader without any additional parameters
 * In default configuration, the Autoloader tries to load
 * My/Class/Name.php when My_Class_Name is first accessed
 * No require_once statement is needed.
 */

require_once 'Horde/Autoloader/Default.php';

/**
 * Now you can use any class from source files
 * Example: Use Horde_Date without first loading the class file manually
 */

$dt = new Horde_Date(time());
print $dt->toIcalendar();