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
App::uses('CakeLog', 'Log');
App::uses('CakeLogInterface', 'Log');
App::uses('DebugTimer', 'DebugKit.Lib');
App::uses('DebugMemory', 'DebugKit.Lib');
App::uses('HelperCollection', 'View');
App::uses('CakeEventManager', 'Event');
App::uses('CakeEventListener', 'Event');
/**
* DebugKit DebugToolbar Component
*
... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php | PHP | gpl3 | 12,905 |
<?php echo $test; ?> | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/test_app/View/DebugKitTest/request_action_render.ctp | PHP | gpl3 | 20 |
<?php
class PluginTestPanel extends DebugPanel {
} | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/test_app/Plugin/DebugkitTestPlugin/Lib/Panel/PluginTestPanel.php | PHP | gpl3 | 51 |
<?php
/**
* DebugKitTestController
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, 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/app/Plugin/DebugKit/Test/test_app/Controller/DebugKitTestController.php | PHP | gpl3 | 1,021 |
<?php
/**
* Test Panel
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright ... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/test_app/Lib/Panel/TestPanel.php | PHP | gpl3 | 758 |
<?php
/**
* Common test objects used in DebugKit tests
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copy... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/TestFireCake.php | PHP | gpl3 | 1,326 |
<?php
/**
* Toolbar Abstract Helper Test Case
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright not... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/View/Helper/FirePhpToolbarHelperTest.php | PHP | gpl3 | 4,087 |
<?php
/**
* Toolbar HTML Helper Test Case
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, 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/app/Plugin/DebugKit/Test/Case/View/Helper/HtmlToolbarHelperTest.php | PHP | gpl3 | 9,976 |
<?php
/**
* Toolbar facade tests.
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, 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/app/Plugin/DebugKit/Test/Case/View/Helper/ToolbarHelperTest.php | PHP | gpl3 | 5,166 |
<?php
/**
* DebugToolbar Test
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copy... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/Controller/Component/ToolbarComponentTest.php | PHP | gpl3 | 14,862 |
<?php
require_once dirname(__FILE__) . DS . 'DebugkitGroupTestCase.php';
/**
* View Group Test for debugkit
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/AllDebugKitWithoutViewTest.php | PHP | gpl3 | 1,135 |
<?php
/**
* CakeFirePHP test case
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, 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/app/Plugin/DebugKit/Test/Case/Lib/FireCakeTest.php | PHP | gpl3 | 11,381 |
<?php
/**
* DebugTimer Test Case File
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, 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/app/Plugin/DebugKit/Test/Case/Lib/DebugTimerTest.php | PHP | gpl3 | 4,773 |
<?php
App::uses('DebugMemory', 'DebugKit.Lib');
class DebugMemoryTest extends CakeTestCase {
/**
* test memory usage
*
* @return void
*/
public function testMemoryUsage() {
$result = DebugMemory::getCurrent();
$this->assertTrue(is_int($result));
$result = DebugMemory::getPeak();
$this->assertTrue(is_int... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/Lib/DebugMemoryTest.php | PHP | gpl3 | 1,080 |
<?php
/**
* DebugKit Debugger Test Case File
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright noti... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/Lib/DebugKitDebuggerTest.php | PHP | gpl3 | 1,961 |
<?php
App::uses('LogPanel', 'DebugKit.Lib/Panel');
App::uses('Controller', 'Controller');
class LogPanelTest extends CakeTestCase {
/**
* set up
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->panel = new LogPanel();
}
/**
* Test that logging configs are created.
*
* @return void
... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/Lib/Panel/LogPanelTest.php | PHP | gpl3 | 898 |
<?php
App::uses('SqlLogPanel', 'DebugKit.Lib/Panel');
App::uses('Model', 'Model');
App::uses('Controller', 'Controller');
/**
* SqlLogPanelTest
*
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above c... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/Lib/Panel/SqlLogPanelTest.php | PHP | gpl3 | 1,369 |
<?php
require_once dirname(__FILE__) . DS . 'DebugkitGroupTestCase.php';
/**
* View Group Test for debugkit
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/AllDebugKitTest.php | PHP | gpl3 | 1,112 |
<?php
require_once dirname(__FILE__) . DS . 'DebugkitGroupTestCase.php';
/**
* View Group Test for debugkit
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/AllDebugKitViewTest.php | PHP | gpl3 | 1,122 |
<?php
class DebugkitGroupTestCase extends PHPUnit_Framework_TestSuite {
public function __construct() {
$label = Inflector::humanize(Inflector::underscore(get_class($this)));
parent::__construct($label);
}
public static function getTestFiles($directory = null, $excludes = null) {
if (is_array($directory)) {... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/DebugkitGroupTestCase.php | PHP | gpl3 | 1,239 |
<?php
require_once dirname(__FILE__) . DS . 'DebugkitGroupTestCase.php';
/**
* AllTestsTest For DebugKit
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
*... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/AllTestsTest.php | PHP | gpl3 | 1,095 |
<?php
/**
* DebugKit TimedBehavior test case
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright noti... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/Model/Behavior/TimedBehaviorTest.php | PHP | gpl3 | 1,959 |
<?php
/**
* DebugKit ToolbarAccess Model Test case
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyrigh... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Test/Case/Model/ToolbarAccessTest.php | PHP | gpl3 | 1,609 |
#! /usr/bin/env python
import sys, os
import tarfile, zipfile, gzip, bz2
from optparse import OptionParser
"""
Builds packaged releases of DebugKit so I don't have to do things manually.
Excludes itself (build.py), .gitignore, .DS_Store and the .git folder from the archives.
"""
def main():
parser = OptionParser... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/build.py | Python | gpl3 | 3,978 |
#! /usr/bin/env python
import sys, os
import tarfile, zipfile, gzip, bz2
from optparse import OptionParser
"""
Builds packaged releases of DebugKit so I don't have to do things manually.
Excludes itself (build.py), .gitignore, .DS_Store and the .git folder from the archives.
"""
def main():
parser = OptionParser... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/.svn/text-base/build.py.svn-base | Python | gpl3 | 3,978 |
<?php
/**
* Contains methods for Profiling memory usage.
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above co... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/DebugMemory.php | PHP | gpl3 | 2,524 |
<?php
/**
* FirePHP Class for CakePHP
*
* Provides most of the functionality offered by FirePHPCore
* Interoperates with FirePHP extension for firefox
*
* For more information see: http://www.firephp.org/
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/FireCake.php | PHP | gpl3 | 13,981 |
<?php
/**
* DebugKit Debugger class. Extends and enhances core
* debugger. Adds benchmarking and timing functionality.
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The M... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/DebugKitDebugger.php | PHP | gpl3 | 6,801 |
<?php
/**
* Contains methods for Profiling and creating
* timers.
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain th... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/DebugTimer.php | PHP | gpl3 | 4,915 |
<?php
/**
* Debug Panel
*
* Base class for debug panels.
*
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2010, Cake Software Foundation, I... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/DebugPanel.php | PHP | gpl3 | 1,661 |
<?php
App::uses('DebugPanel', 'DebugKit.Lib');
/**
* SqlLog Panel
*
* Provides debug information on the SQL logs and provides links to an ajax explain interface.
*
* @package cake.debug_kit.panels
*/
class SqlLogPanel extends DebugPanel {
/**
* Minimum number of Rows Per Millisecond that must be returned... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/SqlLogPanel.php | PHP | gpl3 | 1,343 |
<?php
App::uses('DebugPanel', 'DebugKit.Lib');
/**
* Session Panel
*
* Provides debug information on the Session contents.
*
* @package cake.debug_kit.panels
*/
class SessionPanel extends DebugPanel {
/**
* beforeRender callback
*
* @param object $controller
* @return array
*/
public function before... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/SessionPanel.php | PHP | gpl3 | 431 |
<?php
App::uses('DebugPanel', 'DebugKit.Lib');
/**
* Include Panel
*
* Provides a list of included files for the current request
*
* @package cake.debug_kit.panels
**/
class IncludePanel extends DebugPanel {
/**
* The list of plugins within the application
* @var <type>
*/
protected $_pluginPaths = ar... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/IncludePanel.php | PHP | gpl3 | 3,379 |
<?php
App::uses ('DebugPanel', 'DebugKit.Lib');
/**
* Environment Panel
*
* Provides information about your PHP and CakePHP environment to assist with debugging.
*
* @package cake.debug_kit.panels
*/
class EnvironmentPanel extends DebugPanel {
/**
* beforeRender - Get necessary data about environment to... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/EnvironmentPanel.php | PHP | gpl3 | 1,670 |
<?php
App::uses('DebugPanel', 'DebugKit.Lib');
/**
* Request Panel
*
* Provides debug information on the Current request params.
*
* @package cake.debug_kit.panels
**/
class RequestPanel extends DebugPanel {
/**
* beforeRender callback - grabs request params
*
* @return array
**/
public function befo... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/RequestPanel.php | PHP | gpl3 | 738 |
<?php
App::uses('DebugPanel', 'DebugKit.Lib');
/**
* Timer Panel
*
* Provides debug information on all timers used in a request.
*
* @package cake.debug_kit.panels
*/
class TimerPanel extends DebugPanel {
/**
* startup - add in necessary helpers
*
* @return void
*/
public function startup(Controller ... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/TimerPanel.php | PHP | gpl3 | 649 |
<?php
App::uses('DebugPanel', 'DebugKit.Lib');
/**
* Variables Panel
*
* Provides debug information on the View variables.
*
* @package cake.debug_kit.panels
*/
class VariablesPanel extends DebugPanel {
/**
* beforeRender callback
*
* @return array
*/
public function beforeRender(Controller $controll... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/VariablesPanel.php | PHP | gpl3 | 432 |
<?php
App::uses('DebugPanel', 'DebugKit.Lib');
/**
* History Panel
*
* Provides debug information on previous requests.
*
* @package cake.debug_kit.panels
**/
class HistoryPanel extends DebugPanel {
/**
* Number of history elements to keep
*
* @var string
**/
public $history = 5;
/**
* Constructor
... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/HistoryPanel.php | PHP | gpl3 | 1,720 |
<?php
App::uses('DebugPanel', 'DebugKit.Lib');
/**
* Log Panel - Reads log entries made this request.
*
* @package cake.debug_kit.panels
*/
class LogPanel extends DebugPanel {
/**
* Constructor - sets up the log listener.
*
* @return void
*/
public function __construct() {
parent::__construct();
$e... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Panel/LogPanel.php | PHP | gpl3 | 738 |
<?php
/**
* A CakeLog listener which saves having to munge files or other configured loggers.
*
* @package debug_kit.components
*/
class DebugKitLogListener implements CakeLogInterface {
public $logs = array();
/**
* Makes the reverse link needed to get the logs later.
*
* @return void
*/
public function _... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Lib/Log/Engine/DebugKitLogListener.php | PHP | gpl3 | 630 |
<?php
/**
* Whitespace shell. Helps find and trim whitespace from files.
*
* Based on jperras' shell found at http://bin.cakephp.org/view/626544881
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.o... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Console/Command/WhitespaceShell.php | PHP | gpl3 | 2,831 |
<?php
/**
* Benchmark Shell.
*
* Provides basic benchmarking of application requests
* functionally similar to Apache AB
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under T... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Console/Command/BenchmarkShell.php | PHP | gpl3 | 5,104 |
<?php
/**
* DebugKit TimedBehavior
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, 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/app/Plugin/DebugKit/Model/Behavior/TimedBehavior.php | PHP | gpl3 | 2,504 |
<?php
/**
* Debug Kit App Model
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @co... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Model/DebugKitAppModel.php | PHP | gpl3 | 703 |
<?php
/**
* DebugKit ToolbarAccess Model
*
* Contains logic for accessing DebugKit specific information.
*
* PHP versions 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
*... | 100-percent-breakthrough | trunk/app/Plugin/DebugKit/Model/ToolbarAccess.php | PHP | gpl3 | 1,881 |
<?php
/**
* Index
*
* The Front Controller for handling every request
*
* 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... | 100-percent-breakthrough | trunk/app/webroot/index.php | PHP | gpl3 | 3,189 |
<?php
/**
* Web Access Frontend for TestSuite
*
* 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/app/webroot/test.php | PHP | gpl3 | 3,022 |
@charset "utf-8";
* {
margin:0;
padding:0;
}
/** General Style Info **/
body {background: #FFF;color: #000;font-family:'lucida grande',verdana,helvetica,arial,sans-serif;font-size:90%;margin: 0 auto;}
table, table td { border: 1px solid #555; }
#container { margin: 0px auto; width: 1024px; }
#nav { width:auto; b... | 100-percent-breakthrough | trunk/app/webroot/css/style.css | CSS | gpl3 | 1,227 |
@charset "utf-8";
/**
*
* Generic CSS for CakePHP
*
* 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
* Redistrib... | 100-percent-breakthrough | trunk/app/webroot/css/cake.generic.css | CSS | gpl3 | 15,482 |
@charset "utf-8";
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strik... | 100-percent-breakthrough | trunk/app/webroot/css/webstyle.css | CSS | gpl3 | 5,191 |
@charset "utf-8";
* {
margin:0;
padding:0;
}
/** General Style Info **/
body
{
background: #FFF;
color: black;
font-family:'verdana',helvetica,arial,sans-serif,lucida grande;
font-size:medium;
margin: 0px;
}
#header img {
width:1024px;
}
#h1, h2, h1, h3, h4
{
color: #FF... | 100-percent-breakthrough | trunk/app/webroot/css/webstyle2.css | CSS | gpl3 | 3,571 |
<?php
App::uses('AppController', 'Controller');
/**
* Quotes Controller
*
* @property Quote $Quote
*/
class QuotesController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Quote->recursive = 0;
$this->set('quotes', $this->paginate());
}
... | 100-percent-breakthrough | trunk/app/Controller/QuotesController.php | PHP | gpl3 | 2,435 |
<?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/app/Controller/ContactController.php | PHP | gpl3 | 1,291 |
<?php
App::uses('AppController', 'Controller');
/**
* Offices Controller
*
* @property Office $Office
*/
class OfficesController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Office->recursive = 0;
$this->set('offices', $this->paginate());
... | 100-percent-breakthrough | trunk/app/Controller/OfficesController.php | PHP | gpl3 | 2,465 |
<?php
/**
* Created by JetBrains PhpStorm.
* User: Yankee
* Date: 6/05/13
* Time: 6:41 PM
* To change this template use File | Settings | File Templates.
*/
public function view($id = null)
{
$this->Quote->id = $id;
$this->set('quote', $this->Quote->read());
}
?> | 100-percent-breakthrough | trunk/app/Controller/QuoteController.php | PHP | gpl3 | 293 |
<?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/app/Controller/PagesController.php | PHP | gpl3 | 1,799 |
<?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/app/Controller/AppController.php | PHP | gpl3 | 1,224 |
<?php
App::uses('AppController', 'Controller');
/**
* Interactions Controller
*
* @property Interaction $Interaction
*/
class InteractionsController extends AppController {
/**
* index method
*
* @return void
*/
public function index() {
$this->Interaction->recursive = 0;
$this->set('inter... | 100-percent-breakthrough | trunk/app/Controller/InteractionsController.php | PHP | gpl3 | 2,797 |
<?php
class ContactsController extends Controller {
var $components = array('Email');
function send() {
if(!empty($this->data)) {
$this->Contact->set($this->data);
if($this->Contact->validates())
{
//NEW EMAIL COMPONENT
$Email = new CakeEmail();
//$Email->config('g... | 100-percent-breakthrough | trunk/app/Controller/ContactsController.php | PHP | gpl3 | 2,140 |
<?php
class EmailComponent extends Object {
function email($email, $name, $message) {
$f_mail = "name@domain.com";
$f_name = "WebMaster domain.com";
$f_message = "\nName : $name"; // start building the message
$f_message .= "\n\nE-mail : $email";
$f_message .= "\n\nMes... | 100-percent-breakthrough | trunk/app/Controller/Component/email.php | PHP | gpl3 | 2,015 |
<?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 ret... | 100-percent-breakthrough | trunk/app/index.php | PHP | gpl3 | 722 |
<?php
/**
* AppShell 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
* Redistributions of fil... | 100-percent-breakthrough | trunk/app/Console/Command/AppShell.php | PHP | gpl3 | 868 |
#!/usr/bin/php -q
<?php
/**
* Command-line code generation utility to automate programmer chores.
*
* 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 l... | 100-percent-breakthrough | trunk/app/Console/cake.php | PHP | gpl3 | 1,298 |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licen... | 100-percent-breakthrough | trunk/app/Console/.svn/text-base/cake.svn-base | Shell | gpl3 | 1,388 |
#!/usr/bin/php -q
<?php
/**
* Command-line code generation utility to automate programmer chores.
*
* 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 l... | 100-percent-breakthrough | trunk/app/Console/.svn/text-base/cake.php.svn-base | PHP | gpl3 | 1,298 |
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: Bake is a shell script for running CakePHP bake script
:: PHP 5
::
:: CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
:: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
::
:: Licensed u... | 100-percent-breakthrough | trunk/app/Console/cake.bat | Batchfile | gpl3 | 1,004 |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
#
# Licen... | 100-percent-breakthrough | trunk/app/Console/cake | Shell | gpl3 | 1,388 |
<?php
/**
* This is core configuration file.
*
* Use it to configure core behaviour of Cake.
*
* 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/app/Config/database.php | PHP | gpl3 | 2,724 |
<?php
/**
* Routes configuration
*
* In this file, you set up routes to your controllers and their actions.
* Routes are very important mechanism that allows you to freely connect
* different urls to chosen controllers and their actions (functions).
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http... | 100-percent-breakthrough | trunk/app/Config/routes.php | PHP | gpl3 | 1,654 |
<?php
/**
* This is the PHP base ACL configuration file.
*
* Use it to configure access control of your Cake application.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
... | 100-percent-breakthrough | trunk/app/Config/acl.php | PHP | gpl3 | 4,939 |
;<?php exit() ?>
;/**
; * ACL Configuration
; *
; *
; * 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/app/Config/acl.ini.php | PHP | gpl3 | 2,014 |
<?php
/**
* This is core configuration file.
*
* Use it to configure core behavior of Cake.
*
* 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 licen... | 100-percent-breakthrough | trunk/app/Config/core.php | PHP | gpl3 | 12,885 |
<?php
/**
* This is email configuration file.
*
* Use it to configure email transports of Cake.
*
* 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 cop... | 100-percent-breakthrough | trunk/app/Config/email.php | PHP | gpl3 | 3,037 |
<?php
/**
* This file is loaded automatically by the app/webroot/index.php file after core.php
*
* This file should load/create any application wide configuration settings, such as
* Caching, Logging, loading additional configuration files.
*
* You should also use this file to include any files that provide globa... | 100-percent-breakthrough | trunk/app/Config/bootstrap.php | PHP | gpl3 | 5,174 |
<?php
/**
* This is Acl Schema file
*
* Use it to configure database for ACL
*
* 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/app/Config/Schema/db_acl.php | PHP | gpl3 | 3,220 |
<?php
/**
* This is i18n Schema file
*
* Use it to configure database for i18n
*
* 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 informatio... | 100-percent-breakthrough | trunk/app/Config/Schema/i18n.php | PHP | gpl3 | 1,888 |
<?php
/**
* This is Sessions Schema file
*
* Use it to configure database for Sessions
*
* 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 in... | 100-percent-breakthrough | trunk/app/Config/Schema/sessions.php | PHP | gpl3 | 1,347 |
<?php
/**
* Application model for Cake.
*
* This file is application-wide model file. You can put all
* application-wide model-related methods here.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Lice... | 100-percent-breakthrough | trunk/app/Model/Contact.php | PHP | gpl3 | 1,513 |
<?php
App::uses('AppModel', 'Model');
/**
* Quote Model
*
* @property Child $Child
* @property Expense $Expense
* @property Location $Location
* @property SpecialRequirment $SpecialRequirment
*/
class Quote extends AppModel {
/**
* Primary key field
*
* @var string
*/
public $primaryKey = ... | 100-percent-breakthrough | trunk/app/Model/Quote.php | PHP | gpl3 | 1,815 |
<?php
/**
* Application model for Cake.
*
* This file is application-wide model file. You can put all
* application-wide model-related methods here.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Lice... | 100-percent-breakthrough | trunk/app/Model/AppModel.php | PHP | gpl3 | 1,021 |
<?php
App::uses('AppModel', 'Model');
/**
* Expense Model
*
* @property Quote $Quote
*/
class Expense extends AppModel {
/**
* Primary key field
*
* @var string
*/
public $primaryKey = 'expense';
//The Associations below have been created with all possible keys, those that are not needed c... | 100-percent-breakthrough | trunk/app/Model/Expense.php | PHP | gpl3 | 578 |
<?php
App::uses('AppModel', 'Model');
/**
* SpecialRequirment Model
*
* @property Quote $Quote
*/
class SpecialRequirment extends AppModel {
/**
* Use table
*
* @var mixed False or table name
*/
public $useTable = 'special_requirment';
/**
* Primary key field
*
* @var string
*/
publ... | 100-percent-breakthrough | trunk/app/Model/SpecialRequirment.php | PHP | gpl3 | 714 |
<?php
App::uses('AppModel', 'Model');
/**
* Child Model
*
* @property Quote $Quote
*/
class Child extends AppModel {
/**
* Primary key field
*
* @var string
*/
public $primaryKey = 'child_id';
/**
* Display field
*
* @var string
*/
public $displayField = 'name_of_child';
//The... | 100-percent-breakthrough | trunk/app/Model/Child.php | PHP | gpl3 | 667 |
<?php
App::uses('AppModel', 'Model');
/**
* Interaction Model
*
*/
class Interaction extends AppModel {
/**
* Use table
*
* @var mixed False or table name
*/
public $useTable = 'interaction';
/**
* Primary key field
*
* @var string
*/
public $primaryKey = 'i_id';
var $belongsTo = ar... | 100-percent-breakthrough | trunk/app/Model/Interaction.php | PHP | gpl3 | 396 |
<?php
App::uses('AppModel', 'Model');
/**
* Office Model
*
* @property officeInteraction $officeInteraction
*/
class Office extends AppModel {
/**
* Use table
*
* @var mixed False or table name
*/
public $useTable = 'office';
/**
* Primary key field
*
* @var string
*/
public $primar... | 100-percent-breakthrough | trunk/app/Model/Office.php | PHP | gpl3 | 636 |
<?php
App::uses('AppModel', 'Model');
/**
* Location Model
*
* @property Quote $Quote
*/
class Location extends AppModel {
/**
* Primary key field
*
* @var string
*/
public $primaryKey = 'location_id';
//The Associations below have been created with all possible keys, those that are not ne... | 100-percent-breakthrough | trunk/app/Model/Location.php | PHP | gpl3 | 584 |
<?php
/**
* Requests collector.
*
* This file collects requests if:
* - no mod_rewrite is available or .htaccess files are not supported
* - requires App.baseUrl to be uncommented in app/Config/core.php
* - app/webroot is not set as a document root.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (h... | 100-percent-breakthrough | trunk/index.php | PHP | gpl3 | 1,466 |
<?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/lib/Cake/View/JsonView.php | PHP | gpl3 | 3,323 |
<?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/lib/Cake/View/ScaffoldView.php | PHP | gpl3 | 2,379 |
<?php
/**
* A custom view class that is used for themeing
*
* 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 LICEN... | 100-percent-breakthrough | trunk/lib/Cake/View/ThemeView.php | PHP | gpl3 | 926 |
<?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/lib/Cake/View/Helper.php | PHP | gpl3 | 27,465 |
<?php
/**
* Helpers collection is used as a registry for loaded helpers and handles loading
* and constructing helper class objects.
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* ... | 100-percent-breakthrough | trunk/lib/Cake/View/HelperCollection.php | PHP | gpl3 | 6,624 |
<?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/lib/Cake/View/Scaffolds/index.ctp | PHP | gpl3 | 3,757 |
<?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/lib/Cake/View/Scaffolds/view.ctp | PHP | gpl3 | 6,621 |
<?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/lib/Cake/View/Scaffolds/form.ctp | PHP | gpl3 | 2,210 |
<?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/lib/Cake/View/XmlView.php | PHP | gpl3 | 3,721 |
<?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/lib/Cake/View/ViewBlock.php | PHP | gpl3 | 6,066 |
<?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/lib/Cake/View/Errors/missing_helper.ctp | PHP | gpl3 | 1,620 |
<?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/lib/Cake/View/Errors/pdo_error.ctp | PHP | gpl3 | 1,487 |
<?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/lib/Cake/View/Errors/missing_datasource_config.ctp | PHP | gpl3 | 1,254 |