=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== cakephp-2.10.11/lib/Cake/Cache/Cache.php-36- * This would configure an APC cache engine to the 'shared' alias. You could then read and write cakephp-2.10.11/lib/Cake/Cache/Cache.php:37: * to that cache alias by using it for the `$config` parameter in the various Cache methods. In cakephp-2.10.11/lib/Cake/Cache/Cache.php-38- * general all Cache operations are supported by all cache engines. However, Cache::increment() and ############################################## cakephp-2.10.11/lib/Cake/Cache/Cache.php-221- * operation (write, decrement, increment, clear). Any reads that are done before the write, will cakephp-2.10.11/lib/Cake/Cache/Cache.php:222: * use the modified settings. If `$settings` is empty, the settings will be reset to the cakephp-2.10.11/lib/Cake/Cache/Cache.php-223- * original configuration. ############################################## cakephp-2.10.11/lib/Cake/Cache/Cache.php-290- * cakephp-2.10.11/lib/Cake/Cache/Cache.php:291: * `Cache::write('cached_data', $data);` cakephp-2.10.11/lib/Cake/Cache/Cache.php-292- * ############################################## cakephp-2.10.11/lib/Cake/Cache/Cache.php-294- * cakephp-2.10.11/lib/Cake/Cache/Cache.php:295: * `Cache::write('cached_data', $data, 'long_term');` cakephp-2.10.11/lib/Cake/Cache/Cache.php-296- * ############################################## cakephp-2.10.11/lib/Cake/Cache/Cache.php-587- * cakephp-2.10.11/lib/Cake/Cache/Cache.php:588: * `Cache::add('cached_data', $data);` cakephp-2.10.11/lib/Cake/Cache/Cache.php-589- * ############################################## cakephp-2.10.11/lib/Cake/Cache/Cache.php-591- * cakephp-2.10.11/lib/Cake/Cache/Cache.php:592: * `Cache::add('cached_data', $data, 'long_term');` cakephp-2.10.11/lib/Cake/Cache/Cache.php-593- * ############################################## cakephp-2.10.11/lib/Cake/Configure/PhpReader.php-23- * cakephp-2.10.11/lib/Cake/Configure/PhpReader.php:24: * Files compatible with PhpReader should define a `$config` variable, that cakephp-2.10.11/lib/Cake/Configure/PhpReader.php-25- * contains all of the configuration data contained in the file. ############################################## cakephp-2.10.11/lib/Cake/Configure/PhpReader.php-58- * @return array Parsed configuration values. cakephp-2.10.11/lib/Cake/Configure/PhpReader.php:59: * @throws ConfigureException when files don't exist or they don't contain `$config`. cakephp-2.10.11/lib/Cake/Configure/PhpReader.php-60- * Or when files contain '..' as this could lead to abusive reads. ############################################## cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php-335- //@codingStandardsIgnoreStart cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php:336: @eval($findCommand); cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php-337- //@codingStandardsIgnoreEnd ############################################## cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php-399- //@codingStandardsIgnoreStart cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php:400: @eval($saveCommand); cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php-401- //@codingStandardsIgnoreEnd ############################################## cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php-420- //@codingStandardsIgnoreStart cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php:421: @eval($fieldsCommand); cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php-422- //@codingStandardsIgnoreEnd ############################################## cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php-464- //@codingStandardsIgnoreStart cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php:465: if ($url = eval('return array' . $tmp[1] . ';')) { cakephp-2.10.11/lib/Cake/Console/Command/ConsoleShell.php-466- //@codingStandardsIgnoreEnd ############################################## cakephp-2.10.11/lib/Cake/Console/Command/ServerShell.php-139- $this->out(__d('cake_console', 'built-in server is running in http://%s%s/', $this->_host, $port)); cakephp-2.10.11/lib/Cake/Console/Command/ServerShell.php:140: system($command); cakephp-2.10.11/lib/Cake/Console/Command/ServerShell.php-141- } ############################################## cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php-164- if ($this->params['git']) { cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php:165: exec('git mv -f ' . escapeshellarg($old) . ' ' . escapeshellarg($old . '__')); cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php:166: exec('git mv -f ' . escapeshellarg($old . '__') . ' ' . escapeshellarg($new)); cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php-167- } else { ############################################## cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php-625- if ($this->params['git']) { cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php:626: exec('git mv -f ' . escapeshellarg($old) . ' ' . escapeshellarg($old . '__')); cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php:627: exec('git mv -f ' . escapeshellarg($old . '__') . ' ' . escapeshellarg($new)); cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php-628- } else { ############################################## cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php-655- if ($this->params['git']) { cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php:656: exec('git mv -f ' . escapeshellarg($old) . ' ' . escapeshellarg($old . '__')); cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php:657: exec('git mv -f ' . escapeshellarg($old . '__') . ' ' . escapeshellarg($new)); cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php-658- } else { ############################################## cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php-744- if ($this->params['git']) { cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php:745: exec('git mv -f ' . escapeshellarg($file) . ' ' . escapeshellarg($file . '__')); cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php:746: exec('git mv -f ' . escapeshellarg($file . '__') . ' ' . escapeshellarg($new)); cakephp-2.10.11/lib/Cake/Console/Command/UpgradeShell.php-747- } else { ############################################## cakephp-2.10.11/lib/Cake/Console/ConsoleOptionParser.php-40- * cakephp-2.10.11/lib/Cake/Console/ConsoleOptionParser.php:41: * Options can be defined with both long and short forms. By using `$parser->addOption()` cakephp-2.10.11/lib/Cake/Console/ConsoleOptionParser.php-42- * you can define new options. The name of the option is used as its long form, and you ############################################## cakephp-2.10.11/lib/Cake/Console/ConsoleOptionParser.php-69- * cakephp-2.10.11/lib/Cake/Console/ConsoleOptionParser.php:70: * `$parser->addArgument('model', array('required' => false));` cakephp-2.10.11/lib/Cake/Console/ConsoleOptionParser.php-71- * ############################################## cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-36- * cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php:37: * `$this->out('<warning>Overwrite:</warning> foo.php was overwritten.');` cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-38- * ############################################## cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-286- * cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php:287: * `$this->output->styles('error');` cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-288- * ############################################## cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-290- * cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php:291: * `$this->output->styles();` cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-292- * ############################################## cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-294- * cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php:295: * `$this->output->styles('annoy', array('text' => 'purple', 'background' => 'yellow', 'blink' => true));` cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-296- * ############################################## cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-298- * cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php:299: * `$this->output->styles('annoy', false);` cakephp-2.10.11/lib/Cake/Console/ConsoleOutput.php-300- * ############################################## cakephp-2.10.11/lib/Cake/Console/Helper/BaseShellHelper.php-75-/** cakephp-2.10.11/lib/Cake/Console/Helper/BaseShellHelper.php:76: * This method should output content using `$this->_consoleOutput`. cakephp-2.10.11/lib/Cake/Console/Helper/BaseShellHelper.php-77- * ############################################## cakephp-2.10.11/lib/Cake/Console/Shell.php-378- * cakephp-2.10.11/lib/Cake/Console/Shell.php:379: * `return $this->dispatchShell('schema create DbAcl');` cakephp-2.10.11/lib/Cake/Console/Shell.php-380- * ############################################## cakephp-2.10.11/lib/Cake/Console/Shell.php-386- * cakephp-2.10.11/lib/Cake/Console/Shell.php:387: * `return $this->dispatchShell('schema', 'create', 'i18n', '--dry');` cakephp-2.10.11/lib/Cake/Console/Shell.php-388- * ############################################## cakephp-2.10.11/lib/Cake/Console/Shell.php-750- if (DS === '/') { cakephp-2.10.11/lib/Cake/Console/Shell.php:751: passthru('clear'); cakephp-2.10.11/lib/Cake/Console/Shell.php-752- } else { cakephp-2.10.11/lib/Cake/Console/Shell.php:753: passthru('cls'); cakephp-2.10.11/lib/Cake/Console/Shell.php-754- } ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/Acl/DbAcl.php-25- * cakephp-2.10.11/lib/Cake/Controller/Component/Acl/DbAcl.php:26: * `$aco` and `$aro` parameters can be slash delimited paths to tree nodes. cakephp-2.10.11/lib/Cake/Controller/Component/Acl/DbAcl.php-27- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/AclComponent.php-75- * cakephp-2.10.11/lib/Cake/Controller/Component/AclComponent.php:76: * `$this->Acl->adapter();` will get the current adapter class while cakephp-2.10.11/lib/Cake/Controller/Component/AclComponent.php:77: * `$this->Acl->adapter($obj);` will set the adapter class cakephp-2.10.11/lib/Cake/Controller/Component/AclComponent.php-78- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php-34- * cakephp-2.10.11/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php:35: * You should also set `AuthComponent::$sessionKey = false;` in your AppController's cakephp-2.10.11/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php-36- * beforeFilter() to prevent CakePHP from sending a session cookie to the client. ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php-42- * cakephp-2.10.11/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php:43: * You may also want to use `$this->Auth->unauthorizedRedirect = false;`. cakephp-2.10.11/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php-44- * By default, unauthorized users are redirected to the referrer URL, cakephp-2.10.11/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php:45: * `AuthComponent::$loginAction`, or '/'. If unauthorizedRedirect is set to cakephp-2.10.11/lib/Cake/Controller/Component/Auth/BasicAuthenticate.php-46- * false, a ForbiddenException exception is thrown instead of redirecting. ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php-38- * cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php:39: * In your login function just call `$this->Auth->login()` without any checks for POST data. This cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php-40- * will send the authentication headers, and trigger the login dialog in the browser/client. ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php-46- * cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php:47: * `$digestPass = DigestAuthenticate::password($username, $password, env('SERVER_NAME'));` cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php-48- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php-71- * - `opaque` A string that must be returned unchanged by clients. cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php:72: * Defaults to `md5($settings['realm'])` cakephp-2.10.11/lib/Cake/Controller/Component/Auth/DigestAuthenticate.php-73- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php-515- * cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php:516: * `$this->Auth->allow(array('edit', 'add'));` or cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php:517: * `$this->Auth->allow('edit', 'add');` or cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php:518: * `$this->Auth->allow();` to allow all actions cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php-519- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php-540- * cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php:541: * `$this->Auth->deny(array('edit', 'add'));` or cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php:542: * `$this->Auth->deny('edit', 'add');` or cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php:543: * `$this->Auth->deny();` to remove all items from the allowed list cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php-544- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php-598- * cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php:599: * If a $user is provided that data will be stored as the logged in user. If `$user` is empty or not cakephp-2.10.11/lib/Cake/Controller/Component/AuthComponent.php-600- * specified, the request will be used to identify a user. If the identification was successful, ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/EmailComponent.php-281- * @param string|array $content Either an array of text lines, or a string with contents cakephp-2.10.11/lib/Cake/Controller/Component/EmailComponent.php:282: * If you are rendering a template this variable will be sent to the templates as `$content` cakephp-2.10.11/lib/Cake/Controller/Component/EmailComponent.php-283- * @param string $template Template to use when sending email ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-293- * @return bool True if call is Ajax cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php:294: * @deprecated 3.0.0 Use `$this->request->is('ajax')` instead. cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-295- */ ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-303- * @return bool True if call is from Flash cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php:304: * @deprecated 3.0.0 Use `$this->request->is('flash')` instead. cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-305- */ ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-313- * @return bool True if call is over HTTPS cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php:314: * @deprecated 3.0.0 Use `$this->request->is('ssl')` instead. cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-315- */ ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-426- * @return void cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php:427: * @deprecated 3.0.0 Use `$this->response->type()` instead. cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-428- */ ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-461- * cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php:462: * `$this->RequestHandler->accepts(array('xml', 'html', 'json'));` cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-463- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-465- * cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php:466: * `$this->RequestHandler->accepts('xml');` cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-467- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-591- * cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php:592: * `$this->RequestHandler->renderAs($this, 'ajax');` cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-593- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-595- * cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php:596: * `$this->RequestHandler->renderAs($this, 'xml', array('attachment' => 'myfile.xml');` cakephp-2.10.11/lib/Cake/Controller/Component/RequestHandlerComponent.php-597- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/SessionComponent.php-23- * The CakePHP SessionComponent provides a way to persist client data between cakephp-2.10.11/lib/Cake/Controller/Component/SessionComponent.php:24: * page requests. It acts as a wrapper for the `$_SESSION` as well as providing cakephp-2.10.11/lib/Cake/Controller/Component/SessionComponent.php:25: * convenience methods for several `$_SESSION` related functions. cakephp-2.10.11/lib/Cake/Controller/Component/SessionComponent.php-26- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Component/SessionComponent.php-87- * cakephp-2.10.11/lib/Cake/Controller/Component/SessionComponent.php:88: * In your controller: `$this->Session->consume('Controller.sessKey');` cakephp-2.10.11/lib/Cake/Controller/Component/SessionComponent.php-89- * ############################################## cakephp-2.10.11/lib/Cake/Controller/ComponentCollection.php-77- * Loads/constructs a component. Will return the instance in the registry if it already exists. cakephp-2.10.11/lib/Cake/Controller/ComponentCollection.php:78: * You can use `$settings['enabled'] = false` to disable callbacks on a component when loading it. cakephp-2.10.11/lib/Cake/Controller/ComponentCollection.php-79- * Callbacks default to on. Disabled component methods work as normal, only callbacks are disabled. ############################################## cakephp-2.10.11/lib/Cake/Controller/Controller.php-34- * cakephp-2.10.11/lib/Cake/Controller/Controller.php:35: * You can access request parameters, using `$this->request`. The request object contains all the POST, GET and FILES cakephp-2.10.11/lib/Cake/Controller/Controller.php-36- * that were part of the request. ############################################## cakephp-2.10.11/lib/Cake/Controller/Controller.php-39- * takes the form of a generated View, or possibly a redirection to another controller action. In either case cakephp-2.10.11/lib/Cake/Controller/Controller.php:40: * `$this->response` allows you to manipulate all aspects of the response. cakephp-2.10.11/lib/Cake/Controller/Controller.php-41- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Controller.php-70- * cakephp-2.10.11/lib/Cake/Controller/Controller.php:71: * Example: `public $uses = array('Product', 'Post', 'Comment');` cakephp-2.10.11/lib/Cake/Controller/Controller.php-72- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Controller.php-91- * cakephp-2.10.11/lib/Cake/Controller/Controller.php:92: * Example: `public $helpers = array('Html', 'Js', 'Time', 'Ajax');` cakephp-2.10.11/lib/Cake/Controller/Controller.php-93- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Controller.php-187- * cakephp-2.10.11/lib/Cake/Controller/Controller.php:188: * Example: `public $components = array('Session', 'RequestHandler', 'Acl');` cakephp-2.10.11/lib/Cake/Controller/Controller.php-189- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Controller.php-900- * cakephp-2.10.11/lib/Cake/Controller/Controller.php:901: * `$errors = $this->validateErrors($this->Article, $this->User);` cakephp-2.10.11/lib/Cake/Controller/Controller.php-902- * ############################################## cakephp-2.10.11/lib/Cake/Controller/Scaffold.php-348- * scaffoldView is used to call default Scaffold methods if: cakephp-2.10.11/lib/Cake/Controller/Scaffold.php:349: * `public $scaffold;` is placed in the controller's class definition. cakephp-2.10.11/lib/Cake/Controller/Scaffold.php-350- * ############################################## cakephp-2.10.11/lib/Cake/Core/App.php-33- * CakePHP is organized around the idea of packages, each class belongs to a package or folder where other cakephp-2.10.11/lib/Cake/Core/App.php:34: * classes reside. You can configure each package location in your application using `App::build('APackage/SubPackage', $paths)` cakephp-2.10.11/lib/Cake/Core/App.php-35- * to inform the framework where should each class be loaded. Almost every class in the CakePHP framework can be swapped ############################################## cakephp-2.10.11/lib/Cake/Core/CakeObject.php-58- * cakephp-2.10.11/lib/Cake/Core/CakeObject.php:59: * POST and GET data can be simulated in requestAction. Use `$extra['url']` for cakephp-2.10.11/lib/Cake/Core/CakeObject.php:60: * GET data. The `$extra['data']` parameter allows POST data simulation. cakephp-2.10.11/lib/Cake/Core/CakeObject.php-61- * ############################################## cakephp-2.10.11/lib/Cake/Error/exceptions.php-414- cakephp-2.10.11/lib/Cake/Error/exceptions.php:415: protected $_messageTemplate = "Unknown command %1\$s %2\$s.\nFor usage try `cake %1\$s --help`"; cakephp-2.10.11/lib/Cake/Error/exceptions.php-416- ############################################## cakephp-2.10.11/lib/Cake/Model/Behavior/TranslateBehavior.php-407- * cakephp-2.10.11/lib/Cake/Model/Behavior/TranslateBehavior.php:408: * Copies data into the runtime property when `$options['validate']` is cakephp-2.10.11/lib/Cake/Model/Behavior/TranslateBehavior.php-409- * disabled. Or the runtime data hasn't been set yet. ############################################## cakephp-2.10.11/lib/Cake/Model/BehaviorCollection.php-83-/** cakephp-2.10.11/lib/Cake/Model/BehaviorCollection.php:84: * Loads a behavior into the collection. You can use use `$config['enabled'] = false` cakephp-2.10.11/lib/Cake/Model/BehaviorCollection.php-85- * to load a behavior with callbacks disabled. By default callbacks are enabled. Disable behaviors ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/DataSource.php-316-/** cakephp-2.10.11/lib/Cake/Model/Datasource/DataSource.php:317: * Replaces `{$__cakeID__$}` and `{$__cakeForeignKey__$}` placeholders in query data. cakephp-2.10.11/lib/Cake/Model/Datasource/DataSource.php-318- * ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Mysql.php-738- if (is_string($name)) { cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Mysql.php:739: $condition = ' WHERE name = ' . $this->value($name); cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Mysql.php-740- } ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlite.php-239- if (in_array('sqlite_sequence', $this->listSources())) { cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlite.php:240: $this->_execute('DELETE FROM sqlite_sequence where name=' . $this->startQuote . $this->fullTableName($table, false, false) . $this->endQuote); cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlite.php-241- } ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php-233- FROM INFORMATION_SCHEMA.COLUMNS cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php:234: WHERE TABLE_NAME = '" . $table . "'" . ($schema ? " AND TABLE_SCHEMA = '" . $schema . "'" : '') cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php-235- ); ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php-798- $sql = trim($sql); cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php:799: if (strncasecmp($sql, 'SELECT', 6) === 0 || preg_match('/^EXEC(?:UTE)?\s/mi', $sql) > 0) { cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php-800- $prepareOptions += array(PDO::ATTR_CURSOR => PDO::CURSOR_SCROLL); ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php-803- try { cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php:804: $this->_lastAffected = $this->_connection->exec($sql); cakephp-2.10.11/lib/Cake/Model/Datasource/Database/Sqlserver.php-805- if ($this->_lastAffected === false) { ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-1544- } cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php:1545: $query = str_replace(' WHERE 1 = 1', '', $query); cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-1546- ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-2402- } cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php:2403: $this->_connection->exec($query); cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-2404- return true; ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-2446- } cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php:2447: $this->_connection->exec($query); cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-2448- return true; ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-2490- } cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php:2491: $this->_connection->exec($query); cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-2492- return true; ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-2722- */ cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php:2723: public function conditions($conditions, $quoteValues = true, $where = true, Model $Model = null) { cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-2724- $clause = $out = ''; ############################################## cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-3199- $alias = $this->alias . $this->name($Model->alias); cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php:3200: $where = $sql ? "{$sql}" : ' WHERE 1 = 1'; cakephp-2.10.11/lib/Cake/Model/Datasource/DboSource.php-3201- $id = $Model->escapeField(); ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-278- * cakephp-2.10.11/lib/Cake/Model/Model.php:279: * `public $belongsTo = array('Group', 'Department');` cakephp-2.10.11/lib/Cake/Model/Model.php-280- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-325- * cakephp-2.10.11/lib/Cake/Model/Model.php:326: * `public $hasOne = array('Profile', 'Address');` cakephp-2.10.11/lib/Cake/Model/Model.php-327- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-368- * cakephp-2.10.11/lib/Cake/Model/Model.php:369: * `public $hasMany = array('Comment', 'Task');` cakephp-2.10.11/lib/Cake/Model/Model.php-370- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-417- * cakephp-2.10.11/lib/Cake/Model/Model.php:418: * `public $hasAndBelongsToMany = array('Role', 'Address');` cakephp-2.10.11/lib/Cake/Model/Model.php-419- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-544- * cakephp-2.10.11/lib/Cake/Model/Model.php:545: * `public $virtualFields = array('two' => '1 + 1');` cakephp-2.10.11/lib/Cake/Model/Model.php-546- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-674- * cakephp-2.10.11/lib/Cake/Model/Model.php:675: * If `$id` is an array it can be used to pass several options into the model. cakephp-2.10.11/lib/Cake/Model/Model.php-676- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-686- * When overriding Model::__construct() be careful to include and pass in all 3 of the cakephp-2.10.11/lib/Cake/Model/Model.php:687: * arguments to `parent::__construct($id, $table, $ds);` cakephp-2.10.11/lib/Cake/Model/Model.php-688- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-933- * cakephp-2.10.11/lib/Cake/Model/Model.php:934: * If `$reset` is false, association will not be reset cakephp-2.10.11/lib/Cake/Model/Model.php-935- * to the originals defined in the model ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-939- * cakephp-2.10.11/lib/Cake/Model/Model.php:940: * `$this->User->bindModel(array('hasOne' => array('Profile')));` cakephp-2.10.11/lib/Cake/Model/Model.php-941- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-988- * cakephp-2.10.11/lib/Cake/Model/Model.php:989: * `$this->User->unbindModel(array('hasMany' => array('SupportRequest')));` cakephp-2.10.11/lib/Cake/Model/Model.php-990- * Or alternatively: cakephp-2.10.11/lib/Cake/Model/Model.php:991: * `$this->User->unbindModel(array('hasMany' => 'SupportRequest'));` cakephp-2.10.11/lib/Cake/Model/Model.php-992- * ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-2401- * cakephp-2.10.11/lib/Cake/Model/Model.php:2402: * Warning: This method could potentially change the passed argument `$data`, cakephp-2.10.11/lib/Cake/Model/Model.php:2403: * If you do not want this to happen, make a copy of `$data` before passing it cakephp-2.10.11/lib/Cake/Model/Model.php-2404- * to this method ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-2647- * cakephp-2.10.11/lib/Cake/Model/Model.php:2648: * Warning: This method could potentially change the passed argument `$data`, cakephp-2.10.11/lib/Cake/Model/Model.php:2649: * If you do not want this to happen, make a copy of `$data` before passing it cakephp-2.10.11/lib/Cake/Model/Model.php-2650- * to this method ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-3394- * cakephp-2.10.11/lib/Cake/Model/Model.php:3395: * Can be used as a validation method. When used as a validation method, the `$or` parameter cakephp-2.10.11/lib/Cake/Model/Model.php-3396- * contains an array of fields to be validated. ############################################## cakephp-2.10.11/lib/Cake/Model/Model.php-3462- * If the query cache param as 2nd or 3rd argument is not given then the model's cakephp-2.10.11/lib/Cake/Model/Model.php:3463: * default `$cacheQueries` value is used. cakephp-2.10.11/lib/Cake/Model/Model.php-3464- * ############################################## cakephp-2.10.11/lib/Cake/Model/ModelBehavior.php-38- * cakephp-2.10.11/lib/Cake/Model/ModelBehavior.php:39: * Would be called like `$this->Model->doSomething($arg1, $arg2);`. cakephp-2.10.11/lib/Cake/Model/ModelBehavior.php-40- * ############################################## cakephp-2.10.11/lib/Cake/Model/ModelBehavior.php-44- * allows you to create methods similar to Model::findAllByXXX methods on your behaviors. Mapped methods need to cakephp-2.10.11/lib/Cake/Model/ModelBehavior.php:45: * be declared in your behaviors `$mapMethods` array. The method signature for a mapped method is slightly different cakephp-2.10.11/lib/Cake/Model/ModelBehavior.php-46- * than a normal behavior mixin method. ############################################## cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-27- * cakephp-2.10.11/lib/Cake/Model/ModelValidator.php:28: * Implements ArrayAccess to easily modify rules as usually done with `Model::$validate` cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-29- * definition array ############################################## cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-117- * cakephp-2.10.11/lib/Cake/Model/ModelValidator.php:118: * Warning: This method could potentially change the passed argument `$data`, cakephp-2.10.11/lib/Cake/Model/ModelValidator.php:119: * If you do not want this to happen, make a copy of `$data` before passing it cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-120- * to this method ############################################## cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-194- * cakephp-2.10.11/lib/Cake/Model/ModelValidator.php:195: * Warning: This method could potentially change the passed argument `$data`, cakephp-2.10.11/lib/Cake/Model/ModelValidator.php:196: * If you do not want this to happen, make a copy of `$data` before passing it cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-197- * to this method ############################################## cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-335-/** cakephp-2.10.11/lib/Cake/Model/ModelValidator.php:336: * Sets the CakeValidationSet objects from the `Model::$validate` property cakephp-2.10.11/lib/Cake/Model/ModelValidator.php:337: * If `Model::$validate` is not set or empty, this method returns false. True otherwise. cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-338- * cakephp-2.10.11/lib/Cake/Model/ModelValidator.php:339: * @return bool true if `Model::$validate` was processed, false otherwise cakephp-2.10.11/lib/Cake/Model/ModelValidator.php-340- */ ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-25- * cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:26: * `$request['controller']` or `$request->controller`. cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-27- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-153- * process the post data and set what is there into the object. cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:154: * processed data is available at `$this->data` cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-155- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-474- * cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:475: * Allows access to `$this->params['controller']` via `$this->controller` cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-476- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-502- * defined with CakeRequest::addDetector(). Any detector can be called cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:503: * as `is($type)` or `is$Type()`. cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-504- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-700- * Add parameters to the request's parsed parameter set. This will overwrite any existing parameters. cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:701: * This modifies the parameters available through `$request->params`. cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-702- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-823- * cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:824: * `$this->request->accepts();` cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-825- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-827- * cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:828: * `$this->request->accepts('application/json');` cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-829- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-933-/** cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:934: * Provides a read accessor for `$this->query`. Allows you cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-935- * to use a syntax similar to `CakeSession` for reading URL query data. ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-944-/** cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:945: * Provides a read/write accessor for `$this->data`. Allows you cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-946- * to use a syntax similar to `CakeSession` for reading post data. ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-949- * cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:950: * `$request->data('Post.title');` cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-951- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-955- * cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:956: * `$request->data('Post.title', 'New post!');` cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-957- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-997- * cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:998: * `$this->request->input('json_decode');` cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-999- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-1001- * cakephp-2.10.11/lib/Cake/Network/CakeRequest.php:1002: * `$this->request->input('Xml::build', array('return' => 'DOMDocument'));` cakephp-2.10.11/lib/Cake/Network/CakeRequest.php-1003- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-947- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:948: * `$response->expires('now')` Will Expire the response cache now cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:949: * `$response->expires(new DateTime('+1 day'))` Will set the expiration in next 24 hours cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:950: * `$response->expires()` Will return the current expiration header value cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-951- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-971- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:972: * `$response->modified('now')` Will set the Last-Modified to the current time cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:973: * `$response->modified(new DateTime('+1 day'))` Will set the modification date in the past 24 hours cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:974: * `$response->modified()` Will return the current Last-Modified header value cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-975- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1216- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:1217: * `$this->cookie()` cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1218- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1220- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:1221: * `$this->cookie('MyCookie')` cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1222- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1224- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:1225: * `$this->cookie((array) $options)` cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1226- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1262- * ### Full URI cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:1263: * e.g `cors($request, 'https://www.cakephp.org');` cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1264- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1265- * ### URI with wildcard cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:1266: * e.g `cors($request, 'http://*.cakephp.org');` cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1267- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1268- * ### Ignoring the requested protocol cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:1269: * e.g `cors($request, 'www.cakephp.org');` cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1270- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1271- * ### Any URI cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:1272: * e.g `cors($request, '*');` cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1273- * cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1274- * ### Whitelist of URIs cakephp-2.10.11/lib/Cake/Network/CakeResponse.php:1275: * e.g `cors($request, array('https://www.cakephp.org', '*.google.com', 'https://myproject.github.io'));` cakephp-2.10.11/lib/Cake/Network/CakeResponse.php-1276- * ############################################## cakephp-2.10.11/lib/Cake/Network/CakeSocket.php-325- if (Validation::ip($this->config['host'])) { cakephp-2.10.11/lib/Cake/Network/CakeSocket.php:326: return gethostbyaddr($this->config['host']); cakephp-2.10.11/lib/Cake/Network/CakeSocket.php-327- } cakephp-2.10.11/lib/Cake/Network/CakeSocket.php:328: return gethostbyaddr($this->address()); cakephp-2.10.11/lib/Cake/Network/CakeSocket.php-329- } ############################################## cakephp-2.10.11/lib/Cake/Network/Email/CakeEmail.php-1136- * cakephp-2.10.11/lib/Cake/Network/Email/CakeEmail.php:1137: * `$email->config('default');` cakephp-2.10.11/lib/Cake/Network/Email/CakeEmail.php-1138- * ############################################## cakephp-2.10.11/lib/Cake/Network/Email/CakeEmail.php-1140- * cakephp-2.10.11/lib/Cake/Network/Email/CakeEmail.php:1141: * `$email->config(array('to' => 'bill@example.com'));` cakephp-2.10.11/lib/Cake/Network/Email/CakeEmail.php-1142- * ############################################## cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php-137- * cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php:138: * `$http = new HttpSocket('https://cakephp.org/');` cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php-139- * ############################################## cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php-189- * cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php:190: * `$http->configAuth();` cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php-191- * ############################################## cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php-435- * cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php:436: * `$response = $http->get('http://google.com/search', array('q' => 'cakephp', 'client' => 'safari'));` cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php-437- * ############################################## cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php-574- * cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php:575: * `$url = $http->url('http://www.cakephp/search?q=socket', '/%path?%query');` cakephp-2.10.11/lib/Cake/Network/Http/HttpSocket.php-576- * ############################################## cakephp-2.10.11/lib/Cake/Routing/Dispatcher.php-139- * @param array $additionalParams Settings array ("bare", "return") which is melded with the GET and POST params cakephp-2.10.11/lib/Cake/Routing/Dispatcher.php:140: * @return string|null if `$request['return']` is set then it returns response body, null otherwise cakephp-2.10.11/lib/Cake/Routing/Dispatcher.php-141- * @triggers Dispatcher.beforeDispatch $this, compact('request', 'response', 'additionalParams') ############################################## cakephp-2.10.11/lib/Cake/Routing/DispatcherFilter.php-76- * If false is returned, the event will be stopped and no more listeners will be notified. cakephp-2.10.11/lib/Cake/Routing/DispatcherFilter.php:77: * Alternatively you can call `$event->stopPropagation()` to achieve the same result. cakephp-2.10.11/lib/Cake/Routing/DispatcherFilter.php-78- * ############################################## cakephp-2.10.11/lib/Cake/Routing/DispatcherFilter.php-91- * If false is returned, the event will be stopped and no more listeners will be notified. cakephp-2.10.11/lib/Cake/Routing/DispatcherFilter.php:92: * Alternatively you can call `$event->stopPropagation()` to achieve the same result. cakephp-2.10.11/lib/Cake/Routing/DispatcherFilter.php-93- * ############################################## cakephp-2.10.11/lib/Cake/Routing/Router.php-1222- * The file extension itself is made available in the controller as cakephp-2.10.11/lib/Cake/Routing/Router.php:1223: * `$this->params['ext']`, and is used by the RequestHandler component to cakephp-2.10.11/lib/Cake/Routing/Router.php-1224- * automatically switch to alternate layouts and templates, and load helpers ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php-465-/** cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php:466: * test `cake bake view $controller view` cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php-467- * ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php-482-/** cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php:483: * test `cake bake view $controller` cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php-484- * Ensure that views are only baked for actions that exist in the controller. ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php-537-/** cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php:538: * test `cake bake view $controller --admin` cakephp-2.10.11/lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php-539- * Which only bakes admin methods, not non-admin methods. ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-878- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:879: $expected = array('`BinaryTest`.`data`', '(SUM(id)) AS `BinaryTest_$_other__field`'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-880- $this->assertEquals($expected, $result); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-1187- $test->expects($this->at(0))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:1188: ->with('SELECT `Article`.`id` FROM ' . $test->fullTableName('articles') . ' AS `Article` WHERE 1 = 1'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-1189- ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2120- $result = $this->Dbo->conditions("(Post.created < '" . $date . "') GROUP BY YEAR(Post.created), MONTH(Post.created)"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:2121: $expected = " WHERE (`Post`.`created` < '" . $date . "') GROUP BY YEAR(`Post`.`created`), MONTH(`Post`.`created`)"; cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2122- $this->assertEquals($expected, $result); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2137- $result = $this->Dbo->conditions("(Post.created < '" . $date . "') GROUP BY YEAR(Post.created), MONTH(Post.created)"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:2138: $expected = " WHERE (`Post`.`created` < '" . $date . "') GROUP BY YEAR(`Post`.`created`), MONTH(`Post`.`created`)"; cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2139- $this->assertEquals($expected, $result); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2241- $result = $this->Dbo->conditions('I18n__title_pt-br.content = "test"'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:2242: $this->assertEquals(' WHERE `I18n__title_pt-br`.`content` = "test"', $result); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2243- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2244- $result = $this->Dbo->conditions('Model.field=NOW()-3600'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:2245: $this->assertEquals(' WHERE `Model`.`field`=NOW()-3600', $result); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2246- ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2516- $result = $this->Dbo->conditions(array('TestModel.field =' => 'gribe$@()lu')); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:2517: $expected = " WHERE `TestModel`.`field` = 'gribe$@()lu'"; cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-2518- $this->assertEquals($expected, $result); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3443- $this->Dbo->expects($this->at(1))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3444: ->with('SELECT COUNT(`TestModel`.`id`) AS count FROM ' . $modelTable . ' AS `TestModel` WHERE `TestModel`.`name` = \'harry\''); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3445- $this->Dbo->expects($this->at(2))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3446: ->with('SELECT COUNT(`TestModel`.`id`) AS count FROM ' . $modelTable . ' AS `TestModel` WHERE 1 = 1'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3447- ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3465- 'comment_count' => 'SELECT COUNT(*) FROM ' . $commentsTable . cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3466: ' WHERE Article.id = ' . $commentsTable . '.article_id' cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3467- ); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3478- '(1 + 1) AS `Article__two`', cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3479: "(SELECT COUNT(*) FROM $commentsTable WHERE `Article`.`id` = `$commentsTable`.`article_id`) AS `Article__comment_count`" cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3480- ); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3509- '(1 + 1) AS `Article__two`', cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3510: "(SELECT COUNT(*) FROM $commentsTable WHERE `Article`.`id` = `$commentsTable`.`article_id`) AS `Article__comment_count`" cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3511- ); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3518- '(1 + 1) AS `Article__two`', cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3519: "(SELECT COUNT(*) FROM $commentsTable WHERE `Article`.`id` = `$commentsTable`.`article_id`) AS `Article__comment_count`" cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3520- ); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3565- 'comment_count' => 'SELECT COUNT(*) FROM ' . $commentsTable . cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3566: ' WHERE Article.id = ' . $commentsTable . '.article_id' cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3567- ); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3578- $conditions = array('comment_count >' => 5); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3579: $expected = "(SELECT COUNT(*) FROM $commentsTable WHERE `Article`.`id` = `$commentsTable`.`article_id`) > 5"; cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3580- $result = $this->Dbo->conditions($conditions, true, false, $Article); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3623- 'comment_count' => 'SELECT COUNT(*) FROM ' . $commentsTable . cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3624: ' WHERE Article.id = ' . $commentsTable . '.article_id' cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3625- ); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3631- $result = $this->Dbo->calculate($Article, 'max', array('comment_count')); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3632: $expected = "MAX(SELECT COUNT(*) FROM $commentsTable WHERE `Article`.`id` = `$commentsTable`.`article_id`) AS `comment_count`"; cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3633- $this->assertEquals($expected, $result); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3728- 'comment_count' => 'SELECT COUNT(*) FROM ' . $this->Dbo->fullTableName('comments') . cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:3729: ' WHERE Article.id = ' . $this->Dbo->fullTableName('comments') . '.article_id' cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-3730- ); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4028- $this->Dbo->expects($this->at(0))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4029: ->with("UPDATE `$db`.`articles` SET `field1` = 'value1' WHERE 1 = 1"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4030- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4031- $this->Dbo->expects($this->at(1))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4032: ->with("UPDATE `$db`.`articles` AS `Article` LEFT JOIN `$db`.`users` AS `User` ON " . cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4033- "(`Article`.`user_id` = `User`.`id`)" . ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4036- $this->Dbo->expects($this->at(2))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4037: ->with("UPDATE `$db`.`articles` AS `Article` LEFT JOIN `$db`.`users` AS `User` ON " . cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4038- "(`Article`.`user_id` = `User`.`id`)" . ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4060- $this->Dbo->expects($this->at(0))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4061: ->with("DELETE FROM `$db`.`articles` WHERE 1 = 1"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4062- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4063- $this->Dbo->expects($this->at(1))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4064: ->with("DELETE `Article` FROM `$db`.`articles` AS `Article` LEFT JOIN `$db`.`users` AS `User` " . cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4065- "ON (`Article`.`user_id` = `User`.`id`)" . ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4068- $this->Dbo->expects($this->at(2))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4069: ->with("DELETE `Article` FROM `$db`.`articles` AS `Article` LEFT JOIN `$db`.`users` AS `User` " . cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4070- "ON (`Article`.`user_id` = `User`.`id`)" . ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4091- $this->Dbo->expects($this->at(0))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4092: ->with("DELETE `Article` FROM `$db`.`articles` AS `Article` WHERE `id` = 1"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4093- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4094- $this->Dbo->expects($this->at(1))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4095: ->with("DELETE `Article` FROM `$db`.`articles` AS `Article` WHERE NOT (`id` = 1)"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4096- ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4118- $this->Dbo->expects($this->at(0))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4119: ->with("TRUNCATE TABLE `$schema`.`articles`"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4120- $this->Dbo->truncate($Article); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4122- $this->Dbo->expects($this->at(0))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4123: ->with("TRUNCATE TABLE `$schema`.`articles`"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4124- $this->Dbo->truncate('articles'); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4129- $this->Dbo->expects($this->at(0))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4130: ->with("TRUNCATE TABLE `$schema`.`tbl_articles`"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4131- $this->Dbo->truncate($Article); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4133- $this->Dbo->expects($this->at(0))->method('execute') cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php:4134: ->with("TRUNCATE TABLE `$schema`.`tbl_articles`"); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php-4135- $this->Dbo->truncate('articles'); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-214- $result = $this->testDb->conditions(true); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:215: $this->assertEquals(' WHERE 1 = 1', $result, 'true conditions failed %s'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-216- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-217- $result = $this->testDb->conditions(false); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:218: $this->assertEquals(' WHERE 0 = 1', $result, 'false conditions failed %s'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-219- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-220- $result = $this->testDb->conditions(null); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:221: $this->assertEquals(' WHERE 1 = 1', $result, 'null conditions failed %s'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-222- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-223- $result = $this->testDb->conditions(array()); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:224: $this->assertEquals(' WHERE 1 = 1', $result, 'array() conditions failed %s'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-225- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-226- $result = $this->testDb->conditions(''); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:227: $this->assertEquals(' WHERE 1 = 1', $result, '"" conditions failed %s'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-228- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-229- $result = $this->testDb->conditions(' ', '" " conditions failed %s'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:230: $this->assertEquals(' WHERE 1 = 1', $result); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-231- } ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-239- $result = $this->testDb->conditions(array('OR' => array())); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:240: $this->assertEquals(' WHERE 1 = 1', $result, 'empty conditions failed'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-241- cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-242- $result = $this->testDb->conditions(array('OR' => array('OR' => array()))); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:243: $this->assertEquals(' WHERE 1 = 1', $result, 'nested empty conditions failed'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-244- } ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-253- $result = $this->testDb->conditions(array('Foo.bar->>\'fieldName\'' => 42)); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:254: $this->assertEquals(' WHERE `Foo`.`bar`->>\'fieldName\' = 42', $result, 'SQL JSON operator failed'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-255- $result = $this->testDb->conditions(array('Foo.bar->\'fieldName\'' => 42)); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:256: $this->assertEquals(' WHERE `Foo`.`bar`->\'fieldName\' = 42', $result, 'SQL JSON operator failed'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-257- ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-259- $result = $this->testDb->conditions(array('Foo.bar->>\'$.fieldName\'' => 42)); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:260: $this->assertEquals(' WHERE `Foo`.`bar`->>\'$.fieldName\' = 42', $result, 'SQL JSON operator failed'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-261- ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-263- $result = $this->testDb->conditions(array('bar->>\'$.fieldName\'' => 42)); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php:264: $this->assertEquals(' WHERE `bar`->>\'$.fieldName\' = 42', $result, 'SQL JSON operator failed'); cakephp-2.10.11/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php-265- } ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php-8889- $getUserNameFromDb = function ($cacheArgument) use ($model, $userTableName) { cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php:8890: $query = sprintf('SELECT u.user FROM %s u WHERE id=%d', $userTableName, $model->id); cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php-8891- $users = $model->query($query, $cacheArgument); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php-8916- $getUserNameFromDb = function ($cacheArgument) use ($model, $userTableName) { cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php:8917: $query = sprintf('SELECT u.user FROM %s u WHERE id=?', $userTableName); cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php-8918- $users = $model->query($query, array($model->id), $cacheArgument); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php-8942- $getUserNameFromDb = function () use ($model, $userTableName) { cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php:8943: $query = sprintf('SELECT u.user FROM %s u WHERE id=%d', $userTableName, $model->id); cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php-8944- $users = $model->query($query); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php-8967- $getUserNameFromDb = function () use ($model, $userTableName) { cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php:8968: $query = sprintf('SELECT u.user FROM %s u WHERE id=?', $userTableName); cakephp-2.10.11/lib/Cake/Test/Case/Model/ModelReadTest.php-8969- $users = $model->query($query, array($model->id)); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Network/CakeSocketTest.php-138- $this->assertEquals('127.0.0.1', $this->Socket->address()); cakephp-2.10.11/lib/Cake/Test/Case/Network/CakeSocketTest.php:139: $this->assertEquals(gethostbyaddr('127.0.0.1'), $this->Socket->host()); cakephp-2.10.11/lib/Cake/Test/Case/Network/CakeSocketTest.php-140- $this->assertEquals(null, $this->Socket->lastError()); ############################################## cakephp-2.10.11/lib/Cake/Test/Case/Network/CakeSocketTest.php-145- $this->assertEquals('127.0.0.1', $this->Socket->address()); cakephp-2.10.11/lib/Cake/Test/Case/Network/CakeSocketTest.php:146: $this->assertEquals(gethostbyaddr('127.0.0.1'), $this->Socket->host()); cakephp-2.10.11/lib/Cake/Test/Case/Network/CakeSocketTest.php-147- $this->assertEquals(null, $this->Socket->lastError()); ############################################## cakephp-2.10.11/lib/Cake/TestSuite/ControllerTestCase.php-210- * data will be used a GET params. If the `method` is POST, it will be used cakephp-2.10.11/lib/Cake/TestSuite/ControllerTestCase.php:211: * as POST data. By setting `$options['data']` to a string, you can simulate XML or JSON cakephp-2.10.11/lib/Cake/TestSuite/ControllerTestCase.php-212- * payloads to your controllers allowing you to test REST webservices. ############################################## cakephp-2.10.11/lib/Cake/TestSuite/ControllerTestCase.php-318-/** cakephp-2.10.11/lib/Cake/TestSuite/ControllerTestCase.php:319: * Generates a mocked controller and mocks any classes passed to `$mocks`. By cakephp-2.10.11/lib/Cake/TestSuite/ControllerTestCase.php-320- * default, `_stop()` is stubbed as is sending the response headers, so to not ############################################## cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php-133- * @param mixed $default Value to be returned when invalid size was used, for example 'Unknown type' cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php:134: * @return mixed Number of bytes as integer on success, `$default` on failure if not false cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php-135- * @throws CakeException On invalid Unit type. ############################################## cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php-382- * cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php:383: * ``` $number->addFormat('NOK', array('before' => 'Kr. ')); ``` cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php-384- * ############################################## cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php-386- * cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php:387: * ``` $number->currency($value, 'NOK'); ``` cakephp-2.10.11/lib/Cake/Utility/CakeNumber.php-388- * ############################################## cakephp-2.10.11/lib/Cake/Utility/CakeTime.php-43- * The format to use when formatting a time using `CakeTime::timeAgoInWords()` cakephp-2.10.11/lib/Cake/Utility/CakeTime.php:44: * and the difference is more than `CakeTime::$wordEnd` cakephp-2.10.11/lib/Cake/Utility/CakeTime.php-45- * ############################################## cakephp-2.10.11/lib/Cake/Utility/CakeTime.php-61- * The format to use when formatting a time using `CakeTime::timeAgoInWords()` cakephp-2.10.11/lib/Cake/Utility/CakeTime.php:62: * and the difference is less than `CakeTime::$wordEnd` cakephp-2.10.11/lib/Cake/Utility/CakeTime.php-63- * ############################################## cakephp-2.10.11/lib/Cake/Utility/CakeTime.php-358- * @param string|DateTimeZone $timezone Timezone string or DateTimeZone object cakephp-2.10.11/lib/Cake/Utility/CakeTime.php:359: * @param string $format The format to use. If null, `CakeTime::$niceFormat` is used cakephp-2.10.11/lib/Cake/Utility/CakeTime.php-360- * @return string Formatted date string ############################################## cakephp-2.10.11/lib/Cake/Utility/ClassRegistry.php-77- * cakephp-2.10.11/lib/Cake/Utility/ClassRegistry.php:78: * Model Classes can accept optional ```array('id' => $id, 'table' => $table, 'ds' => $ds, 'alias' => $alias);``` cakephp-2.10.11/lib/Cake/Utility/ClassRegistry.php-79- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Debugger.php-630- * cakephp-2.10.11/lib/Cake/Utility/Debugger.php:631: * `Debugger::addFormat('custom', $data);` cakephp-2.10.11/lib/Cake/Utility/Debugger.php-632- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Debugger.php-654- * cakephp-2.10.11/lib/Cake/Utility/Debugger.php:655: * `Debugger::addFormat('custom', array('callback' => array($foo, 'outputError'));` cakephp-2.10.11/lib/Cake/Utility/Debugger.php-656- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Folder.php-404- * @param string $path The absolute path to check that the current `pwd()` resides within. cakephp-2.10.11/lib/Cake/Utility/Folder.php:405: * @param bool $reverse Reverse the search, check if the given `$path` resides within the current `pwd()`. cakephp-2.10.11/lib/Cake/Utility/Folder.php-406- * @return bool cakephp-2.10.11/lib/Cake/Utility/Folder.php:407: * @throws \InvalidArgumentException When the given `$path` argument is not an absolute path. cakephp-2.10.11/lib/Cake/Utility/Folder.php-408- * @link https://book.cakephp.org/2.0/en/core-utility-libraries/file-folder.html#Folder::inPath ############################################## cakephp-2.10.11/lib/Cake/Utility/Hash.php-89- * cakephp-2.10.11/lib/Cake/Utility/Hash.php:90: * Given a set of User array data, from a `$User->find('all')` call: cakephp-2.10.11/lib/Cake/Utility/Hash.php-91- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Hash.php-380-/** cakephp-2.10.11/lib/Cake/Utility/Hash.php:381: * Creates an associative array using `$keyPath` as the path to build its keys, and optionally cakephp-2.10.11/lib/Cake/Utility/Hash.php:382: * `$valuePath` as path to get the values. If `$valuePath` is not specified, all values will be initialized cakephp-2.10.11/lib/Cake/Utility/Hash.php-383- * to null (useful for Hash::merge). You can optionally group the values by what is obtained when cakephp-2.10.11/lib/Cake/Utility/Hash.php:384: * following the path specified in `$groupPath`. cakephp-2.10.11/lib/Cake/Utility/Hash.php-385- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Hash.php-448-/** cakephp-2.10.11/lib/Cake/Utility/Hash.php:449: * Returns a formatted series of values extracted from `$data`, using cakephp-2.10.11/lib/Cake/Utility/Hash.php:450: * `$format` as the format and `$paths` as the values to extract. cakephp-2.10.11/lib/Cake/Utility/Hash.php-451- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Hash.php-457- * cakephp-2.10.11/lib/Cake/Utility/Hash.php:458: * The `$format` string can use any format options that `vsprintf()` and `sprintf()` do. cakephp-2.10.11/lib/Cake/Utility/Hash.php-459- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Hash.php-462- * @param string $format Format string into which values will be inserted, see sprintf() cakephp-2.10.11/lib/Cake/Utility/Hash.php:463: * @return array An array of strings extracted from `$path` and formatted with `$format` cakephp-2.10.11/lib/Cake/Utility/Hash.php-464- * @link https://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::format ############################################## cakephp-2.10.11/lib/Cake/Utility/Hash.php-793-/** cakephp-2.10.11/lib/Cake/Utility/Hash.php:794: * Reduce a set of extracted values using `$function`. cakephp-2.10.11/lib/Cake/Utility/Hash.php-795- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Hash.php-807-/** cakephp-2.10.11/lib/Cake/Utility/Hash.php:808: * Apply a callback to a set of extracted values using `$function`. cakephp-2.10.11/lib/Cake/Utility/Hash.php-809- * The function will get the extracted values as the first argument. ############################################## cakephp-2.10.11/lib/Cake/Utility/Hash.php-1070- * - `idPath` The path to a key that identifies each entry. Should be cakephp-2.10.11/lib/Cake/Utility/Hash.php:1071: * compatible with Hash::extract(). Defaults to `{n}.$alias.id` cakephp-2.10.11/lib/Cake/Utility/Hash.php-1072- * - `parentPath` The path to a key that identifies the parent of each entry. cakephp-2.10.11/lib/Cake/Utility/Hash.php:1073: * Should be compatible with Hash::extract(). Defaults to `{n}.$alias.parent_id` cakephp-2.10.11/lib/Cake/Utility/Hash.php-1074- * - `root` The id of the desired top-most result. ############################################## cakephp-2.10.11/lib/Cake/Utility/ObjectCollection.php-20- * All core subclasses of ObjectCollection by convention loaded objects are stored cakephp-2.10.11/lib/Cake/Utility/ObjectCollection.php:21: * in `$this->_loaded`. Enabled objects are stored in `$this->_enabled`. In addition, cakephp-2.10.11/lib/Cake/Utility/ObjectCollection.php-22- * they all support an `enabled` option that controls the enabled/disabled state of the object ############################################## cakephp-2.10.11/lib/Cake/Utility/ObjectCollection.php-53- * cakephp-2.10.11/lib/Cake/Utility/ObjectCollection.php:54: * Implementations of this class support a `$options['enabled']` flag which enables/disables cakephp-2.10.11/lib/Cake/Utility/ObjectCollection.php-55- * a loaded object. ############################################## cakephp-2.10.11/lib/Cake/Utility/Sanitize.php-182- * cakephp-2.10.11/lib/Cake/Utility/Sanitize.php:183: * Ex.`$clean = Sanitize::stripTags($dirty, 'b', 'p', 'div');` cakephp-2.10.11/lib/Cake/Utility/Sanitize.php-184- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Validation.php-466- if ($regex === null) { cakephp-2.10.11/lib/Cake/Utility/Validation.php:467: $regex = '/^[\p{L}0-9!#$%&\'*+\/=?^_`{|}~-]+(?:\.[\p{L}0-9!#$%&\'*+\/=?^_`{|}~-]+)*@' . static::$_pattern['hostname'] . '$/ui'; cakephp-2.10.11/lib/Cake/Utility/Validation.php-468- } ############################################## cakephp-2.10.11/lib/Cake/Utility/Xml.php-38- * cakephp-2.10.11/lib/Cake/Utility/Xml.php:39: * `$xml = Xml::build('<example>text</example>');` cakephp-2.10.11/lib/Cake/Utility/Xml.php-40- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Xml.php-42- * cakephp-2.10.11/lib/Cake/Utility/Xml.php:43: * `$xml = Xml::build('<example>text</example>', array('return' => 'domdocument'));` cakephp-2.10.11/lib/Cake/Utility/Xml.php-44- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Xml.php-46- * cakephp-2.10.11/lib/Cake/Utility/Xml.php:47: * `$xml = Xml::build('/path/to/an/xml/file.xml');` cakephp-2.10.11/lib/Cake/Utility/Xml.php-48- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Xml.php-50- * cakephp-2.10.11/lib/Cake/Utility/Xml.php:51: * `$xml = Xml::build('http://example.com/example.xml');` cakephp-2.10.11/lib/Cake/Utility/Xml.php-52- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Xml.php-189- * cakephp-2.10.11/lib/Cake/Utility/Xml.php:190: * Calling `Xml::fromArray($value, 'tags');` Will generate: cakephp-2.10.11/lib/Cake/Utility/Xml.php-191- * ############################################## cakephp-2.10.11/lib/Cake/Utility/Xml.php-193- * cakephp-2.10.11/lib/Cake/Utility/Xml.php:194: * And calling `Xml::fromArray($value, 'attributes');` Will generate: cakephp-2.10.11/lib/Cake/Utility/Xml.php-195- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper.php-467- * Returns a space-delimited string with items of the $options array. If a key cakephp-2.10.11/lib/Cake/View/Helper.php:468: * of $options array happens to be one of those listed in `Helper::$_minimizedAttributes` cakephp-2.10.11/lib/Cake/View/Helper.php-469- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-195- * cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:196: * `$this->_introspectModel('Post', 'fields', 'title');` will return the schema information for title column cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-197- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-909-/** cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:910: * Generate a set of inputs for `$fields`. If $fields is null the fields of current model cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-911- * will be used. cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-912- * cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:913: * You can customize individual inputs through `$fields`. cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-914- * ``` ############################################## cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-919- * cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:920: * In addition to controller fields output, `$fields` can be used to control legend cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-921- * and fieldset rendering. cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:922: * `$this->Form->inputs('My legend');` Would generate an input set with a custom legend. cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:923: * Passing `fieldset` and `legend` key in `$fields` array has been deprecated since 2.3, cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:924: * for more fine grained control use the `fieldset` and `legend` keys in `$options` param. cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-925- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-1025- * See each field type method for more information. Any options that are part of cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:1026: * $attributes or $options for the different **type** methods can be included in `$options` for input().i cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-1027- * Additionally, any unknown keys that are not in the list below, or part of the selected type's options ############################################## cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-1696- * Missing method handler - implements various simple input types. Is used to create inputs cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:1697: * of various types. e.g. `$this->Form->text();` will create `<input type="text" />` while cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:1698: * `$this->Form->range();` will create `<input type="range" />` cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-1699- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-1701- * cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:1702: * `$this->Form->search('User.query', array('value' => 'test'));` cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-1703- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-1807- * Creates a `<button>` tag. The type attribute defaults to `type="submit"` cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:1808: * You can change it to a different value by using `$options['type']`. cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-1809- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-2587- * - `round` - Set to `up` or `down` if you want to force rounding in either direction. Defaults to null. cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php:2588: * - `value` | `default` The default value to be used by the input. A value in `$this->data` cakephp-2.10.11/lib/Cake/View/Helper/FormHelper.php-2589- * matching the field name will override this value. If no default is provided `time()` will be used. ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-232- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:233: * Append the meta tag to `$scripts_for_layout`: cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-234- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:235: * `$this->Html->meta('description', 'A great page', array('inline' => false));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-236- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-238- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:239: * `$this->Html->meta('description', 'A great page', array('block' => 'metaTags'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-240- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-243- * - `inline` Whether or not the link element should be output inline. Set to false to cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:244: * have the meta tag included in `$scripts_for_layout`, and appended to the 'meta' view block. cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-245- * - `block` Choose a custom block to append the meta tag to. Using this option ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-397- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:398: * `echo $this->Html->css('styles.css');` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-399- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-401- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:402: * `echo $this->Html->css(array('one.css', 'two.css'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-403- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:404: * Add the stylesheet to the `$scripts_for_layout` layout var: cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-405- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:406: * `$this->Html->css('styles.css', array('inline' => false));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-407- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-409- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:410: * `$this->Html->css('styles.css', array('block' => 'layoutCss'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-411- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-414- * - `inline` If set to false, the generated tag will be appended to the 'css' block, cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:415: * and included in the `$scripts_for_layout` layout variable. Defaults to true. cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-416- * - `once` Whether or not the css file should be checked for uniqueness. If true css ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-425- * @param string|array $path The name of a CSS style sheet or an array containing names of cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:426: * CSS stylesheets. If `$path` is prefixed with '/', the path will be relative to the webroot cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-427- * of your application. Otherwise, the path will be relative to your CSS path, usually webroot/css. ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-517- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:518: * `echo $this->Html->script('styles.js');` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-519- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-521- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:522: * `echo $this->Html->script(array('one.js', 'two.js'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-523- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:524: * Add the script file to the `$scripts_for_layout` layout var: cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-525- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:526: * `$this->Html->script('styles.js', array('inline' => false));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-527- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-529- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:530: * `$this->Html->script('styles.js', array('block' => 'bodyScript'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-531- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-533- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:534: * - `inline` Whether script should be output inline or into `$scripts_for_layout`. When set to false, cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:535: * the script tag will be appended to the 'script' view block as well as `$scripts_for_layout`. cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-536- * - `block` The name of the block you want the script appended to. Leave undefined to output inline. ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-596- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:597: * - `safe` (boolean) Whether or not the $script should be wrapped in `<![CDATA[ ]]>` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-598- * - `inline` (boolean) Whether or not the $script should be added to cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:599: * `$scripts_for_layout` / `script` block, or output inline. (Deprecated, use `block` instead) cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-600- * - `block` Which block you want this script block appended to. ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-605- * treated as HTML attributes. cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:606: * @return mixed string or null depending on the value of `$options['block']` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-607- * @link https://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::scriptBlock ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-635- * - `safe` Whether the code block should contain a CDATA cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:636: * - `inline` Should the generated script tag be output inline or in `$scripts_for_layout` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-637- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-649- * End a Buffered section of JavaScript capturing. cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:650: * Generates a script tag inline or in `$scripts_for_layout` depending on the settings cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-651- * used when the scriptBlock was started ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-696- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:697: * If `$startText` is an array, the accepted keys are: cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-698- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-701- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:702: * All other keys will be passed to HtmlHelper::link() as the `$options` parameter. cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-703- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-813- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:814: * `echo $this->Html->image('cake_icon.png', array('alt' => 'CakePHP'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-815- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-817- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:818: * `echo $this->Html->image('cake_icon.png', array('alt' => 'CakePHP', 'url' => 'https://cakephp.org'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-819- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-822- * - `url` If provided an image link will be generated and the link will point at cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:823: * `$options['url']`. cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-824- * - `fullBase` If true the src attribute will get a full address for the image file. ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1058- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:1059: * `echo $this->Html->media('audio.mp3', array('fullBase' => true));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1060- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1066- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:1067: * `echo $this->Html->media('video.mp4', array('text' => 'Fallback text'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1068- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1222- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:1223: * `$this->Html->loadConfig('tags.php');` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1224- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1235- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:1236: * `$this->Html->loadConfig(array('tags.ini', 'ini'));` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1237- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1241- * cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php:1242: * `$this->Html->loadConfig('tags.php', APP . 'Lib' . DS);` cakephp-2.10.11/lib/Cake/View/Helper/HtmlHelper.php-1243- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/JqueryEngineHelper.php-187- * Create a domReady event. For jQuery. This method does not cakephp-2.10.11/lib/Cake/View/Helper/JqueryEngineHelper.php:188: * bind a 'traditional event' as `$(document).bind('ready', fn)` cakephp-2.10.11/lib/Cake/View/Helper/JqueryEngineHelper.php:189: * Works in an entirely different fashion than `$(document).ready()` cakephp-2.10.11/lib/Cake/View/Helper/JqueryEngineHelper.php-190- * The first will not run the function when eval()'d as part of a response cakephp-2.10.11/lib/Cake/View/Helper/JqueryEngineHelper.php-191- * The second will. Because of the way that ajax pagination is done cakephp-2.10.11/lib/Cake/View/Helper/JqueryEngineHelper.php:192: * `$().ready()` is used. cakephp-2.10.11/lib/Cake/View/Helper/JqueryEngineHelper.php-193- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/JsBaseEngineHelper.php-365- * - `evalScripts` - Whether or not <script> tags should be eval'ed. cakephp-2.10.11/lib/Cake/View/Helper/JsBaseEngineHelper.php:366: * - `dataExpression` - Should the `data` key be treated as a callback. Useful for supplying `$options['data']` as cakephp-2.10.11/lib/Cake/View/Helper/JsBaseEngineHelper.php-367- * another JavaScript expression. ############################################## cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php-106- * cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php:107: * e.g. `$js->get('#foo')->effect('fadeIn', array('speed' => 'slow'), true);` cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php-108- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php-111- * cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php:112: * e.g. `$js->get('#foo')->event('click', $functionContents, array('buffer' => true));` cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php-113- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php-323- * output when the buffer is fetched with `JsHelper::getBuffer()` or `JsHelper::writeBuffer()` cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php:324: * The Javascript variable used to output set variables can be controlled with `JsHelper::$setVariable` cakephp-2.10.11/lib/Cake/View/Helper/JsHelper.php-325- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/NumberHelper.php-154- * cakephp-2.10.11/lib/Cake/View/Helper/NumberHelper.php:155: * ``` $this->Number->addFormat('NOK', array('before' => 'Kr. ')); ``` cakephp-2.10.11/lib/Cake/View/Helper/NumberHelper.php-156- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/NumberHelper.php-158- * cakephp-2.10.11/lib/Cake/View/Helper/NumberHelper.php:159: * ``` $this->Number->currency($value, 'NOK'); ``` cakephp-2.10.11/lib/Cake/View/Helper/NumberHelper.php-160- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-80- * cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php:81: * Use `public $helpers = array('Paginator' => array('ajax' => 'CustomHelper'));` to set a custom Helper cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-82- * or choose a non JsHelper Helper. If you want to use a specific library with JsHelper declare JsHelper and its ############################################## cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-714- * cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php:715: * `$this->Paginator->numbers(array('first' => 2, 'last' => 2));` cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-716- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-861- * cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php:862: * `echo $this->Paginator->first('< first');` cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-863- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-865- * cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php:866: * `echo $this->Paginator->first(3);` cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-867- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-926- * cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php:927: * `echo $this->Paginator->last('last >');` cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-928- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-930- * cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php:931: * `echo $this->Paginator->last(3);` cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-932- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-993- * cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php:994: * `echo $this->Paginator->meta();` cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-995- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-997- * cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php:998: * `$this->Paginator->meta(array('block' => true));` cakephp-2.10.11/lib/Cake/View/Helper/PaginatorHelper.php-999- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php-34- * cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php:35: * In your view: `$this->Session->read('Controller.sessKey');` cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php-36- * Calling the method without a param will return all session vars ############################################## cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php-48- * cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php:49: * In your view: `$this->Session->consume('Controller.sessKey');` cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php-50- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php-60- * cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php:61: * In your view: `$this->Session->check('Controller.sessKey');` cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php-62- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php-73- * cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php:74: * In your view: `$this->Session->error();` cakephp-2.10.11/lib/Cake/View/Helper/SessionHelper.php-75- * ############################################## cakephp-2.10.11/lib/Cake/View/Helper/TimeHelper.php-183- * @param string|DateTimeZone $timezone User's timezone string or DateTimeZone object cakephp-2.10.11/lib/Cake/View/Helper/TimeHelper.php:184: * @param string $format The format to use. If null, `CakeTime::$niceFormat` is used cakephp-2.10.11/lib/Cake/View/Helper/TimeHelper.php-185- * @return string Formatted date string ############################################## cakephp-2.10.11/lib/Cake/View/HelperCollection.php-95- * Loads/constructs a helper. Will return the instance in the registry if it already exists. cakephp-2.10.11/lib/Cake/View/HelperCollection.php:96: * By setting `$enable` to false you can disable callbacks for a helper. Alternatively you cakephp-2.10.11/lib/Cake/View/HelperCollection.php:97: * can set `$settings['enabled'] = false` to disable callbacks. This alias is provided so that when cakephp-2.10.11/lib/Cake/View/HelperCollection.php-98- * declaring $helpers arrays you can disable callbacks on helpers. ############################################## cakephp-2.10.11/lib/Cake/View/JsonView.php-26- * cakephp-2.10.11/lib/Cake/View/JsonView.php:27: * `$this->set(array('posts' => $posts, '_serialize' => 'posts'));` cakephp-2.10.11/lib/Cake/View/JsonView.php-28- * cakephp-2.10.11/lib/Cake/View/JsonView.php:29: * When the view is rendered, the `$posts` view variable will be serialized cakephp-2.10.11/lib/Cake/View/JsonView.php-30- * into JSON. ############################################## cakephp-2.10.11/lib/Cake/View/Scaffolds/index.ctp-34- $isKey = true; cakephp-2.10.11/lib/Cake/View/Scaffolds/index.ctp:35: echo '<td>' . $this->Html->link(${$singularVar}[$_alias][$_details['displayField']], array('controller' => $_details['controller'], 'action' => 'view', ${$singularVar}[$_alias][$_details['primaryKey']])) . '</td>'; cakephp-2.10.11/lib/Cake/View/Scaffolds/index.ctp-36- break; ############################################## cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp-92-<div class="related"> cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp:93: <h3><?php echo __d('cake', "Related %s", Inflector::humanize($_details['controller'])); ?></h3> cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp-94-<?php if (!empty(${$singularVar}[$_alias])): ?> ############################################## cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp-99- echo "\t\t<dt>" . Inflector::humanize($_field) . "</dt>\n"; cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp:100: echo "\t\t<dd>\n\t" . ${$singularVar}[$_alias][$_field] . "\n </dd>\n"; cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp-101- endforeach; ############################################## cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp-132-<div class="related"> cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp:133: <h3><?php echo __d('cake', "Related %s", Inflector::humanize($_details['controller'])); ?></h3> cakephp-2.10.11/lib/Cake/View/Scaffolds/view.ctp-134-<?php if (!empty(${$singularVar}[$_alias])): ?> ############################################## cakephp-2.10.11/lib/Cake/View/View.php-33- * and then inserted into the selected layout. This also means you can pass data from the view to the cakephp-2.10.11/lib/Cake/View/View.php:34: * layout using `$this->set()` cakephp-2.10.11/lib/Cake/View/View.php-35- * ############################################## cakephp-2.10.11/lib/Cake/View/View.php-37- * view files that can provide unique HTML and static assets. If theme views are not found for the cakephp-2.10.11/lib/Cake/View/View.php:38: * current view the default app view files will be used. You can set `$this->theme = 'mytheme'` cakephp-2.10.11/lib/Cake/View/View.php-39- * in your Controller to use the Themes. cakephp-2.10.11/lib/Cake/View/View.php-40- * cakephp-2.10.11/lib/Cake/View/View.php:41: * Example of theme path with `$this->theme = 'SuperHot';` Would be `app/View/Themed/SuperHot/Posts` cakephp-2.10.11/lib/Cake/View/View.php-42- * ############################################## cakephp-2.10.11/lib/Cake/View/View.php-152- * Sub-directory for this view file. This is often used for extension based routing. cakephp-2.10.11/lib/Cake/View/View.php:153: * Eg. With an `xml` extension, $subDir would be `xml/` cakephp-2.10.11/lib/Cake/View/View.php-154- * ############################################## cakephp-2.10.11/lib/Cake/View/View.php-451- * cakephp-2.10.11/lib/Cake/View/View.php:452: * If View::$autoRender is false and no `$layout` is provided, the view will be returned bare. cakephp-2.10.11/lib/Cake/View/View.php-453- * ############################################## cakephp-2.10.11/lib/Cake/View/View.php-497- * cakephp-2.10.11/lib/Cake/View/View.php:498: * - `$scripts_for_layout` is deprecated and will be removed in CakePHP 3.0. cakephp-2.10.11/lib/Cake/View/View.php-499- * Use the block features instead. `meta`, `css` and `script` will be populated cakephp-2.10.11/lib/Cake/View/View.php-500- * by the matching methods on HtmlHelper. cakephp-2.10.11/lib/Cake/View/View.php:501: * - `$title_for_layout` is deprecated and will be removed in CakePHP 3.0. cakephp-2.10.11/lib/Cake/View/View.php-502- * Use the `title` block instead. cakephp-2.10.11/lib/Cake/View/View.php:503: * - `$content_for_layout` is deprecated and will be removed in CakePHP 3.0. cakephp-2.10.11/lib/Cake/View/View.php-504- * Use the `content` block instead. ############################################## cakephp-2.10.11/lib/Cake/View/XmlView.php-28- * cakephp-2.10.11/lib/Cake/View/XmlView.php:29: * `$this->set(array('posts' => $posts, '_serialize' => 'posts'));` cakephp-2.10.11/lib/Cake/View/XmlView.php-30- * cakephp-2.10.11/lib/Cake/View/XmlView.php:31: * When the view is rendered, the `$posts` view variable will be serialized cakephp-2.10.11/lib/Cake/View/XmlView.php-32- * into XML. ############################################## cakephp-2.10.11/lib/Cake/basics.php-241- * cakephp-2.10.11/lib/Cake/basics.php:242: * Commonly used like `list($plugin, $name) = pluginSplit($name);` cakephp-2.10.11/lib/Cake/basics.php-243- *