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
/**
* Framework debugging and PHP error-handling class
*
* Provides enhanced logging, stack traces, and rendering debug views
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/Debugger.php | PHP | gpl3 | 25,771 |
<?php
/**
* 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 the above copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/Inflector.php | PHP | gpl3 | 17,807 |
<?php
/**
* CakeNumber Utility.
*
* Methods to make numbers more readable.
*
* 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, p... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/CakeNumber.php | PHP | gpl3 | 12,935 |
<?php
/**
* 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 the above copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/ClassRegistry.php | PHP | gpl3 | 10,509 |
<?php
/**
* Convenience class for reading, writing and appending to files.
*
* 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, ple... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/File.php | PHP | gpl3 | 15,101 |
<?php
/**
* CakeTime utility class 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
* For full copyright and license information, please see the LICENSE.txt
* Redistr... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/CakeTime.php | PHP | gpl3 | 35,838 |
<?php
/**
* Core Security
*
* 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 fil... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/Security.php | PHP | gpl3 | 8,079 |
<?php
/**
* XML handling for Cake.
*
* The methods in these classes enable the datasources that use XML to work.
*
* 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 ful... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/Xml.php | PHP | gpl3 | 11,457 |
<?php
/**
* 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 the above copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Utility/ObjectCollection.php | PHP | gpl3 | 10,960 |
<?php
/**
* Error Handling Controller
*
* Controller used by ErrorHandler to render error views.
*
* 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 ... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/CakeErrorController.php | PHP | gpl3 | 1,771 |
<?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/Controller/Component.php | PHP | gpl3 | 5,512 |
<?php
/**
* Scaffold.
*
* Automatic forms and actions generation for rapid web application development.
*
* 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 copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Scaffold.php | PHP | gpl3 | 13,792 |
<?php
/**
* Authentication component
*
* Manages user logins and permissions.
*
* 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... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/AuthComponent.php | PHP | gpl3 | 22,896 |
<?php
/**
* 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 the above copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/AclComponent.php | PHP | gpl3 | 6,599 |
<?php
/**
* Paginator Component
*
* 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 ... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/PaginatorComponent.php | PHP | gpl3 | 13,083 |
<?php
/**
* SessionComponent. Provides access to Sessions from the Controller layer
*
* 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 informa... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/SessionComponent.php | PHP | gpl3 | 5,923 |
<?php
/**
* Email Component
*
* 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 f... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/EmailComponent.php | PHP | gpl3 | 10,686 |
<?php
/**
* Security Component
*
* 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 o... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/SecurityComponent.php | PHP | gpl3 | 18,097 |
<?php
/**
* Cookie Component
*
* 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 ... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/CookieComponent.php | PHP | gpl3 | 13,975 |
<?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 the a... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/BaseAuthenticate.php | PHP | gpl3 | 4,860 |
<?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 the a... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/FormAuthenticate.php | PHP | gpl3 | 2,918 |
<?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 the a... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/ActionsAuthorize.php | PHP | gpl3 | 1,437 |
<?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 the files must retain t... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/BlowfishAuthenticate.php | PHP | gpl3 | 2,803 |
<?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 the a... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/CrudAuthorize.php | PHP | gpl3 | 3,471 |
<?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 the a... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php | PHP | gpl3 | 4,046 |
<?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 the a... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/BaseAuthorize.php | PHP | gpl3 | 4,901 |
<?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 the a... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php | PHP | gpl3 | 9,093 |
<?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 the a... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Auth/ControllerAuthorize.php | PHP | gpl3 | 2,147 |
<?php
/**
* Request object for handling alternative HTTP requests
*
* Alternative HTTP requests can come from wireless units like mobile phones, palmtop computers,
* and the like. These units have no use for Ajax requests, and this Component can tell how Cake
* should respond to the different needs of a handheld c... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/RequestHandlerComponent.php | PHP | gpl3 | 24,045 |
<?php
/**
* 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 the above copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Acl/DbAcl.php | PHP | gpl3 | 5,194 |
<?php
/**
* PHP configuration based AclInterface implementation
*
* 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... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Acl/PhpAcl.php | PHP | gpl3 | 13,716 |
<?php
/**
* 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 the above copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Acl/AclInterface.php | PHP | gpl3 | 2,286 |
<?php
/**
* 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 the above copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Component/Acl/IniAcl.php | PHP | gpl3 | 4,724 |
<?php
/**
* 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 the above copyrig... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/Controller.php | PHP | gpl3 | 36,753 |
<?php
/**
* Components collection is used as a registry for loaded components and handles loading
* and constructing component class objects.
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT Li... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Controller/ComponentCollection.php | PHP | gpl3 | 4,311 |
Into TestPlugin. (themed)
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Emails/text/test_plugin_tpl.ctp | PHP | gpl3 | 26 |
test_plugin test_plugin_theme default layout | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Layouts/plugin_default.ctp | PHP | gpl3 | 44 |
test plugin index theme view | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Plugin/TestPlugin/Tests/index.ctp | PHP | gpl3 | 28 |
// root theme js file | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/js/theme.js | JavaScript | gpl3 | 21 |
// nested theme js file | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/js/one/theme_one.js | JavaScript | gpl3 | 23 |
theme webroot css file | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/css/theme_webroot.css | CSS | gpl3 | 22 |
/* this is the test asset css file */
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/webroot/css/test_asset.css | CSS | gpl3 | 38 |
posts index themed view | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Posts/index.ctp | PHP | gpl3 | 23 |
I'm a themed scaffold file. | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Posts/scaffold.index.ctp | PHP | gpl3 | 27 |
posts themed themed file.
<!--nocache-->
<?php echo $this->element('test_element'); ?>
<!--/nocache-->
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Posts/themed.ctp | PHP | gpl3 | 103 |
In TestTheme
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Emails/text/themed.ctp | PHP | gpl3 | 13 |
default test_theme layout
<?php echo $content_for_layout ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Layouts/default.ctp | PHP | gpl3 | 60 |
Hi, I'm the test element. | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Themed/TestTheme/Elements/test_element.ctp | PHP | gpl3 | 25 |
This is the second parent.
<?php echo $this->fetch('content'); ?>
<?php echo $this->fetch('sidebar'); ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/parent_2.ctp | PHP | gpl3 | 105 |
<?php
$this->start('no_close');
echo 'This block has no close :(';
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/open_block.ctp | PHP | gpl3 | 67 |
<?php $this->extend('extend_loop'); ?>
Inner loop element.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/extend_loop_inner.ctp | PHP | gpl3 | 59 |
<?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/Posts/sequencial_nocache.ctp | PHP | gpl3 | 792 |
<?php echo $this->element('extended_missing_element'); ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/extend_missing_element.ctp | PHP | gpl3 | 58 |
--view start--
<!--nocache-->
<?php echo $batman ?>
<!--/nocache-->
this view has 3 nocache blocks
<!--nocache-->
<?php echo $spiderman; ?>
<!--/nocache-->
<!--nocache-->
<?php echo 'some string'; ?>
<!--/nocache-->
--view end-- | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/multiple_nocache.ctp | PHP | gpl3 | 234 |
posts index | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/index.ctp | PHP | gpl3 | 11 |
<?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/Posts/test_nocache_tags.ctp | PHP | gpl3 | 6,286 |
<?php
$data = array('users' => array('user' => array()));
foreach ($users as $user) {
$data['users']['user'][] = array('@' => $user['User']['username']);
}
echo Xml::fromArray($data)->saveXml();
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/xml/index.ctp | PHP | gpl3 | 196 |
View Content
<!--nocache--><?php $y = 1; ?><!--/nocache-->
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/cache_empty_sections.ctp | PHP | gpl3 | 60 |
<?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/Posts/json/index.ctp | PHP | gpl3 | 974 |
<?php $this->extend('parent_view'); ?>
View content.
<?php echo $this->element('extended_element'); ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/extend_element.ctp | PHP | gpl3 | 103 |
<!--nocache-->
<?php echo $foo; ?>
<!--/nocache-->
<!--nocache-->
<?php echo $bar; ?>
<!--/nocache-->
<?php echo $this->element('nocache/sub1'); ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/nocache_multiple_element.ctp | PHP | gpl3 | 151 |
Parent View.
<?php echo $this->fetch('content') ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/parent_view.ctp | PHP | gpl3 | 51 |
<div class="users form">
<!--nocache-->
<?php echo $this->Form->create('User'); ?>
<fieldset>
<legend><?php echo __('Add User'); ?></legend>
<?php
echo $this->Form->input('username');
echo $this->Form->input('email');
echo $this->Form->input('password');
?>
</fieldset>
<?php echo $this->Form->end... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/cache_form.ctp | PHP | gpl3 | 357 |
<?php $this->extend('extend_loop_inner'); ?>
Outer element.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/extend_loop.ctp | PHP | gpl3 | 60 |
test_app posts add/edit scaffold view | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/scaffold.form.ctp | PHP | gpl3 | 37 |
<?php $this->extend('extend_self'); ?>
To infinifty and beyond.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/extend_self.ctp | PHP | gpl3 | 64 |
<?php echo $this->element('test_element'); ?>
<?php $this->extend('parent_view'); ?>
The view
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/extend_with_element.ctp | PHP | gpl3 | 94 |
<?php
echo $html;
echo $this->Html->link('Test link', '#');
?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/helper_overwrite.ctp | PHP | gpl3 | 62 |
<?php
$this->extend('parent_2');
?>
This is the first parent.
<?php echo $this->fetch('content'); ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/parent_1.ctp | PHP | gpl3 | 101 |
<?php
$this->extend('parent_1');
$this->assign('sidebar', 'Sidebar Content.');
?>
This is the first template.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Posts/nested_extends.ctp | PHP | gpl3 | 110 |
<?php
$count = 10;
$messages = array('count' => 10);
// Plural
echo __n('You have %d new message.', 'You have %d new messages.', $count);
echo __n('You deleted %d message.', 'You deleted %d messages.', $messages['count']);
// Domain Plural
echo __dn('domain', 'You have %d new message (domain).', 'You have %d new mess... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Pages/extract.ctp | PHP | gpl3 | 913 |
<?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/Pages/home.ctp | PHP | gpl3 | 6,926 |
Empty page with a dot in the filename.
Used to test plugin.view and missing plugins.
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Pages/page.home.ctp | PHP | gpl3 | 85 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://www.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 reta... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Emails/html/image.ctp | PHP | gpl3 | 790 |
Before the element.
<?php echo $this->element('html_call'); ?>
After the element. | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Emails/html/nested_element.ctp | PHP | gpl3 | 81 |
<?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/Emails/html/default.ctp | PHP | gpl3 | 811 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://www.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 reta... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Emails/html/japanese.ctp | PHP | gpl3 | 911 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://www.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 reta... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Emails/html/custom.ctp | PHP | gpl3 | 878 |
<?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/Emails/text/wide.ctp | PHP | gpl3 | 798 |
<?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/Emails/text/default.ctp | PHP | gpl3 | 717 |
<?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/Emails/text/custom_helper.ctp | PHP | gpl3 | 725 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://www.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 reta... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Emails/text/japanese.ctp | PHP | gpl3 | 897 |
<?php
/**
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://www.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 reta... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Emails/text/custom.ctp | PHP | gpl3 | 864 |
<?php echo $scripts_for_layout; ?>
<script type="text/javascript"><?php echo $content_for_layout; ?></script> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Layouts/js/default.ctp | PHP | gpl3 | 109 |
<body>
<?php
echo $this->Banana->peel();
?>
</body> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Layouts/banana.ctp | PHP | gpl3 | 52 |
<?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/Layouts/ajax.ctp | PHP | gpl3 | 716 |
<?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/Layouts/multi_cache.ctp | PHP | gpl3 | 1,479 |
<?php echo '<?xml version="1.0" encoding="' . Configure::read('App.encoding') . '"?>'; ?>
<?php echo $content_for_layout; ?>
| 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Layouts/xml/default.ctp | PHP | gpl3 | 125 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $title_for_layout; ?></title>
<!--nocache--><?php $x = 1; ?><!--/nocache-->
</head>
<body>
<!--nocache--><?php $x++; ?><!--/nocache-->
<!--nocache--><?php $x++; ?><!--/nocache-->
<?php echo $content_for_layout; ?>
<!--nocache--><... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Layouts/cache_empty_sections.ctp | PHP | gpl3 | 389 |
<?php echo $content_for_layout; ?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Layouts/json/default.ctp | PHP | gpl3 | 34 |
<?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/Layouts/flash.ctp | PHP | gpl3 | 1,219 |
<?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/Layouts/default.ctp | PHP | gpl3 | 1,601 |
<?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/Layouts/Emails/html/thin.ctp | PHP | gpl3 | 932 |
<?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/Layouts/Emails/html/default.ctp | PHP | gpl3 | 965 |
<?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/Layouts/Emails/html/japanese.ctp | PHP | gpl3 | 991 |
<?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/Layouts/Emails/text/default.ctp | PHP | gpl3 | 798 |
<?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/Layouts/Emails/text/japanese.ctp | PHP | gpl3 | 810 |
<?php
/* SVN FILE: $Id: ajax2.ctp 7062 2008-05-30 11:29:53Z nate $ */
/**
*
* 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, plea... | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Layouts/ajax2.ctp | PHP | gpl3 | 787 |
<?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/Layouts/cache_layout.ctp | PHP | gpl3 | 920 |
<?php
echo $rss->header();
if (!isset($channel)) {
$channel = array();
}
if (!isset($channel['title'])) {
$channel['title'] = $title_for_layout;
}
echo $rss->document(
$rss->channel(
array(), $channel, $content_for_layout
)
);
?> | 100-percent-breakthrough | trunk/CakePHP/lib/Cake/Test/test_app/View/Layouts/rss/default.ctp | PHP | gpl3 | 238 |