Subversion Repositories PHPX

Rev

Rev 43 | Rev 52 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 43 Rev 51
Line 1... Line 1...
1
<?php
1
<?php
2
2
-
 
3
namespace PointedEars\PHPX;
-
 
4
3
require_once __DIR__ . '/Application.php';
5
require_once __DIR__ . '/Application.php';
4
require_once __DIR__ . '/View.php';
6
require_once __DIR__ . '/View.php';
5
7
6
/* lcfirst() is unavailable before PHP 5.3 */
-
 
7
if (false === function_exists('lcfirst'))
-
 
8
{
-
 
9
  /**
-
 
10
   * Make a string's first character lowercase
-
 
11
   *
-
 
12
   * @param string $str The input string.
-
 
13
   * @return string The resulting string.
-
 
14
   * @link http://www.php.net/manual/en/function.lcfirst.php
-
 
15
   */
-
 
16
  function lcfirst($str)
-
 
17
  {
-
 
18
    return strtolower(substr($str, 0, 1)) . substr($str, 1);
-
 
19
  }
-
 
20
}
-
 
21
-
 
22
/**
8
/**
23
 * A general controller that can handle views according to
9
 * A general controller that can handle views according to
24
 * the MVC pattern
10
 * the MVC pattern
25
 *
11
 *
26
 * @author tlahn
12
 * @author tlahn