code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain th... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Errors/error500.ctp | PHP | gpl3 | 936 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain th... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Errors/error400.ctp | PHP | gpl3 | 998 |
This is the TestsAppsController index view <?php echo isset($var) ? $var : ''; ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/TestsApps/index.ctp | PHP | gpl3 | 82 |
{"cakephp":"cool"} | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/TestsApps/json/index.ctp | PHP | gpl3 | 18 |
<div id="notificationLayout">
<h1><?php echo $name; ?></h1>
<h3><?php echo $title; ?></h3>
<p><?php echo $message; ?></p>
</div> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/session_helper.ctp | PHP | gpl3 | 131 |
<h2>Cache Me</h2>
<p>B. In Plain Element</p>
<?php $this->log('2. in plain element') ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/nocache/plain.ctp | PHP | gpl3 | 91 |
<?php echo $this->element('nocache/sub2'); ?>
<!--nocache-->
<?php $foobar = 'in sub1'; ?>
<?php echo $foobar; ?>
<!--/nocache-->
<?php echo 'printing: "' . $foobar . '"'; ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/nocache/sub1.ctp | PHP | gpl3 | 178 |
<h2>Cache Me</h2>
<!--nocache-->
<p>F. In Element With No Cache Tags</p>
<?php $this->log('6. in element with no cache tags') ?>
<!--/nocache-->
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/nocache/contains_nocache.ctp | PHP | gpl3 | 147 |
<!--nocache-->
<?php $barfoo = 'in sub2'; ?>
<?php echo $barfoo; ?>
<!--/nocache-->
<?php echo 'printing: "' . $barfoo . '"'; ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/nocache/sub2.ctp | PHP | gpl3 | 131 |
<?php $this->extend('noneexistent_parent_element'); ?>
Element content.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/extended_missing_element.ctp | PHP | gpl3 | 72 |
Parent Element.
<?php echo $this->fetch('content'); ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/parent_element.ctp | PHP | gpl3 | 55 |
<?php echo gettype($form); ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/type_check.ctp | PHP | gpl3 | 29 |
<?php echo 'this is the test element'; ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/test_element.ctp | PHP | gpl3 | 41 |
<?php $this->extend('parent_element'); ?>
Element content.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/extended_element.ctp | PHP | gpl3 | 59 |
<?php
echo $this->Html->link('Test', 'http://example.com');
?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Elements/html_call.ctp | PHP | gpl3 | 62 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain th... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Helper/BananaHelper.php | PHP | gpl3 | 795 |
<?php
class TestAppEngine {
}
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Utility/TestAppEngine.php | PHP | gpl3 | 32 |
Into TestPlugin.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Emails/text/test_plugin_tpl.ctp | PHP | gpl3 | 17 |
test plugin default layout | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Layouts/default.ctp | PHP | gpl3 | 26 |
<?php echo $content_for_layout; ?>
This email was sent using the TestPlugin.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Layouts/Emails/text/plug_default.ctp | PHP | gpl3 | 79 |
<?php echo 'this is the plugin element using params[plugin]'; ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/plugin_element.ctp | PHP | gpl3 | 64 |
<?php echo 'this is the test set using View::$plugin plugin element'; ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/test_plugin_element.ctp | PHP | gpl3 | 72 |
Content from TestPlugin.Elements/sub_dir/sub_element
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/sub_dir/sub_element.ctp | PHP | gpl3 | 53 |
<?php __('This is a translatable string'); ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Elements/translate.ctp | PHP | gpl3 | 45 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/PluggedHelperHelper.php | PHP | gpl3 | 873 |
<?php
class TestPluginAppHelper extends AppHelper {
}
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/TestPluginAppHelper.php | PHP | gpl3 | 55 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Helper/OtherHelperHelper.php | PHP | gpl3 | 857 |
test plugin index | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Tests/index.ctp | PHP | gpl3 | 17 |
test_plugin add/edit scaffold view | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/View/Tests/scaffold.form.ctp | PHP | gpl3 | 34 |
<?php
class TestPluginEngine {
}
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Utility/TestPluginEngine.php | PHP | gpl3 | 35 |
alert("Test App"); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/webroot/js/test_plugin/test.js | JavaScript | gpl3 | 18 |
alert('I am a root level file!'); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/webroot/root.js | JavaScript | gpl3 | 33 |
this is the test plugin asset css file
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/webroot/css/test_plugin_asset.css | CSS | gpl3 | 39 |
<?php
/**
* Test Suite TestPlugin AppController
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LI... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestPluginAppController.php | PHP | gpl3 | 879 |
<?php
/**
* TestPluginController used by Dispatcher test to test plugin shortcut urls.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestPluginController.php | PHP | gpl3 | 1,019 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestsController.php | PHP | gpl3 | 1,124 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/Component/OtherComponent.php | PHP | gpl3 | 821 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/Component/TestPluginComponent.php | PHP | gpl3 | 905 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/Component/PluginsComponent.php | PHP | gpl3 | 877 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/Component/TestPluginOtherComponent.php | PHP | gpl3 | 840 |
<?php
/**
* Test Suite TestPlugin Other Library
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LI... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/TestPluginOtherLibrary.php | PHP | gpl3 | 800 |
<?php
/**
* Test Suite TestPlugin Library
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/TestPluginLibrary.php | PHP | gpl3 | 794 |
<?php
/**
* Test Suite CustomLibClass Library
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICE... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Custom/Package/CustomLibClass.php | PHP | gpl3 | 810 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain th... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Filter/TestDispatcherFilter.php | PHP | gpl3 | 963 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain th... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Filter/Test2DispatcherFilter.php | PHP | gpl3 | 1,020 |
<?php
App::uses('CakeRoute', 'Routing/Route');
class TestRoute extends CakeRoute {
}
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Routing/Route/TestRoute.php | PHP | gpl3 | 88 |
<?php
/**
* Test Suite Test Plugin Cache Engine class.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Cache/Engine/TestPluginCacheEngine.php | PHP | gpl3 | 1,144 |
<?php
/**
* Exception Renderer
*
* Provides Exception rendering features. Which allow exceptions to be rendered
* as HTML pages.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT L... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Error/TestPluginExceptionRenderer.php | PHP | gpl3 | 1,051 |
<?php
/**
* Test Suite Test Plugin Logging stream class.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please s... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Log/Engine/TestPluginLog.php | PHP | gpl3 | 924 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Console/Command/ExampleShell.php | PHP | gpl3 | 962 |
<?php
/**
* Testing task in a plugin
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Console/Command/Task/OtherTaskTask.php | PHP | gpl3 | 809 |
<?php
Configure::write('CakePluginTest.test_plugin.routes', 'loaded plugin routes'); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/routes.php | PHP | gpl3 | 84 |
;<?php exit() ?>
; SVN FILE: $Id$
;/**
; * Test App Ini Based Acl Config File
; *
; *
; * PHP 5
; *
; * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
; * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
; *
; * Licensed under The MIT License
; * Redistributions of files must r... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/acl.ini.php | PHP | gpl3 | 1,265 |
<?php
/**
* Test Suite TestPlugin config file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LIC... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/more.load.php | PHP | gpl3 | 851 |
<?php
Configure::write('CakePluginTest.test_plugin.custom', 'loaded plugin custom config'); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/custom_config.php | PHP | gpl3 | 91 |
<?php
Configure::write('CakePluginTest.test_plugin.bootstrap', 'loaded plugin bootstrap'); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/bootstrap.php | PHP | gpl3 | 90 |
<?php
/**
* TestAppSchema file
*
* Use for testing the loading of schema files from plugins.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and lice... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/Schema/schema.php | PHP | gpl3 | 1,569 |
<?php
/**
* Test Suite TestPlugin config file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LIC... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Config/load.php | PHP | gpl3 | 841 |
<?php
/**
* Test Plugin Post Model
*
*
*
* PHP 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistribut... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/TestPluginPost.php | PHP | gpl3 | 1,578 |
<?php
/**
* Behavior for binding management.
*
* Behavior to simplify manipulating a model's bindings when doing a find operation
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT L... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Behavior/TestPluginPersisterTwoBehavior.php | PHP | gpl3 | 1,233 |
<?php
/**
* Behavior for binding management.
*
* Behavior to simplify manipulating a model's bindings when doing a find operation
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT L... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Behavior/TestPluginPersisterOneBehavior.php | PHP | gpl3 | 1,233 |
<?php
/**
* Test Plugin Auth User Model
*
* PHP 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributi... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/TestPluginAuthUser.php | PHP | gpl3 | 1,016 |
<?php
/**
* Test Suite TestPlugin AppModel
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/TestPluginAppModel.php | PHP | gpl3 | 820 |
<?php
/**
* Test suite plugin session handler
*/
App::uses('CakeSessionHandlerInterface', 'Model/Datasource/Session');
class TestPluginSession implements CakeSessionHandlerInterface {
public function open() {
return true;
}
public function close() {
}
public function read($id) {
}
public function write... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Session/TestPluginSession.php | PHP | gpl3 | 420 |
<?php
class TestDriver extends TestSource {
}
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Database/TestDriver.php | PHP | gpl3 | 46 |
<?php
App::uses('DboSource', 'Model/Datasource');
class DboDummy extends DboSource {
public function connect() {
return true;
}
}
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Database/DboDummy.php | PHP | gpl3 | 137 |
<?php
App::uses('DataSource', 'Model/Datasource');
class TestSource extends DataSource {
public function describe($model) {
return compact('model');
}
public function listSources($data = null) {
return array('test_source');
}
public function create(Model $model, $fields = array(), $values = array()) {
re... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/TestSource.php | PHP | gpl3 | 729 |
<?php
class TestOtherSource extends DataSource {
public function describe($model) {
return compact('model');
}
public function listSources($data = null) {
return array('test_source');
}
public function create(Model $model, $fields = null, $values = array()) {
return compact('model', 'fields', 'values');
... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/TestOtherSource.php | PHP | gpl3 | 685 |
<?php
/**
* Test App Comment Model
*
* PHP 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions ... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/TestPluginAuthors.php | PHP | gpl3 | 948 |
<?php
/**
* Test App Comment Model
*
* PHP 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions ... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPlugin/Model/TestPluginComment.php | PHP | gpl3 | 961 |
alert('win sauce'); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/PluginJs/webroot/js/plugin_js.js | JavaScript | gpl3 | 19 |
alert('plugin one nested js file'); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/PluginJs/webroot/js/one/plugin_one.js | JavaScript | gpl3 | 35 |
<?php
Configure::write('CakePluginTest.js_plugin.bootstrap', 'loaded js plugin bootstrap'); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/PluginJs/Config/bootstrap.php | PHP | gpl3 | 91 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/ExampleShell.php | PHP | gpl3 | 968 |
<?php
/**
* Short description for file.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.tx... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/WelcomeShell.php | PHP | gpl3 | 983 |
<?php
Configure::write('CakePluginTest.test_plugin_two.bootstrap', 'loaded plugin two bootstrap'); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Plugin/TestPluginTwo/Config/bootstrap.php | PHP | gpl3 | 98 |
/* override the theme webroot css file */
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/webroot/theme/test_theme/css/theme_webroot.css | CSS | gpl3 | 42 |
/* this is the webroot test asset css file */
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/webroot/theme/test_theme/css/webroot_test.css | CSS | gpl3 | 46 |
<?php
/**
* Static content controller.
*
* This file will render views from views/pages/
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license ... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Controller/PagesController.php | PHP | gpl3 | 1,868 |
<?php
/**
* Application level Controller
*
* This file is application-wide controller file. You can put all
* application-wide controller-related methods here.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Controller/AppController.php | PHP | gpl3 | 1,206 |
<?php
/**
* TestsAppsPostsController file
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php | PHP | gpl3 | 1,739 |
<?php
App::uses('CakeErrorController', 'Controller');
class TestAppsErrorController extends CakeErrorController {
public $helpers = array(
'Html',
'Session',
'Form',
'Banana',
);
}
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Controller/TestAppsErrorController.php | PHP | gpl3 | 195 |
<?php
/**
* TestsAppsController file
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Controller/TestsAppsController.php | PHP | gpl3 | 1,287 |
<?php
/**
* Test Suite TestUtilityClass Library
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LI... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Lib/Utility/TestUtilityClass.php | PHP | gpl3 | 782 |
<?php
/**
* Test Suite Library
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redi... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Lib/Library.php | PHP | gpl3 | 748 |
<?php
/**
* Test Suite Test App Cache Engine class.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see th... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Lib/Cache/Engine/TestAppCacheEngine.php | PHP | gpl3 | 1,166 |
<?php
/**
* Test Suite Test App Logging stream class.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see ... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Lib/Log/Engine/TestAppLog.php | PHP | gpl3 | 886 |
<?php
/**
* SampleShell file
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redist... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Console/Command/SampleShell.php | PHP | gpl3 | 920 |
admin_edit template | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Console/Templates/test/views/admin_edit.ctp | PHP | gpl3 | 19 |
I got rendered
<?php echo $test; ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Console/Templates/test/classes/test_object.ctp | PHP | gpl3 | 35 |
<?php
/**
* Routes file
*
* Routes for test app
*
* PHP versions 4 and 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LI... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Config/routes.php | PHP | gpl3 | 838 |
<?php
$config = array(
'Read' => 'value2',
'Deep' => array(
'Second' => array(
'SecondDeepest' => 'buried2'
)
),
'TestAcl' => array(
'classname' => 'Overwrite',
'custom' => 'one'
)
);
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Config/var_test2.php | PHP | gpl3 | 200 |
<?php
/*
* Test App PHP Based Acl Config File
*
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* ... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Config/acl.php | PHP | gpl3 | 2,375 |
;<?php exit() ?>
; SVN FILE: $Id$
;/**
; * Test App Ini Based Acl Config File
; *
; *
; * PHP 5
; *
; * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
; * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
; *
; * Licensed under The MIT License
; * Redistributions of files must r... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Config/acl.ini.php | PHP | gpl3 | 1,265 |
<?php
$config = array(
'tags' => array(
'form' => 'start form',
'formend' => 'finish form',
'hiddenblock' => '<div class="hidden">%s</div>'
)
); | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Config/htmlhelper_tags.php | PHP | gpl3 | 153 |
<?php
$config = array(
'Read' => 'value',
'Deep' => array(
'Deeper' => array(
'Deepest' => 'buried'
)
),
'TestAcl' => array(
'classname' => 'Original'
)
);
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Config/var_test.php | PHP | gpl3 | 170 |
<?php
//do nothing this is an empty file. | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Config/empty.php | PHP | gpl3 | 41 |
<?php
/**
* Test App Comment Model
*
*
*
* PHP 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistribut... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Model/PersisterOne.php | PHP | gpl3 | 1,669 |
<?php
/**
* Test App Comment Model
*
*
*
* PHP 5
*
* CakePHP : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistribut... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Model/Post.php | PHP | gpl3 | 778 |
<?php
/**
* Behavior for binding management.
*
* Behavior to simplify manipulating a model's bindings when doing a find operation
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT L... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/Model/Behavior/PersisterOneBehaviorBehavior.php | PHP | gpl3 | 1,106 |