code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
<?php
/**
* The directory in which your application specific resources are located.
* The application directory must contain the bootstrap.php file.
*
* @link http://kohanaframework.org/guide/about.install#application
*/
$application = 'application';
/**
* The directory in which your modules are located.
*
* ... | zuber-personal-page | trunk/personal/modules/unittest/bootstrap.php | PHP | asf20 | 3,469 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
return array
(
'default' => array
(
'type' => 'MySQL',
'connection' => array(
/**
* The following options are available for MySQL:
*
* string hostname server hostname, or socket
* string database database name
... | zuber-personal-page | trunk/personal/modules/database/config/database.php | PHP | asf20 | 1,520 |
<?php defined('SYSPATH') OR die('No direct script access.');
return array(
'database' => array(
/**
* Database settings for session storage.
*
* string group configuation group name
* string table session table name
* integer gc number of requests before gc is invoked
* columns array ... | zuber-personal-page | trunk/personal/modules/database/config/session.php | PHP | asf20 | 698 |
<?php defined('SYSPATH') OR die('No direct script access.');
return array(
// Leave this alone
'modules' => array(
// This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename'
'database' => array(
// Whether this modules userguide pages sho... | zuber-personal-page | trunk/personal/modules/database/config/userguide.php | PHP | asf20 | 714 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Session_Database extends Kohana_Session_Database {}
| zuber-personal-page | trunk/personal/modules/database/classes/Session/Database.php | PHP | asf20 | 120 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Result_Cached extends Kohana_Database_Result_Cached {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Result/Cached.php | PHP | asf20 | 132 |
<?php defined('SYSPATH') OR die('No direct script access.');
abstract class Database_Result extends Kohana_Database_Result {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Result.php | PHP | asf20 | 127 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Exception extends Kohana_Database_Exception {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Exception.php | PHP | asf20 | 124 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_PDO extends Kohana_Database_PDO {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/PDO.php | PHP | asf20 | 112 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Expression extends Kohana_Database_Expression {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Expression.php | PHP | asf20 | 126 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_MySQL extends Kohana_Database_MySQL {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/MySQL.php | PHP | asf20 | 116 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_MySQL_Result extends Kohana_Database_MySQL_Result {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/MySQL/Result.php | PHP | asf20 | 130 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Query extends Kohana_Database_Query {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Query.php | PHP | asf20 | 116 |
<?php defined('SYSPATH') OR die('No direct script access.');
abstract class Database_Query_Builder extends Kohana_Database_Query_Builder {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Query/Builder.php | PHP | asf20 | 141 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Query_Builder_Delete extends Kohana_Database_Query_Builder_Delete {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Query/Builder/Delete.php | PHP | asf20 | 146 |
<?php defined('SYSPATH') OR die('No direct script access.');
abstract class Database_Query_Builder_Where extends Kohana_Database_Query_Builder_Where {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Query/Builder/Where.php | PHP | asf20 | 153 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Query_Builder_Select extends Kohana_Database_Query_Builder_Select {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Query/Builder/Select.php | PHP | asf20 | 146 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Query_Builder_Join extends Kohana_Database_Query_Builder_Join {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Query/Builder/Join.php | PHP | asf20 | 142 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Query_Builder_Insert extends Kohana_Database_Query_Builder_Insert {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Query/Builder/Insert.php | PHP | asf20 | 146 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Database_Query_Builder_Update extends Kohana_Database_Query_Builder_Update {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database/Query/Builder/Update.php | PHP | asf20 | 146 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database-based session class.
*
* Sample schema:
*
* CREATE TABLE `sessions` (
* `session_id` VARCHAR( 24 ) NOT NULL,
* `last_active` INT UNSIGNED NOT NULL,
* `contents` TEXT NOT NULL,
* PRIMARY KEY ( `sessi... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Session/Database.php | PHP | asf20 | 5,106 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Object used for caching the results of select queries. See [Results](/database/results#select-cached) for usage and examples.
*
* @package Kohana/Database
* @category Query/Result
* @author Kohana Team
* @copyright (c) 2009 Kohana Team
... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Result/Cached.php | PHP | asf20 | 1,100 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database result wrapper. See [Results](/database/results) for usage and examples.
*
* @package Kohana/Database
* @category Query/Result
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/lic... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Result.php | PHP | asf20 | 6,478 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database exceptions.
*
* @package Kohana/Database
* @category Exceptions
* @author Kohana Team
* @copyright (c) 2009 Kohana Team
* @license http://kohanaphp.com/license
*/
class Kohana_Database_Exception extends Kohana_Exception {}
| zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Exception.php | PHP | asf20 | 320 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* PDO database connection.
*
* @package Kohana/Database
* @category Drivers
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/license
*/
class Kohana_Database_PDO extends Database {
// PDO ... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/PDO.php | PHP | asf20 | 6,041 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database expressions can be used to add unescaped SQL fragments to a
* [Database_Query_Builder] object.
*
* For example, you can use an expression to generate a column alias:
*
* // SELECT CONCAT(first_name, last_name) AS full_name
* $que... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Expression.php | PHP | asf20 | 3,035 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* MySQL database connection.
*
* @package Kohana/Database
* @category Drivers
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/license
*/
class Kohana_Database_MySQL extends Database {
// ... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/MySQL.php | PHP | asf20 | 12,734 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* MySQL database result. See [Results](/database/results) for usage and examples.
*
* @package Kohana/Database
* @category Query/Result
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/lice... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/MySQL/Result.php | PHP | asf20 | 1,729 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database query wrapper. See [Parameterized Statements](database/query/parameterized) for usage and examples.
*
* @package Kohana/Database
* @category Query
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Query.php | PHP | asf20 | 5,781 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database query builder. See [Query Builder](/database/query/builder) for usage and examples.
*
* @package Kohana/Database
* @category Query
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Query/Builder.php | PHP | asf20 | 5,555 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database query builder for DELETE statements. See [Query Builder](/database/query/builder) for usage and examples.
*
* @package Kohana/Database
* @category Query
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license ... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Query/Builder/Delete.php | PHP | asf20 | 2,042 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database query builder for WHERE statements. See [Query Builder](/database/query/builder) for usage and examples.
*
* @package Kohana/Database
* @category Query
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license ... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Query/Builder/Where.php | PHP | asf20 | 3,590 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database query builder for SELECT statements. See [Query Builder](/database/query/builder) for usage and examples.
*
* @package Kohana/Database
* @category Query
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license ... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Query/Builder/Select.php | PHP | asf20 | 9,259 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database query builder for JOIN statements. See [Query Builder](/database/query/builder) for usage and examples.
*
* @package Kohana/Database
* @category Query
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license h... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Query/Builder/Join.php | PHP | asf20 | 3,275 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database query builder for INSERT statements. See [Query Builder](/database/query/builder) for usage and examples.
*
* @package Kohana/Database
* @category Query
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license ... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Query/Builder/Insert.php | PHP | asf20 | 3,790 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database query builder for UPDATE statements. See [Query Builder](/database/query/builder) for usage and examples.
*
* @package Kohana/Database
* @category Query
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license ... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database/Query/Builder/Update.php | PHP | asf20 | 2,801 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database writer for the config system
*
* @package Kohana
* @category Configuration
* @author Kohana Team
* @copyright (c) 2007-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana_Config_Database_Writer e... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Config/Database/Writer.php | PHP | asf20 | 2,783 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database reader for the kohana config system
*
* @package Kohana/Database
* @category Configuration
* @author Kohana Team
* @copyright (c) 2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana_Config_Databa... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Config/Database/Reader.php | PHP | asf20 | 1,633 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Backwards compatibility extension for the database writer.
*
* @package Kohana/Database
* @category Configuration
* @author Kohana Team
* @copyright (c) 2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Config/Database.php | PHP | asf20 | 380 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database Model base class.
*
* @package Kohana/Database
* @category Models
* @author Kohana Team
* @copyright (c) 2008-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
abstract class Kohana_Model_Database extends Mo... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Model/Database.php | PHP | asf20 | 1,372 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Provides a shortcut to get Database related objects for [making queries](../database/query).
*
* Shortcut | Returned Object
* -------------|---------------
* [`DB::query()`](#query) | [Database_Query]
* [`DB::insert()`](#insert) | [Database_... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/DB.php | PHP | asf20 | 4,502 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Database connection wrapper/helper.
*
* You may get a database instance using `Database::instance('name')` where
* name is the [config](database/config) group.
*
* This class provides connection instance management via Database Drivers, as
* well... | zuber-personal-page | trunk/personal/modules/database/classes/Kohana/Database.php | PHP | asf20 | 19,944 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Transparent extension for the Kohana_Config_Database_Writer class
*
* @package Kohana/Database
* @category Configuration
* @author Kohana Team
* @copyright (c) 2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class... | zuber-personal-page | trunk/personal/modules/database/classes/Config/Database/Writer.php | PHP | asf20 | 388 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Transparent extension of the Kohana_Config_Database_Reader class
*
* @package Kohana/Database
* @category Configuration
* @author Kohana Team
* @copyright (c) 2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class ... | zuber-personal-page | trunk/personal/modules/database/classes/Config/Database/Reader.php | PHP | asf20 | 387 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Transparent extension for the Kohana_Config_Database class
*
* @package Kohana/Database
* @category Configuration
* @author Kohana Team
* @copyright (c) 2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Config... | zuber-personal-page | trunk/personal/modules/database/classes/Config/Database.php | PHP | asf20 | 364 |
<?php defined('SYSPATH') OR die('No direct script access.');
abstract class Model_Database extends Kohana_Model_Database {}
| zuber-personal-page | trunk/personal/modules/database/classes/Model/Database.php | PHP | asf20 | 125 |
<?php defined('SYSPATH') OR die('No direct script access.');
class DB extends Kohana_DB {}
| zuber-personal-page | trunk/personal/modules/database/classes/DB.php | PHP | asf20 | 92 |
<?php defined('SYSPATH') OR die('No direct script access.');
abstract class Database extends Kohana_Database {}
| zuber-personal-page | trunk/personal/modules/database/classes/Database.php | PHP | asf20 | 113 |
<?php defined('SYSPATH') OR die('No direct script access.');
return array(
// Leave this alone
'modules' => array(
// This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename'
'auth' => array(
// Whether this modules userguide pages should ... | zuber-personal-page | trunk/personal/modules/auth/config/userguide.php | PHP | asf20 | 688 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
return array(
'driver' => 'File',
'hash_method' => 'sha256',
'hash_key' => NULL,
'lifetime' => 1209600,
'session_type' => Session::$default,
'session_key' => 'auth_user',
// Username/password combinations for the Auth File driver
'... | zuber-personal-page | trunk/personal/modules/auth/config/auth.php | PHP | asf20 | 415 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
abstract class Auth extends Kohana_Auth { } | zuber-personal-page | trunk/personal/modules/auth/classes/Auth.php | PHP | asf20 | 106 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* User authorization library. Handles user login and logout, as well as secure
* password hashing.
*
* @package Kohana/Auth
* @author Kohana Team
* @copyright (c) 2007-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
a... | zuber-personal-page | trunk/personal/modules/auth/classes/Kohana/Auth.php | PHP | asf20 | 3,972 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* File Auth driver.
* [!!] this Auth driver does not support roles nor autologin.
*
* @package Kohana/Auth
* @author Kohana Team
* @copyright (c) 2007-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana_Auth_... | zuber-personal-page | trunk/personal/modules/auth/classes/Kohana/Auth/File.php | PHP | asf20 | 2,016 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
class Auth_File extends Kohana_Auth_File { } | zuber-personal-page | trunk/personal/modules/auth/classes/Auth/File.php | PHP | asf20 | 107 |
<?php defined('SYSPATH') OR die('No direct script access.');
return array(
// Leave this alone
'modules' => array(
// This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename'
'orm' => array(
// Whether this modules userguide pages should b... | zuber-personal-page | trunk/personal/modules/orm/config/userguide.php | PHP | asf20 | 726 |
<?php defined('SYSPATH') OR die('No direct script access.');
class ORM extends Kohana_ORM {}
| zuber-personal-page | trunk/personal/modules/orm/classes/ORM.php | PHP | asf20 | 94 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* [Object Relational Mapping][ref-orm] (ORM) is a method of abstracting database
* access to standard PHP calls. All table rows are represented as model objects,
* with object properties representing row data. ORM in Kohana generally follows
* the [Ac... | zuber-personal-page | trunk/personal/modules/orm/classes/Kohana/ORM.php | PHP | asf20 | 54,376 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* ORM Validation exceptions.
*
* @package Kohana/ORM
* @author Kohana Team
* @copyright (c) 2007-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana_ORM_Validation_Exception extends Kohana_Exception {
/**
... | zuber-personal-page | trunk/personal/modules/orm/classes/Kohana/ORM/Validation/Exception.php | PHP | asf20 | 5,660 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* ORM Auth driver.
*
* @package Kohana/Auth
* @author Kohana Team
* @copyright (c) 2007-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Kohana_Auth_ORM extends Auth {
/**
* Checks if a session is active.
*
... | zuber-personal-page | trunk/personal/modules/orm/classes/Kohana/Auth/ORM.php | PHP | asf20 | 6,597 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* ORM Validation exceptions.
*
* @package Kohana/ORM
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/license
*/
class ORM_Validation_Exception extends Kohana_ORM_Validation_Exception {}
| zuber-personal-page | trunk/personal/modules/orm/classes/ORM/Validation/Exception.php | PHP | asf20 | 314 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
class Model_User_Token extends Model_Auth_User_Token {
// This class can be replaced or extended
} // End User Token Model | zuber-personal-page | trunk/personal/modules/orm/classes/Model/User/Token.php | PHP | asf20 | 188 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
class Model_User extends Model_Auth_User {
// This class can be replaced or extended
} // End User Model | zuber-personal-page | trunk/personal/modules/orm/classes/Model/User.php | PHP | asf20 | 170 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
class Model_Role extends Model_Auth_Role {
// This class can be replaced or extended
} // End Role Model | zuber-personal-page | trunk/personal/modules/orm/classes/Model/Role.php | PHP | asf20 | 170 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Default auth user toke
*
* @package Kohana/Auth
* @author Kohana Team
* @copyright (c) 2007-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Model_Auth_User_Token extends ORM {
// Relationships
protected $_be... | zuber-personal-page | trunk/personal/modules/orm/classes/Model/Auth/User/Token.php | PHP | asf20 | 1,468 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Default auth user
*
* @package Kohana/Auth
* @author Kohana Team
* @copyright (c) 2007-2012 Kohana Team
* @license http://kohanaframework.org/license
*/
class Model_Auth_User extends ORM {
/**
* A user has many tokens and roles
... | zuber-personal-page | trunk/personal/modules/orm/classes/Model/Auth/User.php | PHP | asf20 | 4,752 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Default auth role
*
* @package Kohana/Auth
* @author Kohana Team
* @copyright (c) 2007-2009 Kohana Team
* @license http://kohanaphp.com/license.html
*/
class Model_Auth_Role extends ORM {
// Relationships
protected $_has_many = arr... | zuber-personal-page | trunk/personal/modules/orm/classes/Model/Auth/Role.php | PHP | asf20 | 693 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
class Auth_ORM extends Kohana_Auth_ORM { } | zuber-personal-page | trunk/personal/modules/orm/classes/Auth/ORM.php | PHP | asf20 | 105 |
<?php defined('SYSPATH') or die('No direct script access.');
return array(
// Leave this alone
'modules' => array(
// This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename'
'codebench' => array(
// Whether this modules userguide pages sh... | zuber-personal-page | trunk/personal/modules/codebench/config/userguide.php | PHP | asf20 | 690 |
<?php defined('SYSPATH') or die('No direct access allowed.');
return array(
/**
* The maximum execution time, in seconds. If set to zero, no time limit is imposed.
* Note: http://php.net/manual/en/function.set-time-limit.php#84563
*/
'max_execution_time' => 0,
/**
* Expand all benchmark details by default... | zuber-personal-page | trunk/personal/modules/codebench/config/codebench.php | PHP | asf20 | 355 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* Codebench — A benchmarking module.
*
* @package Kohana/Codebench
* @author Kohana Team
* @copyright (c) 2009 Kohana Team
* @license http://kohanaphp.com/license.html
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-... | zuber-personal-page | trunk/personal/modules/codebench/views/codebench.php | PHP | asf20 | 10,462 |
<?php defined('SYSPATH') or die('No direct script access.');
// Catch-all route for Codebench classes to run
Route::set('codebench', 'codebench(/<class>)')
->defaults(array(
'controller' => 'Codebench',
'action' => 'index',
'class' => NULL));
| zuber-personal-page | trunk/personal/modules/codebench/init.php | PHP | asf20 | 251 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* Codebench — A benchmarking module.
*
* @package Kohana/Codebench
* @category Controllers
* @author Kohana Team
* @copyright (c) 2009 Kohana Team
* @license http://kohanaphp.com/license.html
*/
class Controller_Codebench extends Koh... | zuber-personal-page | trunk/personal/modules/codebench/classes/Controller/Codebench.php | PHP | asf20 | 917 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* Codebench — A benchmarking module.
*
* @package Kohana/Codebench
* @category Base
* @author Kohana Team
* @copyright (c) 2009 Kohana Team
* @license http://kohanaphp.com/license.html
*/
abstract class Kohana_Codebench {
/**
* @... | zuber-personal-page | trunk/personal/modules/codebench/classes/Kohana/Codebench.php | PHP | asf20 | 7,937 |
<?php defined('SYSPATH') or die('No direct script access.');
class Codebench extends Kohana_Codebench {} | zuber-personal-page | trunk/personal/modules/codebench/classes/Codebench.php | PHP | asf20 | 105 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Woody Gilk <woody.gilk@kohanaphp.com>
*/
class Bench_UserFuncArray extends Codebench {
public $description =
'Testing the speed difference of using <code>call_user_func_array</code>... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/UserFuncArray.php | PHP | asf20 | 1,161 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_GruberURL extends Codebench {
public $description =
'Optimization for http://daringfireball.net/2009/11/liberal_regex_for_matching_ur... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/GruberURL.php | PHP | asf20 | 2,081 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_URLSite extends Codebench {
public $description = 'http://dev.kohanaframework.org/issues/3110';
public $loops = 1000;
public $subje... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/URLSite.php | PHP | asf20 | 3,044 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_LtrimDigits extends Codebench {
public $description = 'Chopping off leading digits: regex vs ltrim.';
public $loops = 100000;
publi... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/LtrimDigits.php | PHP | asf20 | 551 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_ArrCallback extends Codebench {
public $description =
'Parsing <em>command[param,param]</em> strings in <code>Arr::callback()</code>:... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/ArrCallback.php | PHP | asf20 | 1,635 |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_MDDoIncludeViews extends Codebench {
public $description =
'Optimization for the <code>doIncludeViews()</code> method of <code>Kohana_... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/MDDoIncludeViews.php | PHP | asf20 | 1,274 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Woody Gilk <woody.gilk@kohanaphp.com>
*/
class Bench_DateSpan extends Codebench {
public $description =
'Optimization for <code>Date::span()</code>.';
public $loops = 1000;
publ... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/DateSpan.php | PHP | asf20 | 4,224 |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_ExplodeLimit extends Codebench {
public $description =
'Having a look at the effect of adding a limit to the <a href="http://php.net/e... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/ExplodeLimit.php | PHP | asf20 | 927 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_AutoLinkEmails extends Codebench {
public $description =
'Fixing <a href="http://dev.kohanaphp.com/issues/2772">#2772</a>, and compar... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/AutoLinkEmails.php | PHP | asf20 | 2,115 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_ValidURL extends Codebench {
public $description =
'filter_var vs regex:
http://dev.kohanaframework.org/issues/2847';
public $lo... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/ValidURL.php | PHP | asf20 | 2,255 |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_MDDoImageURL extends Codebench {
public $description =
'Optimization for the <code>doImageURL()</code> method of <code>Kohana_Kodoc_Ma... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/MDDoImageURL.php | PHP | asf20 | 2,138 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_Transliterate extends Codebench {
public $description =
'Inspired by:
http://forum.kohanaframework.org/comments.php?DiscussionID=6... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/Transliterate.php | PHP | asf20 | 2,155 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_StripNullBytes extends Codebench {
public $description =
'String replacement comparisons related to <a href="http://dev.kohanaphp.com... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/StripNullBytes.php | PHP | asf20 | 833 |
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_ValidColor extends Codebench {
public $description =
'Optimization for <code>Validate::color()</code>.
See: http://forum.kohanaphp... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/ValidColor.php | PHP | asf20 | 3,155 |
<?php defined('SYSPATH') or die('No direct script access.');
/**
* @package Kohana/Codebench
* @category Tests
* @author Geert De Deckere <geert@idoe.be>
*/
class Bench_MDDoBaseURL extends Codebench {
public $description =
'Optimization for the <code>doBaseURL()</code> method of <code>Kohana_Kodoc_Mark... | zuber-personal-page | trunk/personal/modules/codebench/classes/Bench/MDDoBaseURL.php | PHP | asf20 | 2,080 |
<?php defined('SYSPATH') OR die('No direct script access.');
return array(
// Leave this alone
'modules' => array(
// This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename'
'image' => array(
// Whether this modules userguide pages should... | zuber-personal-page | trunk/personal/modules/image/config/userguide.php | PHP | asf20 | 678 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Support for image manipulation using [Imagick](http://php.net/Imagick).
*
* @package Kohana/Image
* @category Drivers
* @author Tamas Mihalik tamas.mihalik@gmail.com
* @copyright (c) 2009-2012 Kohana Team
* @license http://kohanaphp.... | zuber-personal-page | trunk/personal/modules/image/classes/Kohana/Image/Imagick.php | PHP | asf20 | 8,593 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Support for image manipulation using [GD](http://php.net/GD).
*
* @package Kohana/Image
* @category Drivers
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/license.html
*/
class Kohana_Im... | zuber-personal-page | trunk/personal/modules/image/classes/Kohana/Image/GD.php | PHP | asf20 | 16,877 |
<?php defined('SYSPATH') OR die('No direct script access.');
/**
* Image manipulation support. Allows images to be resized, cropped, etc.
*
* @package Kohana/Image
* @category Base
* @author Kohana Team
* @copyright (c) 2008-2009 Kohana Team
* @license http://kohanaphp.com/license.html
*/
abstract ... | zuber-personal-page | trunk/personal/modules/image/classes/Kohana/Image.php | PHP | asf20 | 18,419 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Image_Imagick extends Kohana_Image_Imagick {} | zuber-personal-page | trunk/personal/modules/image/classes/Image/Imagick.php | PHP | asf20 | 113 |
<?php defined('SYSPATH') OR die('No direct script access.');
class Image_GD extends Kohana_Image_GD {}
| zuber-personal-page | trunk/personal/modules/image/classes/Image/GD.php | PHP | asf20 | 104 |
<?php defined('SYSPATH') OR die('No direct script access.');
abstract class Image extends Kohana_Image {}
| zuber-personal-page | trunk/personal/modules/image/classes/Image.php | PHP | asf20 | 107 |
<?php defined('SYSPATH') OR die('No direct access allowed.');
return array
(
// Enable the API browser. TRUE or FALSE
'api_browser' => TRUE,
// Enable these packages in the API browser. TRUE for all packages, or a string of comma seperated packages, using 'None' for a class with no @package
// Example: 'api_pa... | zuber-personal-page | trunk/personal/modules/userguide/config/userguide.php | PHP | asf20 | 1,256 |
<h1>Kodoc - <?php echo 'Error'; ?></h1>
<p><?php echo $message ?></p> | zuber-personal-page | trunk/personal/modules/userguide/views/userguide/error.php | PHP | asf20 | 70 |
<h2>Modules</h2>
<?php if( ! empty($modules)): ?>
<ul>
<?php foreach($modules as $url => $options): ?>
<li><?php echo html::anchor(Route::get('docs/guide')->uri(array('module' => $url)), $options['name'], NULL, NULL, TRUE) ?></li>
<?php endforeach; ?>
</ul>
<?php else: ?>
<p class="error">No modules.</p>... | zuber-personal-page | trunk/personal/modules/userguide/views/userguide/menu.php | PHP | asf20 | 337 |
<h1>User Guide</h1>
<p>The following modules have userguide pages:</p>
<?php if( ! empty($modules)): ?>
<?php foreach($modules as $url => $options): ?>
<p>
<strong><?php echo html::anchor(Route::get('docs/guide')->uri(array('module' => $url)), $options['name'], NULL, NULL, TRUE) ?></strong> -
<?php echo $... | zuber-personal-page | trunk/personal/modules/userguide/views/userguide/index.php | PHP | asf20 | 483 |