|
楼主 |
发表于 2008-6-27 16:13:18
|
显示全部楼层
你没见到KOHANA中的这个类吗:
以下是源码:
PHP复制代码 <?php defined('SYSPATH') or die('No direct script access.');
/**
* Merry Christmas!
*
* I wonder if this will be picked up by Google and cause a massive number of
* hits to just this file....
*
* @author Kohana Team
* @copyright (c) 2007 Kohana Team
* @license http://kohanaphp.com/license.html
*/
class Naked_Woman_Core {
public function __construct ()
{
throw new Kohana_User_Exception
(
'cash::generate(), plz?',
'There are no naked women or cash generators in Kohana. Sorry! ;)'
);
}
} // End Naked Woman 复制代码 |
|