mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removed the @access and @static.
This commit is contained in:
parent
db80fe27e1
commit
9bc3e567c1
276 changed files with 0 additions and 2712 deletions
|
@ -470,8 +470,6 @@ class Cache {
|
||||||
* @param string $name Name of the configuration to get settings for. Defaults to 'default'
|
* @param string $name Name of the configuration to get settings for. Defaults to 'default'
|
||||||
* @return array list of settings for this engine
|
* @return array list of settings for this engine
|
||||||
* @see Cache::config()
|
* @see Cache::config()
|
||||||
* @access public
|
|
||||||
* @static
|
|
||||||
*/
|
*/
|
||||||
public static function settings($name = 'default') {
|
public static function settings($name = 'default') {
|
||||||
if (!empty(self::$_engines[$name])) {
|
if (!empty(self::$_engines[$name])) {
|
||||||
|
@ -492,7 +490,6 @@ abstract class CacheEngine {
|
||||||
* Settings of current engine instance
|
* Settings of current engine instance
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $settings = array();
|
public $settings = array();
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ class FileEngine extends CacheEngine {
|
||||||
* Instance of SplFileObject class
|
* Instance of SplFileObject class
|
||||||
*
|
*
|
||||||
* @var _File
|
* @var _File
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_File = null;
|
protected $_File = null;
|
||||||
|
|
||||||
|
@ -45,7 +44,6 @@ class FileEngine extends CacheEngine {
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @see CacheEngine::__defaults
|
* @see CacheEngine::__defaults
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $settings = array();
|
public $settings = array();
|
||||||
|
|
||||||
|
@ -53,7 +51,6 @@ class FileEngine extends CacheEngine {
|
||||||
* True unless FileEngine::__active(); fails
|
* True unless FileEngine::__active(); fails
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_init = true;
|
protected $_init = true;
|
||||||
|
|
||||||
|
@ -274,7 +271,6 @@ class FileEngine extends CacheEngine {
|
||||||
* @param string $key The key
|
* @param string $key The key
|
||||||
* @param boolean $createKey Whether the key should be created if it doesn't exists, or not
|
* @param boolean $createKey Whether the key should be created if it doesn't exists, or not
|
||||||
* @return boolean true if the cache key could be set, false otherwise
|
* @return boolean true if the cache key could be set, false otherwise
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected function _setKey($key, $createKey = false) {
|
protected function _setKey($key, $createKey = false) {
|
||||||
$path = new SplFileInfo($this->settings['path'] . $key);
|
$path = new SplFileInfo($this->settings['path'] . $key);
|
||||||
|
@ -295,7 +291,6 @@ class FileEngine extends CacheEngine {
|
||||||
* Determine is cache directory is writable
|
* Determine is cache directory is writable
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected function _active() {
|
protected function _active() {
|
||||||
$dir = new SplFileInfo($this->settings['path']);
|
$dir = new SplFileInfo($this->settings['path']);
|
||||||
|
|
|
@ -31,7 +31,6 @@ class MemcacheEngine extends CacheEngine {
|
||||||
* Memcache wrapper.
|
* Memcache wrapper.
|
||||||
*
|
*
|
||||||
* @var Memcache
|
* @var Memcache
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected $_Memcache = null;
|
protected $_Memcache = null;
|
||||||
|
|
||||||
|
@ -43,7 +42,6 @@ class MemcacheEngine extends CacheEngine {
|
||||||
* - compress = boolean, default => false
|
* - compress = boolean, default => false
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $settings = array();
|
public $settings = array();
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ class XcacheEngine extends CacheEngine {
|
||||||
* - PHP_AUTH_PW = xcache.admin.password, default cake
|
* - PHP_AUTH_PW = xcache.admin.password, default cake
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $settings = array();
|
public $settings = array();
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@ class BakeTask extends Shell {
|
||||||
* Name of plugin
|
* Name of plugin
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $plugin = null;
|
public $plugin = null;
|
||||||
|
|
||||||
|
@ -34,7 +33,6 @@ class BakeTask extends Shell {
|
||||||
* The db connection being used for baking
|
* The db connection being used for baking
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $connection = null;
|
public $connection = null;
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,6 @@ class Shell extends Object {
|
||||||
* If true, the script will ask for permission to perform actions.
|
* If true, the script will ask for permission to perform actions.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $interactive = true;
|
public $interactive = true;
|
||||||
|
|
||||||
|
@ -56,7 +55,6 @@ class Shell extends Object {
|
||||||
* Contains command switches parsed from the command line.
|
* Contains command switches parsed from the command line.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $params = array();
|
public $params = array();
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ class PagesController extends AppController {
|
||||||
* Controller name
|
* Controller name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Pages';
|
public $name = 'Pages';
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class PagesController extends AppController {
|
||||||
* Default helper
|
* Default helper
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $helpers = array('Html');
|
public $helpers = array('Html');
|
||||||
|
|
||||||
|
@ -48,7 +46,6 @@ class PagesController extends AppController {
|
||||||
* This controller does not use a model
|
* This controller does not use a model
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array();
|
public $uses = array();
|
||||||
|
|
||||||
|
@ -56,7 +53,6 @@ class PagesController extends AppController {
|
||||||
* Displays a view
|
* Displays a view
|
||||||
*
|
*
|
||||||
* @param mixed What page to display
|
* @param mixed What page to display
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function display() {
|
public function display() {
|
||||||
$path = func_get_args();
|
$path = func_get_args();
|
||||||
|
|
|
@ -37,7 +37,6 @@ class AclComponent extends Component {
|
||||||
* Instance of an ACL class
|
* Instance of an ACL class
|
||||||
*
|
*
|
||||||
* @var object
|
* @var object
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_Instance = null;
|
protected $_Instance = null;
|
||||||
|
|
||||||
|
@ -528,7 +527,6 @@ class IniAcl extends Object implements AclInterface {
|
||||||
* Array with configuration, parsed from ini file
|
* Array with configuration, parsed from ini file
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $config = null;
|
public $config = null;
|
||||||
|
|
||||||
|
|
|
@ -687,7 +687,6 @@ class AuthComponent extends Component {
|
||||||
* Check whether or not the current user has data in the session, and is considered logged in.
|
* Check whether or not the current user has data in the session, and is considered logged in.
|
||||||
*
|
*
|
||||||
* @return boolean true if the user is logged in, false otherwise
|
* @return boolean true if the user is logged in, false otherwise
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function loggedIn() {
|
public function loggedIn() {
|
||||||
return $this->user() != array();
|
return $this->user() != array();
|
||||||
|
|
|
@ -38,7 +38,6 @@ class CookieComponent extends Component {
|
||||||
* $this->Cookie->name = 'CookieName';
|
* $this->Cookie->name = 'CookieName';
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'CakeCookie';
|
public $name = 'CakeCookie';
|
||||||
|
|
||||||
|
@ -51,7 +50,6 @@ class CookieComponent extends Component {
|
||||||
* $this->Cookie->time = '5 Days';
|
* $this->Cookie->time = '5 Days';
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $time = null;
|
public $time = null;
|
||||||
|
|
||||||
|
@ -67,7 +65,6 @@ class CookieComponent extends Component {
|
||||||
* The default value is the entire domain.
|
* The default value is the entire domain.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $path = '/';
|
public $path = '/';
|
||||||
|
|
||||||
|
@ -83,7 +80,6 @@ class CookieComponent extends Component {
|
||||||
* Set $this->Cookie->domain = '.example.com'; in your controller beforeFilter
|
* Set $this->Cookie->domain = '.example.com'; in your controller beforeFilter
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $domain = '';
|
public $domain = '';
|
||||||
|
|
||||||
|
@ -97,7 +93,6 @@ class CookieComponent extends Component {
|
||||||
* When set to true, the cookie will only be set if a secure connection exists.
|
* When set to true, the cookie will only be set if a secure connection exists.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $secure = false;
|
public $secure = false;
|
||||||
|
|
||||||
|
@ -108,7 +103,6 @@ class CookieComponent extends Component {
|
||||||
* $this->Cookie->key = 'SomeRandomString';
|
* $this->Cookie->key = 'SomeRandomString';
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
public $key = null;
|
public $key = null;
|
||||||
|
|
||||||
|
@ -129,7 +123,6 @@ class CookieComponent extends Component {
|
||||||
*
|
*
|
||||||
* @see CookieComponent::read();
|
* @see CookieComponent::read();
|
||||||
* @var string
|
* @var string
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected $_values = array();
|
protected $_values = array();
|
||||||
|
|
||||||
|
@ -140,7 +133,6 @@ class CookieComponent extends Component {
|
||||||
* Defaults to Security::cipher();
|
* Defaults to Security::cipher();
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access private
|
|
||||||
* @todo add additional encryption methods
|
* @todo add additional encryption methods
|
||||||
*/
|
*/
|
||||||
protected $_type = 'cipher';
|
protected $_type = 'cipher';
|
||||||
|
@ -149,7 +141,6 @@ class CookieComponent extends Component {
|
||||||
* Used to reset cookie time if $expire is passed to CookieComponent::write()
|
* Used to reset cookie time if $expire is passed to CookieComponent::write()
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected $_reset = null;
|
protected $_reset = null;
|
||||||
|
|
||||||
|
@ -159,7 +150,6 @@ class CookieComponent extends Component {
|
||||||
* This is controlled by CookieComponent::time;
|
* This is controlled by CookieComponent::time;
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected $_expires = 0;
|
protected $_expires = 0;
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ class EmailComponent extends Component {
|
||||||
* Recipient of the email
|
* Recipient of the email
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $to = null;
|
public $to = null;
|
||||||
|
|
||||||
|
@ -45,7 +44,6 @@ class EmailComponent extends Component {
|
||||||
* The mail which the email is sent from
|
* The mail which the email is sent from
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $from = null;
|
public $from = null;
|
||||||
|
|
||||||
|
@ -53,7 +51,6 @@ class EmailComponent extends Component {
|
||||||
* The email the recipient will reply to
|
* The email the recipient will reply to
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $replyTo = null;
|
public $replyTo = null;
|
||||||
|
|
||||||
|
@ -61,7 +58,6 @@ class EmailComponent extends Component {
|
||||||
* The read receipt email
|
* The read receipt email
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $readReceipt = null;
|
public $readReceipt = null;
|
||||||
|
|
||||||
|
@ -72,7 +68,6 @@ class EmailComponent extends Component {
|
||||||
* - Unknown user
|
* - Unknown user
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $return = null;
|
public $return = null;
|
||||||
|
|
||||||
|
@ -83,7 +78,6 @@ class EmailComponent extends Component {
|
||||||
* The Recipient WILL be able to see this list
|
* The Recipient WILL be able to see this list
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cc = array();
|
public $cc = array();
|
||||||
|
|
||||||
|
@ -94,7 +88,6 @@ class EmailComponent extends Component {
|
||||||
* The Recipient WILL NOT be able to see this list
|
* The Recipient WILL NOT be able to see this list
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $bcc = array();
|
public $bcc = array();
|
||||||
|
|
||||||
|
@ -111,7 +104,6 @@ class EmailComponent extends Component {
|
||||||
* The subject of the email
|
* The subject of the email
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $subject = null;
|
public $subject = null;
|
||||||
|
|
||||||
|
@ -120,7 +112,6 @@ class EmailComponent extends Component {
|
||||||
* Keys will be prefixed 'X-' as per RFC2822 Section 4.7.5
|
* Keys will be prefixed 'X-' as per RFC2822 Section 4.7.5
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $headers = array();
|
public $headers = array();
|
||||||
|
|
||||||
|
@ -130,7 +121,6 @@ class EmailComponent extends Component {
|
||||||
* These will NOT be used if you are using safemode and mail()
|
* These will NOT be used if you are using safemode and mail()
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $additionalParams = null;
|
public $additionalParams = null;
|
||||||
|
|
||||||
|
@ -138,7 +128,6 @@ class EmailComponent extends Component {
|
||||||
* Layout for the View
|
* Layout for the View
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $layout = 'default';
|
public $layout = 'default';
|
||||||
|
|
||||||
|
@ -146,7 +135,6 @@ class EmailComponent extends Component {
|
||||||
* Template for the view
|
* Template for the view
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $template = null;
|
public $template = null;
|
||||||
|
|
||||||
|
@ -158,7 +146,6 @@ class EmailComponent extends Component {
|
||||||
* (which leads to doubling CR if CRLF is used).
|
* (which leads to doubling CR if CRLF is used).
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $lineFeed = PHP_EOL;
|
public $lineFeed = PHP_EOL;
|
||||||
|
|
||||||
|
@ -171,7 +158,6 @@ class EmailComponent extends Component {
|
||||||
* - both
|
* - both
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $sendAs = 'text';
|
public $sendAs = 'text';
|
||||||
|
|
||||||
|
@ -184,7 +170,6 @@ class EmailComponent extends Component {
|
||||||
* - debug
|
* - debug
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $delivery = 'mail';
|
public $delivery = 'mail';
|
||||||
|
|
||||||
|
@ -192,7 +177,6 @@ class EmailComponent extends Component {
|
||||||
* charset the email is sent in
|
* charset the email is sent in
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $charset = 'utf-8';
|
public $charset = 'utf-8';
|
||||||
|
|
||||||
|
@ -202,7 +186,6 @@ class EmailComponent extends Component {
|
||||||
* Can be both absolute and relative paths
|
* Can be both absolute and relative paths
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $attachments = array();
|
public $attachments = array();
|
||||||
|
|
||||||
|
@ -210,7 +193,6 @@ class EmailComponent extends Component {
|
||||||
* What mailer should EmailComponent identify itself as
|
* What mailer should EmailComponent identify itself as
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $xMailer = 'CakePHP Email Component';
|
public $xMailer = 'CakePHP Email Component';
|
||||||
|
|
||||||
|
@ -218,7 +200,6 @@ class EmailComponent extends Component {
|
||||||
* The list of paths to search if an attachment isnt absolute
|
* The list of paths to search if an attachment isnt absolute
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $filePaths = array();
|
public $filePaths = array();
|
||||||
|
|
||||||
|
@ -234,7 +215,6 @@ class EmailComponent extends Component {
|
||||||
* - client
|
* - client
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1290/Sending-A-Message-Using-SMTP
|
* @link http://book.cakephp.org/view/1290/Sending-A-Message-Using-SMTP
|
||||||
*/
|
*/
|
||||||
public $smtpOptions = array();
|
public $smtpOptions = array();
|
||||||
|
@ -243,7 +223,6 @@ class EmailComponent extends Component {
|
||||||
* Contains the rendered plain text message if one was sent.
|
* Contains the rendered plain text message if one was sent.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $textMessage = null;
|
public $textMessage = null;
|
||||||
|
|
||||||
|
@ -251,7 +230,6 @@ class EmailComponent extends Component {
|
||||||
* Contains the rendered HTML message if one was sent.
|
* Contains the rendered HTML message if one was sent.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $htmlMessage = null;
|
public $htmlMessage = null;
|
||||||
|
|
||||||
|
@ -265,7 +243,6 @@ class EmailComponent extends Component {
|
||||||
* could encounter delivery issues if you do not.
|
* could encounter delivery issues if you do not.
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $messageId = true;
|
public $messageId = true;
|
||||||
|
|
||||||
|
@ -429,7 +406,6 @@ class EmailComponent extends Component {
|
||||||
*
|
*
|
||||||
* @param string $attachment Attachment file name to find
|
* @param string $attachment Attachment file name to find
|
||||||
* @return string Path to located file
|
* @return string Path to located file
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
function _findFiles($attachment) {
|
function _findFiles($attachment) {
|
||||||
if (file_exists($attachment)) {
|
if (file_exists($attachment)) {
|
||||||
|
@ -449,7 +425,6 @@ class EmailComponent extends Component {
|
||||||
*
|
*
|
||||||
* @param string $subject String to encode
|
* @param string $subject String to encode
|
||||||
* @return string Encoded string
|
* @return string Encoded string
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
function _encode($subject) {
|
function _encode($subject) {
|
||||||
$subject = $this->_strip($subject);
|
$subject = $this->_strip($subject);
|
||||||
|
@ -496,7 +471,6 @@ class EmailComponent extends Component {
|
||||||
* @param string $value Value to strip
|
* @param string $value Value to strip
|
||||||
* @param boolean $message Set to true to indicate main message content
|
* @param boolean $message Set to true to indicate main message content
|
||||||
* @return string Stripped value
|
* @return string Stripped value
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
function _strip($value, $message = false) {
|
function _strip($value, $message = false) {
|
||||||
$search = '%0a|%0d|Content-(?:Type|Transfer-Encoding)\:';
|
$search = '%0a|%0d|Content-(?:Type|Transfer-Encoding)\:';
|
||||||
|
|
|
@ -174,7 +174,6 @@ class RequestHandlerComponent extends Component {
|
||||||
*
|
*
|
||||||
* @param string $xml
|
* @param string $xml
|
||||||
* @return array Xml array data
|
* @return array Xml array data
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
public function _convertXml($xml) {
|
public function _convertXml($xml) {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -33,7 +33,6 @@ class SecurityComponent extends Component {
|
||||||
* The controller method that will be called if this request is black-hole'd
|
* The controller method that will be called if this request is black-hole'd
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $blackHoleCallback = null;
|
public $blackHoleCallback = null;
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ class SecurityComponent extends Component {
|
||||||
* List of controller actions for which a POST request is required
|
* List of controller actions for which a POST request is required
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::requirePost()
|
* @see SecurityComponent::requirePost()
|
||||||
*/
|
*/
|
||||||
public $requirePost = array();
|
public $requirePost = array();
|
||||||
|
@ -50,7 +48,6 @@ class SecurityComponent extends Component {
|
||||||
* List of controller actions for which a GET request is required
|
* List of controller actions for which a GET request is required
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::requireGet()
|
* @see SecurityComponent::requireGet()
|
||||||
*/
|
*/
|
||||||
public $requireGet = array();
|
public $requireGet = array();
|
||||||
|
@ -59,7 +56,6 @@ class SecurityComponent extends Component {
|
||||||
* List of controller actions for which a PUT request is required
|
* List of controller actions for which a PUT request is required
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::requirePut()
|
* @see SecurityComponent::requirePut()
|
||||||
*/
|
*/
|
||||||
public $requirePut = array();
|
public $requirePut = array();
|
||||||
|
@ -68,7 +64,6 @@ class SecurityComponent extends Component {
|
||||||
* List of controller actions for which a DELETE request is required
|
* List of controller actions for which a DELETE request is required
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::requireDelete()
|
* @see SecurityComponent::requireDelete()
|
||||||
*/
|
*/
|
||||||
public $requireDelete = array();
|
public $requireDelete = array();
|
||||||
|
@ -77,7 +72,6 @@ class SecurityComponent extends Component {
|
||||||
* List of actions that require an SSL-secured connection
|
* List of actions that require an SSL-secured connection
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::requireSecure()
|
* @see SecurityComponent::requireSecure()
|
||||||
*/
|
*/
|
||||||
public $requireSecure = array();
|
public $requireSecure = array();
|
||||||
|
@ -86,7 +80,6 @@ class SecurityComponent extends Component {
|
||||||
* List of actions that require a valid authentication key
|
* List of actions that require a valid authentication key
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::requireAuth()
|
* @see SecurityComponent::requireAuth()
|
||||||
*/
|
*/
|
||||||
public $requireAuth = array();
|
public $requireAuth = array();
|
||||||
|
@ -96,7 +89,6 @@ class SecurityComponent extends Component {
|
||||||
* requests.
|
* requests.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::requireAuth()
|
* @see SecurityComponent::requireAuth()
|
||||||
*/
|
*/
|
||||||
public $allowedControllers = array();
|
public $allowedControllers = array();
|
||||||
|
@ -106,7 +98,6 @@ class SecurityComponent extends Component {
|
||||||
* requests.
|
* requests.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::requireAuth()
|
* @see SecurityComponent::requireAuth()
|
||||||
*/
|
*/
|
||||||
public $allowedActions = array();
|
public $allowedActions = array();
|
||||||
|
@ -135,7 +126,6 @@ class SecurityComponent extends Component {
|
||||||
* services, etc.
|
* services, etc.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $validatePost = true;
|
public $validatePost = true;
|
||||||
|
|
||||||
|
@ -171,7 +161,6 @@ class SecurityComponent extends Component {
|
||||||
* Other components used by the Security component
|
* Other components used by the Security component
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Session');
|
public $components = array('Session');
|
||||||
|
|
||||||
|
@ -291,7 +280,6 @@ class SecurityComponent extends Component {
|
||||||
* @param object $controller Instantiating controller
|
* @param object $controller Instantiating controller
|
||||||
* @param string $error Error method
|
* @param string $error Error method
|
||||||
* @return mixed If specified, controller blackHoleCallback's response, or no return otherwise
|
* @return mixed If specified, controller blackHoleCallback's response, or no return otherwise
|
||||||
* @access public
|
|
||||||
* @see SecurityComponent::$blackHoleCallback
|
* @see SecurityComponent::$blackHoleCallback
|
||||||
* @link http://book.cakephp.org/view/1307/blackHole-object-controller-string-error
|
* @link http://book.cakephp.org/view/1307/blackHole-object-controller-string-error
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -35,7 +35,6 @@ class PagesController extends AppController {
|
||||||
* Controller name
|
* Controller name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Pages';
|
public $name = 'Pages';
|
||||||
|
|
||||||
|
@ -43,7 +42,6 @@ class PagesController extends AppController {
|
||||||
* Default helper
|
* Default helper
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $helpers = array('Html', 'Session');
|
public $helpers = array('Html', 'Session');
|
||||||
|
|
||||||
|
@ -51,7 +49,6 @@ class PagesController extends AppController {
|
||||||
* This controller does not use a model
|
* This controller does not use a model
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array();
|
public $uses = array();
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,6 @@ class Scaffold {
|
||||||
* valid session.
|
* valid session.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
protected $_validSession = null;
|
protected $_validSession = null;
|
||||||
|
|
||||||
|
@ -86,7 +85,6 @@ class Scaffold {
|
||||||
* List of variables to collect from the associated controller
|
* List of variables to collect from the associated controller
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private $__passedVars = array(
|
private $__passedVars = array(
|
||||||
'layout', 'name', 'viewPath', 'request'
|
'layout', 'name', 'viewPath', 'request'
|
||||||
|
@ -96,7 +94,6 @@ class Scaffold {
|
||||||
* Title HTML element for current scaffolded view
|
* Title HTML element for current scaffolded view
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $scaffoldTitle = null;
|
public $scaffoldTitle = null;
|
||||||
|
|
||||||
|
|
|
@ -803,7 +803,6 @@ class App {
|
||||||
* @param string $name unique name for this map
|
* @param string $name unique name for this map
|
||||||
* @param string $plugin camelized if object is from a plugin, the name of the plugin
|
* @param string $plugin camelized if object is from a plugin, the name of the plugin
|
||||||
* @return void
|
* @return void
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private static function __map($file, $name, $plugin = null) {
|
private static function __map($file, $name, $plugin = null) {
|
||||||
if ($plugin) {
|
if ($plugin) {
|
||||||
|
@ -822,7 +821,6 @@ class App {
|
||||||
* @param string $name unique name
|
* @param string $name unique name
|
||||||
* @param string $plugin camelized if object is from a plugin, the name of the plugin
|
* @param string $plugin camelized if object is from a plugin, the name of the plugin
|
||||||
* @return mixed, file path if found, false otherwise
|
* @return mixed, file path if found, false otherwise
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private static function __mapped($name, $plugin = null) {
|
private static function __mapped($name, $plugin = null) {
|
||||||
if ($plugin) {
|
if ($plugin) {
|
||||||
|
|
|
@ -140,7 +140,6 @@ class ExceptionRenderer {
|
||||||
*
|
*
|
||||||
* @param Exception $exception The exception to get a controller for.
|
* @param Exception $exception The exception to get a controller for.
|
||||||
* @return Controller
|
* @return Controller
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected function _getController($exception) {
|
protected function _getController($exception) {
|
||||||
App::uses('CakeErrorController', 'Controller');
|
App::uses('CakeErrorController', 'Controller');
|
||||||
|
|
|
@ -29,7 +29,6 @@ class L10n {
|
||||||
* The language for current locale
|
* The language for current locale
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $language = 'English (United States)';
|
public $language = 'English (United States)';
|
||||||
|
|
||||||
|
@ -37,7 +36,6 @@ class L10n {
|
||||||
* Locale search paths
|
* Locale search paths
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $languagePath = array('eng');
|
public $languagePath = array('eng');
|
||||||
|
|
||||||
|
@ -45,7 +43,6 @@ class L10n {
|
||||||
* ISO 639-3 for current locale
|
* ISO 639-3 for current locale
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $lang = 'eng';
|
public $lang = 'eng';
|
||||||
|
|
||||||
|
@ -53,7 +50,6 @@ class L10n {
|
||||||
* Locale
|
* Locale
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $locale = 'en_us';
|
public $locale = 'en_us';
|
||||||
|
|
||||||
|
@ -63,7 +59,6 @@ class L10n {
|
||||||
* DEFAULT_LANGUAGE is defined in an application this will be set as a fall back
|
* DEFAULT_LANGUAGE is defined in an application this will be set as a fall back
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $default = null;
|
public $default = null;
|
||||||
|
|
||||||
|
@ -71,7 +66,6 @@ class L10n {
|
||||||
* Encoding used for current locale
|
* Encoding used for current locale
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $charset = 'utf-8';
|
public $charset = 'utf-8';
|
||||||
|
|
||||||
|
@ -79,7 +73,6 @@ class L10n {
|
||||||
* Text direction for current locale
|
* Text direction for current locale
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $direction = 'ltr';
|
public $direction = 'ltr';
|
||||||
|
|
||||||
|
@ -87,7 +80,6 @@ class L10n {
|
||||||
* Set to true if a locale is found
|
* Set to true if a locale is found
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $found = false;
|
public $found = false;
|
||||||
|
|
||||||
|
@ -95,7 +87,6 @@ class L10n {
|
||||||
* Maps ISO 639-3 to I10n::__l10nCatalog
|
* Maps ISO 639-3 to I10n::__l10nCatalog
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private $__l10nMap = array(/* Afrikaans */ 'afr' => 'af',
|
private $__l10nMap = array(/* Afrikaans */ 'afr' => 'af',
|
||||||
/* Albanian */ 'alb' => 'sq',
|
/* Albanian */ 'alb' => 'sq',
|
||||||
|
@ -182,7 +173,6 @@ class L10n {
|
||||||
* holds all information related to a language
|
* holds all information related to a language
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private $__l10nCatalog = array('af' => array('language' => 'Afrikaans', 'locale' => 'afr', 'localeFallback' => 'afr', 'charset' => 'utf-8', 'direction' => 'ltr'),
|
private $__l10nCatalog = array('af' => array('language' => 'Afrikaans', 'locale' => 'afr', 'localeFallback' => 'afr', 'charset' => 'utf-8', 'direction' => 'ltr'),
|
||||||
'ar' => array('language' => 'Arabic', 'locale' => 'ara', 'localeFallback' => 'ara', 'charset' => 'utf-8', 'direction' => 'rtl'),
|
'ar' => array('language' => 'Arabic', 'locale' => 'ara', 'localeFallback' => 'ara', 'charset' => 'utf-8', 'direction' => 'rtl'),
|
||||||
|
@ -404,7 +394,6 @@ class L10n {
|
||||||
* Attempts to find the locale settings based on the HTTP_ACCEPT_LANGUAGE variable
|
* Attempts to find the locale settings based on the HTTP_ACCEPT_LANGUAGE variable
|
||||||
*
|
*
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private function __autoLanguage() {
|
private function __autoLanguage() {
|
||||||
$_detectableLanguages = CakeRequest::acceptLanguage();
|
$_detectableLanguages = CakeRequest::acceptLanguage();
|
||||||
|
|
|
@ -33,7 +33,6 @@ class AclNode extends AppModel {
|
||||||
* Explicitly disable in-memory query caching for ACL models
|
* Explicitly disable in-memory query caching for ACL models
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheQueries = false;
|
public $cacheQueries = false;
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ class AclNode extends AppModel {
|
||||||
* ACL models use the Tree behavior
|
* ACL models use the Tree behavior
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $actsAs = array('Tree' => array('nested'));
|
public $actsAs = array('Tree' => array('nested'));
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ class Aco extends AclNode {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Aco';
|
public $name = 'Aco';
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class Aco extends AclNode {
|
||||||
* Binds to ARO nodes through permissions settings
|
* Binds to ARO nodes through permissions settings
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
|
public $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
|
||||||
}
|
}
|
|
@ -34,7 +34,6 @@ class AcoAction extends AppModel {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AcoAction';
|
public $name = 'AcoAction';
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class AcoAction extends AppModel {
|
||||||
* ACO Actions belong to ACOs
|
* ACO Actions belong to ACOs
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array('Aco');
|
public $belongsTo = array('Aco');
|
||||||
}
|
}
|
|
@ -32,7 +32,6 @@ class Aro extends AclNode {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Aro';
|
public $name = 'Aro';
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class Aro extends AclNode {
|
||||||
* AROs are linked to ACOs by means of Permission
|
* AROs are linked to ACOs by means of Permission
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array('Aco' => array('with' => 'Permission'));
|
public $hasAndBelongsToMany = array('Aco' => array('with' => 'Permission'));
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,6 @@ class ContainableBehavior extends ModelBehavior {
|
||||||
* Types of relationships available for models
|
* Types of relationships available for models
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public $types = array('belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany');
|
public $types = array('belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany');
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class ContainableBehavior extends ModelBehavior {
|
||||||
* Runtime configuration for this behavior
|
* Runtime configuration for this behavior
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public $runtime = array();
|
public $runtime = array();
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,6 @@ class TreeBehavior extends ModelBehavior {
|
||||||
* Defaults
|
* Defaults
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_defaults = array(
|
protected $_defaults = array(
|
||||||
'parent' => 'parent_id', 'left' => 'lft', 'right' => 'rght',
|
'parent' => 'parent_id', 'left' => 'lft', 'right' => 'rght',
|
||||||
|
|
|
@ -34,7 +34,6 @@ class BehaviorCollection extends ObjectCollection {
|
||||||
* Stores a reference to the attached name
|
* Stores a reference to the attached name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $modelName = null;
|
public $modelName = null;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ class CakeSchema extends Object {
|
||||||
* Name of the schema
|
* Name of the schema
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = null;
|
public $name = null;
|
||||||
|
|
||||||
|
@ -39,7 +38,6 @@ class CakeSchema extends Object {
|
||||||
* Path to write location
|
* Path to write location
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $path = null;
|
public $path = null;
|
||||||
|
|
||||||
|
@ -47,7 +45,6 @@ class CakeSchema extends Object {
|
||||||
* File to write
|
* File to write
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $file = 'schema.php';
|
public $file = 'schema.php';
|
||||||
|
|
||||||
|
@ -55,7 +52,6 @@ class CakeSchema extends Object {
|
||||||
* Connection used for read
|
* Connection used for read
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $connection = 'default';
|
public $connection = 'default';
|
||||||
|
|
||||||
|
@ -70,7 +66,6 @@ class CakeSchema extends Object {
|
||||||
* Set of tables
|
* Set of tables
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $tables = array();
|
public $tables = array();
|
||||||
|
|
||||||
|
@ -532,7 +527,6 @@ class CakeSchema extends Object {
|
||||||
* @param array $array2 Corresponding array checked for equality
|
* @param array $array2 Corresponding array checked for equality
|
||||||
* @return array Difference as array with array(keys => values) from input array
|
* @return array Difference as array with array(keys => values) from input array
|
||||||
* where match was not found.
|
* where match was not found.
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected function _arrayDiffAssoc($array1, $array2) {
|
protected function _arrayDiffAssoc($array1, $array2) {
|
||||||
$difference = array();
|
$difference = array();
|
||||||
|
|
|
@ -32,7 +32,6 @@ class ConnectionManager {
|
||||||
* Holds a loaded instance of the Connections object
|
* Holds a loaded instance of the Connections object
|
||||||
*
|
*
|
||||||
* @var DATABASE_CONFIG
|
* @var DATABASE_CONFIG
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public static $config = null;
|
public static $config = null;
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class ConnectionManager {
|
||||||
* Holds instances DataSource objects
|
* Holds instances DataSource objects
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected static $_dataSources = array();
|
protected static $_dataSources = array();
|
||||||
|
|
||||||
|
@ -48,7 +46,6 @@ class ConnectionManager {
|
||||||
* Contains a list of all file and class names used in Connection settings
|
* Contains a list of all file and class names used in Connection settings
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected static $_connectionsEnum = array();
|
protected static $_connectionsEnum = array();
|
||||||
|
|
||||||
|
|
|
@ -284,7 +284,6 @@ class CakeSession {
|
||||||
*
|
*
|
||||||
* @param integer $errorNumber Error to set
|
* @param integer $errorNumber Error to set
|
||||||
* @return string Error as string
|
* @return string Error as string
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private static function __error($errorNumber) {
|
private static function __error($errorNumber) {
|
||||||
if (!is_array(self::$error) || !array_key_exists($errorNumber, self::$error)) {
|
if (!is_array(self::$error) || !array_key_exists($errorNumber, self::$error)) {
|
||||||
|
@ -680,7 +679,6 @@ class CakeSession {
|
||||||
* @param integer $errorNumber Number of the error
|
* @param integer $errorNumber Number of the error
|
||||||
* @param string $errorMessage Description of the error
|
* @param string $errorMessage Description of the error
|
||||||
* @return void
|
* @return void
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private static function __setError($errorNumber, $errorMessage) {
|
private static function __setError($errorNumber, $errorMessage) {
|
||||||
if (self::$error === false) {
|
if (self::$error === false) {
|
||||||
|
|
|
@ -28,7 +28,6 @@ class DataSource extends Object {
|
||||||
* Are we connected to the DataSource?
|
* Are we connected to the DataSource?
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $connected = false;
|
public $connected = false;
|
||||||
|
|
||||||
|
@ -36,7 +35,6 @@ class DataSource extends Object {
|
||||||
* The default configuration of a specific DataSource
|
* The default configuration of a specific DataSource
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_baseConfig = array();
|
protected $_baseConfig = array();
|
||||||
|
|
||||||
|
@ -44,7 +42,6 @@ class DataSource extends Object {
|
||||||
* Holds references to descriptions loaded by the DataSource
|
* Holds references to descriptions loaded by the DataSource
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private $__descriptions = array();
|
private $__descriptions = array();
|
||||||
|
|
||||||
|
@ -52,7 +49,6 @@ class DataSource extends Object {
|
||||||
* Holds a list of sources (tables) contained in the DataSource
|
* Holds a list of sources (tables) contained in the DataSource
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_sources = null;
|
protected $_sources = null;
|
||||||
|
|
||||||
|
@ -60,7 +56,6 @@ class DataSource extends Object {
|
||||||
* The DataSource configuration
|
* The DataSource configuration
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $config = array();
|
public $config = array();
|
||||||
|
|
||||||
|
@ -68,7 +63,6 @@ class DataSource extends Object {
|
||||||
* Whether or not this DataSource is in the middle of a transaction
|
* Whether or not this DataSource is in the middle of a transaction
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_transactionStarted = false;
|
protected $_transactionStarted = false;
|
||||||
|
|
||||||
|
@ -77,7 +71,6 @@ class DataSource extends Object {
|
||||||
* should be cached
|
* should be cached
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheSources = true;
|
public $cacheSources = true;
|
||||||
|
|
||||||
|
@ -294,7 +287,6 @@ class DataSource extends Object {
|
||||||
* @param string $object The name of the object (model) to cache
|
* @param string $object The name of the object (model) to cache
|
||||||
* @param mixed $data The description of the model, usually a string or array
|
* @param mixed $data The description of the model, usually a string or array
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
function __cacheDescription($object, $data = null) {
|
function __cacheDescription($object, $data = null) {
|
||||||
if ($this->cacheSources === false) {
|
if ($this->cacheSources === false) {
|
||||||
|
|
|
@ -74,7 +74,6 @@ class Mysql extends DboSource {
|
||||||
* use alias for update and delete. Set to true if version >= 4.1
|
* use alias for update and delete. Set to true if version >= 4.1
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_useAlias = true;
|
protected $_useAlias = true;
|
||||||
|
|
||||||
|
@ -82,7 +81,6 @@ class Mysql extends DboSource {
|
||||||
* Index of basic SQL commands
|
* Index of basic SQL commands
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_commands = array(
|
protected $_commands = array(
|
||||||
'begin' => 'START TRANSACTION',
|
'begin' => 'START TRANSACTION',
|
||||||
|
@ -94,7 +92,6 @@ class Mysql extends DboSource {
|
||||||
* List of engine specific additional field parameters used on table creating
|
* List of engine specific additional field parameters used on table creating
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fieldParameters = array(
|
public $fieldParameters = array(
|
||||||
'charset' => array('value' => 'CHARACTER SET', 'quote' => false, 'join' => ' ', 'column' => false, 'position' => 'beforeDefault'),
|
'charset' => array('value' => 'CHARACTER SET', 'quote' => false, 'join' => ' ', 'column' => false, 'position' => 'beforeDefault'),
|
||||||
|
@ -106,7 +103,6 @@ class Mysql extends DboSource {
|
||||||
* List of table engine specific parameters used on table creating
|
* List of table engine specific parameters used on table creating
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $tableParameters = array(
|
public $tableParameters = array(
|
||||||
'charset' => array('value' => 'DEFAULT CHARSET', 'quote' => false, 'join' => '=', 'column' => 'charset'),
|
'charset' => array('value' => 'DEFAULT CHARSET', 'quote' => false, 'join' => '=', 'column' => 'charset'),
|
||||||
|
|
|
@ -30,7 +30,6 @@ class DboOracle extends DboSource {
|
||||||
* Configuration options
|
* Configuration options
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $config = array();
|
public $config = array();
|
||||||
|
|
||||||
|
@ -57,7 +56,6 @@ class DboOracle extends DboSource {
|
||||||
* Column definitions
|
* Column definitions
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $columns = array(
|
public $columns = array(
|
||||||
'primary_key' => array('name' => ''),
|
'primary_key' => array('name' => ''),
|
||||||
|
@ -78,7 +76,6 @@ class DboOracle extends DboSource {
|
||||||
* Connection object
|
* Connection object
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
public $connection;
|
public $connection;
|
||||||
|
|
||||||
|
@ -86,7 +83,6 @@ class DboOracle extends DboSource {
|
||||||
* Query limit
|
* Query limit
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_limit = -1;
|
protected $_limit = -1;
|
||||||
|
|
||||||
|
@ -94,7 +90,6 @@ class DboOracle extends DboSource {
|
||||||
* Query offset
|
* Query offset
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_offset = 0;
|
protected $_offset = 0;
|
||||||
|
|
||||||
|
@ -102,7 +97,6 @@ class DboOracle extends DboSource {
|
||||||
* Enter description here...
|
* Enter description here...
|
||||||
*
|
*
|
||||||
* @var unknown_type
|
* @var unknown_type
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_map;
|
protected $_map;
|
||||||
|
|
||||||
|
@ -110,7 +104,6 @@ class DboOracle extends DboSource {
|
||||||
* Current Row
|
* Current Row
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_currentRow;
|
protected $_currentRow;
|
||||||
|
|
||||||
|
@ -118,7 +111,6 @@ class DboOracle extends DboSource {
|
||||||
* Number of rows
|
* Number of rows
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_numRows;
|
protected $_numRows;
|
||||||
|
|
||||||
|
@ -126,7 +118,6 @@ class DboOracle extends DboSource {
|
||||||
* Query results
|
* Query results
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_results;
|
protected $_results;
|
||||||
|
|
||||||
|
@ -444,7 +435,6 @@ class DboOracle extends DboSource {
|
||||||
*
|
*
|
||||||
* @param string $table
|
* @param string $table
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function createTrigger($table) {
|
public function createTrigger($table) {
|
||||||
$sql = "CREATE OR REPLACE TRIGGER pk_$table" . "_trigger BEFORE INSERT ON $table FOR EACH ROW BEGIN SELECT pk_$table.NEXTVAL INTO :NEW.ID FROM DUAL; END;";
|
$sql = "CREATE OR REPLACE TRIGGER pk_$table" . "_trigger BEFORE INSERT ON $table FOR EACH ROW BEGIN SELECT pk_$table.NEXTVAL INTO :NEW.ID FROM DUAL; END;";
|
||||||
|
@ -526,7 +516,6 @@ class DboOracle extends DboSource {
|
||||||
* @param integer $reset If -1, sequences are dropped, if 0 (default), sequences are reset,
|
* @param integer $reset If -1, sequences are dropped, if 0 (default), sequences are reset,
|
||||||
* and if 1, sequences are not modified
|
* and if 1, sequences are not modified
|
||||||
* @return boolean SQL TRUNCATE TABLE statement, false if not applicable.
|
* @return boolean SQL TRUNCATE TABLE statement, false if not applicable.
|
||||||
* @access public
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function truncate($table, $reset = 0) {
|
public function truncate($table, $reset = 0) {
|
||||||
|
|
|
@ -32,7 +32,6 @@ class Postgres extends DboSource {
|
||||||
* Driver description
|
* Driver description
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $description = "PostgreSQL DBO Driver";
|
public $description = "PostgreSQL DBO Driver";
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class Postgres extends DboSource {
|
||||||
* Index of basic SQL commands
|
* Index of basic SQL commands
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_commands = array(
|
protected $_commands = array(
|
||||||
'begin' => 'BEGIN',
|
'begin' => 'BEGIN',
|
||||||
|
@ -52,7 +50,6 @@ class Postgres extends DboSource {
|
||||||
* Base driver configuration settings. Merged with user settings.
|
* Base driver configuration settings. Merged with user settings.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_baseConfig = array(
|
protected $_baseConfig = array(
|
||||||
'persistent' => true,
|
'persistent' => true,
|
||||||
|
@ -85,7 +82,6 @@ class Postgres extends DboSource {
|
||||||
* Starting Quote
|
* Starting Quote
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $startQuote = '"';
|
public $startQuote = '"';
|
||||||
|
|
||||||
|
@ -93,7 +89,6 @@ class Postgres extends DboSource {
|
||||||
* Ending Quote
|
* Ending Quote
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $endQuote = '"';
|
public $endQuote = '"';
|
||||||
|
|
||||||
|
@ -456,7 +451,6 @@ class Postgres extends DboSource {
|
||||||
*
|
*
|
||||||
* @param array $compare Results of CakeSchema::compare()
|
* @param array $compare Results of CakeSchema::compare()
|
||||||
* @param string $table name of the table
|
* @param string $table name of the table
|
||||||
* @access public
|
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function alterSchema($compare, $table = null) {
|
public function alterSchema($compare, $table = null) {
|
||||||
|
|
|
@ -32,7 +32,6 @@ class Sqlite extends DboSource {
|
||||||
* Datasource Description
|
* Datasource Description
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
var $description = "SQLite DBO Driver";
|
var $description = "SQLite DBO Driver";
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class Sqlite extends DboSource {
|
||||||
* Quote Start
|
* Quote Start
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
var $startQuote = '"';
|
var $startQuote = '"';
|
||||||
|
|
||||||
|
@ -48,7 +46,6 @@ class Sqlite extends DboSource {
|
||||||
* Quote End
|
* Quote End
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
var $endQuote = '"';
|
var $endQuote = '"';
|
||||||
|
|
||||||
|
@ -56,7 +53,6 @@ class Sqlite extends DboSource {
|
||||||
* Base configuration settings for SQLite3 driver
|
* Base configuration settings for SQLite3 driver
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
var $_baseConfig = array(
|
var $_baseConfig = array(
|
||||||
'persistent' => false,
|
'persistent' => false,
|
||||||
|
@ -67,7 +63,6 @@ class Sqlite extends DboSource {
|
||||||
* SQLite3 column definition
|
* SQLite3 column definition
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
var $columns = array(
|
var $columns = array(
|
||||||
'primary_key' => array('name' => 'integer primary key autoincrement'),
|
'primary_key' => array('name' => 'integer primary key autoincrement'),
|
||||||
|
@ -87,7 +82,6 @@ class Sqlite extends DboSource {
|
||||||
* List of engine specific additional field parameters used on table creating
|
* List of engine specific additional field parameters used on table creating
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
var $fieldParameters = array(
|
var $fieldParameters = array(
|
||||||
'collate' => array(
|
'collate' => array(
|
||||||
|
@ -202,7 +196,6 @@ class Sqlite extends DboSource {
|
||||||
* @param array $values
|
* @param array $values
|
||||||
* @param mixed $conditions
|
* @param mixed $conditions
|
||||||
* @return array
|
* @return array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function update(Model $model, $fields = array(), $values = null, $conditions = null) {
|
public function update(Model $model, $fields = array(), $values = null, $conditions = null) {
|
||||||
if (empty($values) && !empty($fields)) {
|
if (empty($values) && !empty($fields)) {
|
||||||
|
@ -224,7 +217,6 @@ class Sqlite extends DboSource {
|
||||||
*
|
*
|
||||||
* @param mixed $table A string or model class representing the table to be truncated
|
* @param mixed $table A string or model class representing the table to be truncated
|
||||||
* @return boolean SQL TRUNCATE TABLE statement, false if not applicable.
|
* @return boolean SQL TRUNCATE TABLE statement, false if not applicable.
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function truncate($table) {
|
public function truncate($table) {
|
||||||
$this->_execute('DELETE FROM sqlite_sequence where name=' . $this->fullTableName($table));
|
$this->_execute('DELETE FROM sqlite_sequence where name=' . $this->fullTableName($table));
|
||||||
|
@ -236,7 +228,6 @@ class Sqlite extends DboSource {
|
||||||
*
|
*
|
||||||
* @param string $real Real database-layer column type (i.e. "varchar(255)")
|
* @param string $real Real database-layer column type (i.e. "varchar(255)")
|
||||||
* @return string Abstract column type (i.e. "string")
|
* @return string Abstract column type (i.e. "string")
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function column($real) {
|
public function column($real) {
|
||||||
if (is_array($real)) {
|
if (is_array($real)) {
|
||||||
|
@ -353,7 +344,6 @@ class Sqlite extends DboSource {
|
||||||
* @param integer $limit Limit of results returned
|
* @param integer $limit Limit of results returned
|
||||||
* @param integer $offset Offset from which to start results
|
* @param integer $offset Offset from which to start results
|
||||||
* @return string SQL limit/offset statement
|
* @return string SQL limit/offset statement
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function limit($limit, $offset = null) {
|
public function limit($limit, $offset = null) {
|
||||||
if ($limit) {
|
if ($limit) {
|
||||||
|
@ -376,7 +366,6 @@ class Sqlite extends DboSource {
|
||||||
* @param array $column An array structured like the following: array('name'=>'value', 'type'=>'value'[, options]),
|
* @param array $column An array structured like the following: array('name'=>'value', 'type'=>'value'[, options]),
|
||||||
* where options can be 'default', 'length', or 'key'.
|
* where options can be 'default', 'length', or 'key'.
|
||||||
* @return string
|
* @return string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function buildColumn($column) {
|
public function buildColumn($column) {
|
||||||
$name = $type = null;
|
$name = $type = null;
|
||||||
|
@ -461,7 +450,6 @@ class Sqlite extends DboSource {
|
||||||
*
|
*
|
||||||
* @param string $model Name of model to inspect
|
* @param string $model Name of model to inspect
|
||||||
* @return array Fields in table. Keys are column and unique
|
* @return array Fields in table. Keys are column and unique
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function index($model) {
|
public function index($model) {
|
||||||
$index = array();
|
$index = array();
|
||||||
|
@ -502,7 +490,6 @@ class Sqlite extends DboSource {
|
||||||
* @param string $type
|
* @param string $type
|
||||||
* @param array $data
|
* @param array $data
|
||||||
* @return string
|
* @return string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function renderStatement($type, $data) {
|
public function renderStatement($type, $data) {
|
||||||
switch (strtolower($type)) {
|
switch (strtolower($type)) {
|
||||||
|
@ -526,7 +513,6 @@ class Sqlite extends DboSource {
|
||||||
* PDO deals in objects, not resources, so overload accordingly.
|
* PDO deals in objects, not resources, so overload accordingly.
|
||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function hasResult() {
|
public function hasResult() {
|
||||||
return is_object($this->_result);
|
return is_object($this->_result);
|
||||||
|
|
|
@ -34,7 +34,6 @@ class DboSource extends DataSource {
|
||||||
* Description string for this Database Data Source.
|
* Description string for this Database Data Source.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $description = "Database Data Source";
|
public $description = "Database Data Source";
|
||||||
|
|
||||||
|
@ -49,7 +48,6 @@ class DboSource extends DataSource {
|
||||||
* Database keyword used to assign aliases to identifiers.
|
* Database keyword used to assign aliases to identifiers.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $alias = 'AS ';
|
public $alias = 'AS ';
|
||||||
|
|
||||||
|
@ -60,7 +58,6 @@ class DboSource extends DataSource {
|
||||||
* with collisions, set DboSource::$cacheMethods to false.
|
* with collisions, set DboSource::$cacheMethods to false.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public static $methodCache = array();
|
public static $methodCache = array();
|
||||||
|
|
||||||
|
@ -69,7 +66,6 @@ class DboSource extends DataSource {
|
||||||
* into the memory cache. Set to false to disable the use of the memory cache.
|
* into the memory cache. Set to false to disable the use of the memory cache.
|
||||||
*
|
*
|
||||||
* @var boolean.
|
* @var boolean.
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheMethods = true;
|
public $cacheMethods = true;
|
||||||
|
|
||||||
|
@ -77,7 +73,6 @@ class DboSource extends DataSource {
|
||||||
* Print full query debug info?
|
* Print full query debug info?
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fullDebug = false;
|
public $fullDebug = false;
|
||||||
|
|
||||||
|
@ -85,7 +80,6 @@ class DboSource extends DataSource {
|
||||||
* Error description of last query
|
* Error description of last query
|
||||||
*
|
*
|
||||||
* @var unknown_type
|
* @var unknown_type
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $error = null;
|
public $error = null;
|
||||||
|
|
||||||
|
@ -93,7 +87,6 @@ class DboSource extends DataSource {
|
||||||
* String to hold how many rows were affected by the last SQL operation.
|
* String to hold how many rows were affected by the last SQL operation.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $affected = null;
|
public $affected = null;
|
||||||
|
|
||||||
|
@ -101,7 +94,6 @@ class DboSource extends DataSource {
|
||||||
* Number of rows in current resultset
|
* Number of rows in current resultset
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $numRows = null;
|
public $numRows = null;
|
||||||
|
|
||||||
|
@ -109,7 +101,6 @@ class DboSource extends DataSource {
|
||||||
* Time the last query took
|
* Time the last query took
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $took = null;
|
public $took = null;
|
||||||
|
|
||||||
|
@ -117,7 +108,6 @@ class DboSource extends DataSource {
|
||||||
* Result
|
* Result
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_result = null;
|
protected $_result = null;
|
||||||
|
|
||||||
|
@ -125,7 +115,6 @@ class DboSource extends DataSource {
|
||||||
* Queries count.
|
* Queries count.
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_queriesCnt = 0;
|
protected $_queriesCnt = 0;
|
||||||
|
|
||||||
|
@ -133,7 +122,6 @@ class DboSource extends DataSource {
|
||||||
* Total duration of all queries.
|
* Total duration of all queries.
|
||||||
*
|
*
|
||||||
* @var unknown_type
|
* @var unknown_type
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_queriesTime = null;
|
protected $_queriesTime = null;
|
||||||
|
|
||||||
|
@ -141,7 +129,6 @@ class DboSource extends DataSource {
|
||||||
* Log of queries executed by this DataSource
|
* Log of queries executed by this DataSource
|
||||||
*
|
*
|
||||||
* @var unknown_type
|
* @var unknown_type
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_queriesLog = array();
|
protected $_queriesLog = array();
|
||||||
|
|
||||||
|
@ -151,7 +138,6 @@ class DboSource extends DataSource {
|
||||||
* This is to prevent query log taking over too much memory.
|
* This is to prevent query log taking over too much memory.
|
||||||
*
|
*
|
||||||
* @var int Maximum number of queries in the queries log.
|
* @var int Maximum number of queries in the queries log.
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_queriesLogMax = 200;
|
protected $_queriesLogMax = 200;
|
||||||
|
|
||||||
|
@ -159,7 +145,6 @@ class DboSource extends DataSource {
|
||||||
* Caches serialzed results of executed queries
|
* Caches serialzed results of executed queries
|
||||||
*
|
*
|
||||||
* @var array Maximum number of queries in the queries log.
|
* @var array Maximum number of queries in the queries log.
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_queryCache = array();
|
protected $_queryCache = array();
|
||||||
|
|
||||||
|
@ -167,7 +152,6 @@ class DboSource extends DataSource {
|
||||||
* A reference to the physical connection of this DataSource
|
* A reference to the physical connection of this DataSource
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $connection = null;
|
public $connection = null;
|
||||||
|
|
||||||
|
@ -175,7 +159,6 @@ class DboSource extends DataSource {
|
||||||
* The DataSource configuration key name
|
* The DataSource configuration key name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $configKeyName = null;
|
public $configKeyName = null;
|
||||||
|
|
||||||
|
@ -183,7 +166,6 @@ class DboSource extends DataSource {
|
||||||
* The starting character that this DataSource uses for quoted identifiers.
|
* The starting character that this DataSource uses for quoted identifiers.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $startQuote = null;
|
public $startQuote = null;
|
||||||
|
|
||||||
|
@ -191,7 +173,6 @@ class DboSource extends DataSource {
|
||||||
* The ending character that this DataSource uses for quoted identifiers.
|
* The ending character that this DataSource uses for quoted identifiers.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $endQuote = null;
|
public $endQuote = null;
|
||||||
|
|
||||||
|
@ -199,7 +180,6 @@ class DboSource extends DataSource {
|
||||||
* The set of valid SQL operations usable in a WHERE statement
|
* The set of valid SQL operations usable in a WHERE statement
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private $__sqlOps = array('like', 'ilike', 'or', 'not', 'in', 'between', 'regexp', 'similar to');
|
private $__sqlOps = array('like', 'ilike', 'or', 'not', 'in', 'between', 'regexp', 'similar to');
|
||||||
|
|
||||||
|
@ -207,7 +187,6 @@ class DboSource extends DataSource {
|
||||||
* Indicates the level of nested transactions
|
* Indicates the level of nested transactions
|
||||||
*
|
*
|
||||||
* @var integer
|
* @var integer
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_transactionNesting = 0;
|
protected $_transactionNesting = 0;
|
||||||
|
|
||||||
|
@ -215,7 +194,6 @@ class DboSource extends DataSource {
|
||||||
* Index of basic SQL commands
|
* Index of basic SQL commands
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_commands = array(
|
protected $_commands = array(
|
||||||
'begin' => 'BEGIN',
|
'begin' => 'BEGIN',
|
||||||
|
@ -234,7 +212,6 @@ class DboSource extends DataSource {
|
||||||
* List of table engine specific parameters used on table creating
|
* List of table engine specific parameters used on table creating
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $tableParameters = array();
|
public $tableParameters = array();
|
||||||
|
|
||||||
|
@ -242,7 +219,6 @@ class DboSource extends DataSource {
|
||||||
* List of engine specific additional field parameters used on table creating
|
* List of engine specific additional field parameters used on table creating
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fieldParameters = array();
|
public $fieldParameters = array();
|
||||||
|
|
||||||
|
@ -1666,7 +1642,6 @@ class DboSource extends DataSource {
|
||||||
*
|
*
|
||||||
* @param array $join An array defining a JOIN statement in a query
|
* @param array $join An array defining a JOIN statement in a query
|
||||||
* @return string An SQL JOIN statement to be used in a query
|
* @return string An SQL JOIN statement to be used in a query
|
||||||
* @access public
|
|
||||||
* @see DboSource::renderJoinStatement()
|
* @see DboSource::renderJoinStatement()
|
||||||
* @see DboSource::buildStatement()
|
* @see DboSource::buildStatement()
|
||||||
*/
|
*/
|
||||||
|
@ -1693,7 +1668,6 @@ class DboSource extends DataSource {
|
||||||
* @param array $query An array defining an SQL query
|
* @param array $query An array defining an SQL query
|
||||||
* @param object $model The model object which initiated the query
|
* @param object $model The model object which initiated the query
|
||||||
* @return string An executable SQL statement
|
* @return string An executable SQL statement
|
||||||
* @access public
|
|
||||||
* @see DboSource::renderStatement()
|
* @see DboSource::renderStatement()
|
||||||
*/
|
*/
|
||||||
public function buildStatement($query, $model) {
|
public function buildStatement($query, $model) {
|
||||||
|
@ -2446,7 +2420,6 @@ class DboSource extends DataSource {
|
||||||
* @param string $key An SQL key snippet containing a field and optional SQL operator
|
* @param string $key An SQL key snippet containing a field and optional SQL operator
|
||||||
* @param mixed $value The value(s) to be inserted in the string
|
* @param mixed $value The value(s) to be inserted in the string
|
||||||
* @return string
|
* @return string
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private function __parseKey($model, $key, $value) {
|
private function __parseKey($model, $key, $value) {
|
||||||
$operatorMatch = '/^((' . implode(')|(', $this->__sqlOps);
|
$operatorMatch = '/^((' . implode(')|(', $this->__sqlOps);
|
||||||
|
@ -2533,7 +2506,6 @@ class DboSource extends DataSource {
|
||||||
*
|
*
|
||||||
* @param string $conditions
|
* @param string $conditions
|
||||||
* @return string or false if no match
|
* @return string or false if no match
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private function __quoteFields($conditions) {
|
private function __quoteFields($conditions) {
|
||||||
$start = $end = null;
|
$start = $end = null;
|
||||||
|
|
|
@ -30,7 +30,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
||||||
* Method called on open of a database session.
|
* Method called on open of a database session.
|
||||||
*
|
*
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function open() {
|
public function open() {
|
||||||
return true;
|
return true;
|
||||||
|
@ -40,7 +39,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
||||||
* Method called on close of a database session.
|
* Method called on close of a database session.
|
||||||
*
|
*
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function close() {
|
public function close() {
|
||||||
$probability = mt_rand(1, 150);
|
$probability = mt_rand(1, 150);
|
||||||
|
@ -55,7 +53,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
||||||
*
|
*
|
||||||
* @param mixed $id The key of the value to read
|
* @param mixed $id The key of the value to read
|
||||||
* @return mixed The value of the key or false if it does not exist
|
* @return mixed The value of the key or false if it does not exist
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function read($id) {
|
public function read($id) {
|
||||||
return Cache::read($id, Configure::read('Session.handler.config'));
|
return Cache::read($id, Configure::read('Session.handler.config'));
|
||||||
|
@ -67,7 +64,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
||||||
* @param integer $id ID that uniquely identifies session in database
|
* @param integer $id ID that uniquely identifies session in database
|
||||||
* @param mixed $data The value of the data to be saved.
|
* @param mixed $data The value of the data to be saved.
|
||||||
* @return boolean True for successful write, false otherwise.
|
* @return boolean True for successful write, false otherwise.
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function write($id, $data) {
|
public function write($id, $data) {
|
||||||
return Cache::write($id, $data, Configure::read('Session.handler.config'));
|
return Cache::write($id, $data, Configure::read('Session.handler.config'));
|
||||||
|
@ -78,7 +74,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
||||||
*
|
*
|
||||||
* @param integer $id ID that uniquely identifies session in database
|
* @param integer $id ID that uniquely identifies session in database
|
||||||
* @return boolean True for successful delete, false otherwise.
|
* @return boolean True for successful delete, false otherwise.
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function destroy($id) {
|
public function destroy($id) {
|
||||||
return Cache::delete($id, Configure::read('Session.handler.config'));
|
return Cache::delete($id, Configure::read('Session.handler.config'));
|
||||||
|
@ -89,7 +84,6 @@ class CacheSession implements CakeSessionHandlerInterface {
|
||||||
*
|
*
|
||||||
* @param integer $expires Timestamp (defaults to current time)
|
* @param integer $expires Timestamp (defaults to current time)
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function gc($expires = null) {
|
public function gc($expires = null) {
|
||||||
return Cache::gc();
|
return Cache::gc();
|
||||||
|
|
|
@ -51,7 +51,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
||||||
* Method called on open of a database session.
|
* Method called on open of a database session.
|
||||||
*
|
*
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function open() {
|
public function open() {
|
||||||
return true;
|
return true;
|
||||||
|
@ -61,7 +60,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
||||||
* Method called on close of a database session.
|
* Method called on close of a database session.
|
||||||
*
|
*
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function close() {
|
public function close() {
|
||||||
$probability = mt_rand(1, 150);
|
$probability = mt_rand(1, 150);
|
||||||
|
@ -76,7 +74,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
||||||
*
|
*
|
||||||
* @param mixed $id The key of the value to read
|
* @param mixed $id The key of the value to read
|
||||||
* @return mixed The value of the key or false if it does not exist
|
* @return mixed The value of the key or false if it does not exist
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function read($id) {
|
public function read($id) {
|
||||||
$model = ClassRegistry::getObject('Session');
|
$model = ClassRegistry::getObject('Session');
|
||||||
|
@ -98,7 +95,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
||||||
* @param integer $id ID that uniquely identifies session in database
|
* @param integer $id ID that uniquely identifies session in database
|
||||||
* @param mixed $data The value of the data to be saved.
|
* @param mixed $data The value of the data to be saved.
|
||||||
* @return boolean True for successful write, false otherwise.
|
* @return boolean True for successful write, false otherwise.
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function write($id, $data) {
|
public function write($id, $data) {
|
||||||
if (!$id) {
|
if (!$id) {
|
||||||
|
@ -116,7 +112,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
||||||
*
|
*
|
||||||
* @param integer $id ID that uniquely identifies session in database
|
* @param integer $id ID that uniquely identifies session in database
|
||||||
* @return boolean True for successful delete, false otherwise.
|
* @return boolean True for successful delete, false otherwise.
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function destroy($id) {
|
public function destroy($id) {
|
||||||
return ClassRegistry::getObject('Session')->delete($id);
|
return ClassRegistry::getObject('Session')->delete($id);
|
||||||
|
@ -127,7 +122,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
||||||
*
|
*
|
||||||
* @param integer $expires Timestamp (defaults to current time)
|
* @param integer $expires Timestamp (defaults to current time)
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function gc($expires = null) {
|
public function gc($expires = null) {
|
||||||
if (!$expires) {
|
if (!$expires) {
|
||||||
|
|
|
@ -47,7 +47,6 @@ class Model extends Object {
|
||||||
* The name of the DataSource connection that this Model uses
|
* The name of the DataSource connection that this Model uses
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#useDbConfig-1058
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#useDbConfig-1058
|
||||||
*/
|
*/
|
||||||
public $useDbConfig = 'default';
|
public $useDbConfig = 'default';
|
||||||
|
@ -56,7 +55,6 @@ class Model extends Object {
|
||||||
* Custom database table name, or null/false if no table association is desired.
|
* Custom database table name, or null/false if no table association is desired.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#useTable-1059
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#useTable-1059
|
||||||
*/
|
*/
|
||||||
public $useTable = null;
|
public $useTable = null;
|
||||||
|
@ -65,7 +63,6 @@ class Model extends Object {
|
||||||
* Custom display field name. Display fields are used by Scaffold, in SELECT boxes' OPTION elements.
|
* Custom display field name. Display fields are used by Scaffold, in SELECT boxes' OPTION elements.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#displayField-1062
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#displayField-1062
|
||||||
*/
|
*/
|
||||||
public $displayField = null;
|
public $displayField = null;
|
||||||
|
@ -75,7 +72,6 @@ class Model extends Object {
|
||||||
* Automatically set after database insertions.
|
* Automatically set after database insertions.
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $id = false;
|
public $id = false;
|
||||||
|
|
||||||
|
@ -83,7 +79,6 @@ class Model extends Object {
|
||||||
* Container for the data that this model gets from persistent storage (usually, a database).
|
* Container for the data that this model gets from persistent storage (usually, a database).
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#data-1065
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#data-1065
|
||||||
*/
|
*/
|
||||||
public $data = array();
|
public $data = array();
|
||||||
|
@ -92,7 +87,6 @@ class Model extends Object {
|
||||||
* Table name for this Model.
|
* Table name for this Model.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $table = false;
|
public $table = false;
|
||||||
|
|
||||||
|
@ -100,7 +94,6 @@ class Model extends Object {
|
||||||
* The name of the primary key field for this model.
|
* The name of the primary key field for this model.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#primaryKey-1061
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#primaryKey-1061
|
||||||
*/
|
*/
|
||||||
public $primaryKey = null;
|
public $primaryKey = null;
|
||||||
|
@ -109,7 +102,6 @@ class Model extends Object {
|
||||||
* Field-by-field table metadata.
|
* Field-by-field table metadata.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#_schema-1066
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#_schema-1066
|
||||||
*/
|
*/
|
||||||
protected $_schema = null;
|
protected $_schema = null;
|
||||||
|
@ -119,7 +111,6 @@ class Model extends Object {
|
||||||
* that have to match with preg_match(). Use these rules with Model::validate()
|
* that have to match with preg_match(). Use these rules with Model::validate()
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#validate-1067
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#validate-1067
|
||||||
* @link http://book.cakephp.org/view/1143/Data-Validation
|
* @link http://book.cakephp.org/view/1143/Data-Validation
|
||||||
*/
|
*/
|
||||||
|
@ -129,7 +120,6 @@ class Model extends Object {
|
||||||
* List of validation errors.
|
* List of validation errors.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
||||||
*/
|
*/
|
||||||
public $validationErrors = array();
|
public $validationErrors = array();
|
||||||
|
@ -139,7 +129,6 @@ class Model extends Object {
|
||||||
* Name of the validation string domain to use when translating validation errors.
|
* Name of the validation string domain to use when translating validation errors.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $validationDomain = null;
|
public $validationDomain = null;
|
||||||
|
|
||||||
|
@ -147,7 +136,6 @@ class Model extends Object {
|
||||||
* Database table prefix for tables in model.
|
* Database table prefix for tables in model.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#tablePrefix-1060
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#tablePrefix-1060
|
||||||
*/
|
*/
|
||||||
public $tablePrefix = null;
|
public $tablePrefix = null;
|
||||||
|
@ -156,7 +144,6 @@ class Model extends Object {
|
||||||
* Name of the model.
|
* Name of the model.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#name-1068
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#name-1068
|
||||||
*/
|
*/
|
||||||
public $name = null;
|
public $name = null;
|
||||||
|
@ -165,7 +152,6 @@ class Model extends Object {
|
||||||
* Alias name for model.
|
* Alias name for model.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $alias = null;
|
public $alias = null;
|
||||||
|
|
||||||
|
@ -173,7 +159,6 @@ class Model extends Object {
|
||||||
* List of table names included in the model description. Used for associations.
|
* List of table names included in the model description. Used for associations.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $tableToModel = array();
|
public $tableToModel = array();
|
||||||
|
|
||||||
|
@ -182,7 +167,6 @@ class Model extends Object {
|
||||||
* caching only, the results are not stored beyond the current request.
|
* caching only, the results are not stored beyond the current request.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#cacheQueries-1069
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#cacheQueries-1069
|
||||||
*/
|
*/
|
||||||
public $cacheQueries = false;
|
public $cacheQueries = false;
|
||||||
|
@ -191,7 +175,6 @@ class Model extends Object {
|
||||||
* Detailed list of belongsTo associations.
|
* Detailed list of belongsTo associations.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1042/belongsTo
|
* @link http://book.cakephp.org/view/1042/belongsTo
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array();
|
public $belongsTo = array();
|
||||||
|
@ -200,7 +183,6 @@ class Model extends Object {
|
||||||
* Detailed list of hasOne associations.
|
* Detailed list of hasOne associations.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1041/hasOne
|
* @link http://book.cakephp.org/view/1041/hasOne
|
||||||
*/
|
*/
|
||||||
public $hasOne = array();
|
public $hasOne = array();
|
||||||
|
@ -209,7 +191,6 @@ class Model extends Object {
|
||||||
* Detailed list of hasMany associations.
|
* Detailed list of hasMany associations.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1043/hasMany
|
* @link http://book.cakephp.org/view/1043/hasMany
|
||||||
*/
|
*/
|
||||||
public $hasMany = array();
|
public $hasMany = array();
|
||||||
|
@ -218,7 +199,6 @@ class Model extends Object {
|
||||||
* Detailed list of hasAndBelongsToMany associations.
|
* Detailed list of hasAndBelongsToMany associations.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1044/hasAndBelongsToMany-HABTM
|
* @link http://book.cakephp.org/view/1044/hasAndBelongsToMany-HABTM
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array();
|
public $hasAndBelongsToMany = array();
|
||||||
|
@ -230,7 +210,6 @@ class Model extends Object {
|
||||||
* public $actsAs = array('Translate', 'MyBehavior' => array('setting1' => 'value1'))
|
* public $actsAs = array('Translate', 'MyBehavior' => array('setting1' => 'value1'))
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1072/Using-Behaviors
|
* @link http://book.cakephp.org/view/1072/Using-Behaviors
|
||||||
*/
|
*/
|
||||||
public $actsAs = null;
|
public $actsAs = null;
|
||||||
|
@ -239,7 +218,6 @@ class Model extends Object {
|
||||||
* Holds the Behavior objects currently bound to this model.
|
* Holds the Behavior objects currently bound to this model.
|
||||||
*
|
*
|
||||||
* @var BehaviorCollection
|
* @var BehaviorCollection
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Behaviors = null;
|
public $Behaviors = null;
|
||||||
|
|
||||||
|
@ -247,7 +225,6 @@ class Model extends Object {
|
||||||
* Whitelist of fields allowed to be saved.
|
* Whitelist of fields allowed to be saved.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $whitelist = array();
|
public $whitelist = array();
|
||||||
|
|
||||||
|
@ -255,7 +232,6 @@ class Model extends Object {
|
||||||
* Whether or not to cache sources for this model.
|
* Whether or not to cache sources for this model.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheSources = true;
|
public $cacheSources = true;
|
||||||
|
|
||||||
|
@ -263,7 +239,6 @@ class Model extends Object {
|
||||||
* Type of find query currently executing.
|
* Type of find query currently executing.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $findQueryType = null;
|
public $findQueryType = null;
|
||||||
|
|
||||||
|
@ -272,7 +247,6 @@ class Model extends Object {
|
||||||
* the first level by default.
|
* the first level by default.
|
||||||
*
|
*
|
||||||
* @var integer
|
* @var integer
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#recursive-1063
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#recursive-1063
|
||||||
*/
|
*/
|
||||||
public $recursive = 1;
|
public $recursive = 1;
|
||||||
|
@ -284,7 +258,6 @@ class Model extends Object {
|
||||||
* public $order = array("Post.view_count DESC", "Post.rating DESC");
|
* public $order = array("Post.view_count DESC", "Post.rating DESC");
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1057/Model-Attributes#order-1064
|
* @link http://book.cakephp.org/view/1057/Model-Attributes#order-1064
|
||||||
*/
|
*/
|
||||||
public $order = null;
|
public $order = null;
|
||||||
|
@ -299,7 +272,6 @@ class Model extends Object {
|
||||||
* Is a simplistic example of how to set virtualFields
|
* Is a simplistic example of how to set virtualFields
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $virtualFields = array();
|
public $virtualFields = array();
|
||||||
|
|
||||||
|
@ -307,7 +279,6 @@ class Model extends Object {
|
||||||
* Default list of association keys.
|
* Default list of association keys.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private $__associationKeys = array(
|
private $__associationKeys = array(
|
||||||
'belongsTo' => array('className', 'foreignKey', 'conditions', 'fields', 'order', 'counterCache'),
|
'belongsTo' => array('className', 'foreignKey', 'conditions', 'fields', 'order', 'counterCache'),
|
||||||
|
@ -320,7 +291,6 @@ class Model extends Object {
|
||||||
* Holds provided/generated association key names and other data for all associations.
|
* Holds provided/generated association key names and other data for all associations.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private $__associations = array('belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany');
|
private $__associations = array('belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany');
|
||||||
|
|
||||||
|
@ -328,7 +298,6 @@ class Model extends Object {
|
||||||
* Holds model associations temporarily to allow for dynamic (un)binding.
|
* Holds model associations temporarily to allow for dynamic (un)binding.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public $__backAssociation = array();
|
public $__backAssociation = array();
|
||||||
|
|
||||||
|
@ -342,7 +311,6 @@ class Model extends Object {
|
||||||
* The ID of the model record that was last inserted.
|
* The ID of the model record that was last inserted.
|
||||||
*
|
*
|
||||||
* @var integer
|
* @var integer
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private $__insertID = null;
|
private $__insertID = null;
|
||||||
|
|
||||||
|
@ -358,7 +326,6 @@ class Model extends Object {
|
||||||
* List of valid finder method options, supplied as the first parameter to find().
|
* List of valid finder method options, supplied as the first parameter to find().
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $findMethods = array(
|
public $findMethods = array(
|
||||||
'all' => true, 'first' => true, 'count' => true,
|
'all' => true, 'first' => true, 'count' => true,
|
||||||
|
@ -580,7 +547,6 @@ class Model extends Object {
|
||||||
* @param array $params Set of bindings (indexed by binding type)
|
* @param array $params Set of bindings (indexed by binding type)
|
||||||
* @param boolean $reset Set to false to make the binding permanent
|
* @param boolean $reset Set to false to make the binding permanent
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly
|
* @link http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly
|
||||||
*/
|
*/
|
||||||
public function bindModel($params, $reset = true) {
|
public function bindModel($params, $reset = true) {
|
||||||
|
@ -625,7 +591,6 @@ class Model extends Object {
|
||||||
* @param array $params Set of bindings to unbind (indexed by binding type)
|
* @param array $params Set of bindings to unbind (indexed by binding type)
|
||||||
* @param boolean $reset Set to false to make the unbinding permanent
|
* @param boolean $reset Set to false to make the unbinding permanent
|
||||||
* @return boolean Success
|
* @return boolean Success
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly
|
* @link http://book.cakephp.org/view/1045/Creating-and-Destroying-Associations-on-the-Fly
|
||||||
*/
|
*/
|
||||||
public function unbindModel($params, $reset = true) {
|
public function unbindModel($params, $reset = true) {
|
||||||
|
@ -647,7 +612,6 @@ class Model extends Object {
|
||||||
* Create a set of associations.
|
* Create a set of associations.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private function __createLinks() {
|
private function __createLinks() {
|
||||||
foreach ($this->__associations as $type) {
|
foreach ($this->__associations as $type) {
|
||||||
|
@ -694,7 +658,6 @@ class Model extends Object {
|
||||||
* public $hasMany = array('ModelName');
|
* public $hasMany = array('ModelName');
|
||||||
* usage: $this->ModelName->modelMethods();
|
* usage: $this->ModelName->modelMethods();
|
||||||
* @return void
|
* @return void
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private function __constructLinkedModel($assoc, $className = null, $plugin = null) {
|
private function __constructLinkedModel($assoc, $className = null, $plugin = null) {
|
||||||
if (empty($className)) {
|
if (empty($className)) {
|
||||||
|
@ -722,7 +685,6 @@ class Model extends Object {
|
||||||
* @param string $type 'belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany'
|
* @param string $type 'belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany'
|
||||||
* @param string $assocKey
|
* @param string $assocKey
|
||||||
* @return void
|
* @return void
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private function __generateAssociation($type, $assocKey) {
|
private function __generateAssociation($type, $assocKey) {
|
||||||
$class = $assocKey;
|
$class = $assocKey;
|
||||||
|
@ -814,7 +776,6 @@ class Model extends Object {
|
||||||
* @param mixed $one Array or string of data
|
* @param mixed $one Array or string of data
|
||||||
* @param string $two Value string for the alternative indata method
|
* @param string $two Value string for the alternative indata method
|
||||||
* @return array Data with all of $one's keys and values
|
* @return array Data with all of $one's keys and values
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||||
*/
|
*/
|
||||||
public function set($one, $two = null) {
|
public function set($one, $two = null) {
|
||||||
|
@ -1131,7 +1092,6 @@ class Model extends Object {
|
||||||
* schema data defaults are not merged.
|
* schema data defaults are not merged.
|
||||||
* @param boolean $filterKey If true, overwrites any primary key input with an empty value
|
* @param boolean $filterKey If true, overwrites any primary key input with an empty value
|
||||||
* @return array The current Model::data; after merging $data and/or defaults from database
|
* @return array The current Model::data; after merging $data and/or defaults from database
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||||
*/
|
*/
|
||||||
public function create($data = array(), $filterKey = false) {
|
public function create($data = array(), $filterKey = false) {
|
||||||
|
@ -1162,7 +1122,6 @@ class Model extends Object {
|
||||||
* @param mixed $fields String of single fieldname, or an array of fieldnames.
|
* @param mixed $fields String of single fieldname, or an array of fieldnames.
|
||||||
* @param mixed $id The ID of the record to read
|
* @param mixed $id The ID of the record to read
|
||||||
* @return array Array of database fields, or false if not found
|
* @return array Array of database fields, or false if not found
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1017/Retrieving-Your-Data#read-1029
|
* @link http://book.cakephp.org/view/1017/Retrieving-Your-Data#read-1029
|
||||||
*/
|
*/
|
||||||
public function read($fields = null, $id = null) {
|
public function read($fields = null, $id = null) {
|
||||||
|
@ -1197,7 +1156,6 @@ class Model extends Object {
|
||||||
* @param array $conditions SQL conditions (defaults to NULL)
|
* @param array $conditions SQL conditions (defaults to NULL)
|
||||||
* @param string $order SQL ORDER BY fragment
|
* @param string $order SQL ORDER BY fragment
|
||||||
* @return string field contents, or false if not found
|
* @return string field contents, or false if not found
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1017/Retrieving-Your-Data#field-1028
|
* @link http://book.cakephp.org/view/1017/Retrieving-Your-Data#field-1028
|
||||||
*/
|
*/
|
||||||
public function field($name, $conditions = null, $order = null) {
|
public function field($name, $conditions = null, $order = null) {
|
||||||
|
@ -1237,7 +1195,6 @@ class Model extends Object {
|
||||||
* @param mixed $value Value of the field
|
* @param mixed $value Value of the field
|
||||||
* @param array $validate See $options param in Model::save(). Does not respect 'fieldList' key if passed
|
* @param array $validate See $options param in Model::save(). Does not respect 'fieldList' key if passed
|
||||||
* @return boolean See Model::save()
|
* @return boolean See Model::save()
|
||||||
* @access public
|
|
||||||
* @see Model::save()
|
* @see Model::save()
|
||||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||||
*/
|
*/
|
||||||
|
@ -1263,7 +1220,6 @@ class Model extends Object {
|
||||||
* If an array, allows control of validate, callbacks, and fieldList
|
* If an array, allows control of validate, callbacks, and fieldList
|
||||||
* @param array $fieldList List of fields to allow to be written
|
* @param array $fieldList List of fields to allow to be written
|
||||||
* @return mixed On success Model::$data if its not empty or true, false on failure
|
* @return mixed On success Model::$data if its not empty or true, false on failure
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||||
*/
|
*/
|
||||||
public function save($data = null, $validate = true, $fieldList = array()) {
|
public function save($data = null, $validate = true, $fieldList = array()) {
|
||||||
|
@ -1622,7 +1578,6 @@ class Model extends Object {
|
||||||
* @return mixed If atomic: True on success, or false on failure.
|
* @return mixed If atomic: True on success, or false on failure.
|
||||||
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
||||||
* depending on whether each record saved successfully.
|
* depending on whether each record saved successfully.
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1032/Saving-Related-Model-Data-hasOne-hasMany-belongsTo
|
* @link http://book.cakephp.org/view/1032/Saving-Related-Model-Data-hasOne-hasMany-belongsTo
|
||||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||||
*/
|
*/
|
||||||
|
@ -1660,7 +1615,6 @@ class Model extends Object {
|
||||||
* @return mixed If atomic: True on success, or false on failure.
|
* @return mixed If atomic: True on success, or false on failure.
|
||||||
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
||||||
* depending on whether each record saved successfully.
|
* depending on whether each record saved successfully.
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function saveMany($data = null, $options = array()) {
|
public function saveMany($data = null, $options = array()) {
|
||||||
if (empty($data)) {
|
if (empty($data)) {
|
||||||
|
@ -1728,7 +1682,6 @@ class Model extends Object {
|
||||||
* @return mixed If atomic: True on success, or false on failure.
|
* @return mixed If atomic: True on success, or false on failure.
|
||||||
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
||||||
* depending on whether each record validated successfully.
|
* depending on whether each record validated successfully.
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function validateMany($data, $options = array()) {
|
public function validateMany($data, $options = array()) {
|
||||||
$options = array_merge(array('atomic' => true), $options);
|
$options = array_merge(array('atomic' => true), $options);
|
||||||
|
@ -1766,7 +1719,6 @@ class Model extends Object {
|
||||||
* @return mixed If atomic: True on success, or false on failure.
|
* @return mixed If atomic: True on success, or false on failure.
|
||||||
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
* Otherwise: array similar to the $data array passed, but values are set to true/false
|
||||||
* depending on whether each record saved successfully.
|
* depending on whether each record saved successfully.
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function saveAssociated($data = null, $options = array()) {
|
public function saveAssociated($data = null, $options = array()) {
|
||||||
if (empty($data)) {
|
if (empty($data)) {
|
||||||
|
@ -1920,7 +1872,6 @@ class Model extends Object {
|
||||||
* Fields are treated as SQL snippets, to insert literal values manually escape your data.
|
* Fields are treated as SQL snippets, to insert literal values manually escape your data.
|
||||||
* @param mixed $conditions Conditions to match, true for all records
|
* @param mixed $conditions Conditions to match, true for all records
|
||||||
* @return boolean True on success, false on failure
|
* @return boolean True on success, false on failure
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
* @link http://book.cakephp.org/view/1031/Saving-Your-Data
|
||||||
*/
|
*/
|
||||||
public function updateAll($fields, $conditions = true) {
|
public function updateAll($fields, $conditions = true) {
|
||||||
|
@ -1933,7 +1884,6 @@ class Model extends Object {
|
||||||
* @param mixed $id ID of record to delete
|
* @param mixed $id ID of record to delete
|
||||||
* @param boolean $cascade Set to true to delete records that depend on this record
|
* @param boolean $cascade Set to true to delete records that depend on this record
|
||||||
* @return boolean True on success
|
* @return boolean True on success
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1036/delete
|
* @link http://book.cakephp.org/view/1036/delete
|
||||||
*/
|
*/
|
||||||
public function delete($id = null, $cascade = true) {
|
public function delete($id = null, $cascade = true) {
|
||||||
|
@ -2049,7 +1999,6 @@ class Model extends Object {
|
||||||
* @param boolean $cascade Set to true to delete records that depend on this record
|
* @param boolean $cascade Set to true to delete records that depend on this record
|
||||||
* @param boolean $callbacks Run callbacks
|
* @param boolean $callbacks Run callbacks
|
||||||
* @return boolean True on success, false on failure
|
* @return boolean True on success, false on failure
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1038/deleteAll
|
* @link http://book.cakephp.org/view/1038/deleteAll
|
||||||
*/
|
*/
|
||||||
public function deleteAll($conditions, $cascade = true, $callbacks = false) {
|
public function deleteAll($conditions, $cascade = true, $callbacks = false) {
|
||||||
|
@ -2598,7 +2547,6 @@ class Model extends Object {
|
||||||
*
|
*
|
||||||
* @param string $options An optional array of custom options to be made available in the beforeValidate callback
|
* @param string $options An optional array of custom options to be made available in the beforeValidate callback
|
||||||
* @return boolean True if there are no errors
|
* @return boolean True if there are no errors
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
||||||
*/
|
*/
|
||||||
public function validates($options = array()) {
|
public function validates($options = array()) {
|
||||||
|
@ -2618,7 +2566,6 @@ class Model extends Object {
|
||||||
* @param string $options An optional array of custom options to be made available in the beforeValidate callback
|
* @param string $options An optional array of custom options to be made available in the beforeValidate callback
|
||||||
* @return array Array of invalid fields
|
* @return array Array of invalid fields
|
||||||
* @see Model::validates()
|
* @see Model::validates()
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
|
||||||
*/
|
*/
|
||||||
public function invalidFields($options = array()) {
|
public function invalidFields($options = array()) {
|
||||||
|
@ -2774,7 +2721,6 @@ class Model extends Object {
|
||||||
*
|
*
|
||||||
* @param array $options Array of options to use on Valdation of with models
|
* @param array $options Array of options to use on Valdation of with models
|
||||||
* @return boolean Failure of validation on with models.
|
* @return boolean Failure of validation on with models.
|
||||||
* @access private
|
|
||||||
* @see Model::validates()
|
* @see Model::validates()
|
||||||
*/
|
*/
|
||||||
private function __validateWithModels($options) {
|
private function __validateWithModels($options) {
|
||||||
|
@ -3059,7 +3005,6 @@ class Model extends Object {
|
||||||
* @param array $queryData Data used to execute this query, i.e. conditions, order, etc.
|
* @param array $queryData Data used to execute this query, i.e. conditions, order, etc.
|
||||||
* @return mixed true if the operation should continue, false if it should abort; or, modified
|
* @return mixed true if the operation should continue, false if it should abort; or, modified
|
||||||
* $queryData to continue with new $queryData
|
* $queryData to continue with new $queryData
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1048/Callback-Methods#beforeFind-1049
|
* @link http://book.cakephp.org/view/1048/Callback-Methods#beforeFind-1049
|
||||||
*/
|
*/
|
||||||
public function beforeFind($queryData) {
|
public function beforeFind($queryData) {
|
||||||
|
@ -3073,7 +3018,6 @@ class Model extends Object {
|
||||||
* @param mixed $results The results of the find operation
|
* @param mixed $results The results of the find operation
|
||||||
* @param boolean $primary Whether this model is being queried directly (vs. being queried as an association)
|
* @param boolean $primary Whether this model is being queried directly (vs. being queried as an association)
|
||||||
* @return mixed Result of the find operation
|
* @return mixed Result of the find operation
|
||||||
* @access public
|
|
||||||
* @link http://book.cakephp.org/view/1048/Callback-Methods#afterFind-1050
|
* @link http://book.cakephp.org/view/1048/Callback-Methods#afterFind-1050
|
||||||
*/
|
*/
|
||||||
public function afterFind($results, $primary = false) {
|
public function afterFind($results, $primary = false) {
|
||||||
|
|
|
@ -139,7 +139,6 @@ class ModelBehavior extends Object {
|
||||||
*
|
*
|
||||||
* @param Model $model Model using this behavior
|
* @param Model $model Model using this behavior
|
||||||
* @return mixed False or null will abort the operation. Any other result will continue.
|
* @return mixed False or null will abort the operation. Any other result will continue.
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function beforeValidate($model) {
|
public function beforeValidate($model) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -34,7 +34,6 @@ class Permission extends AppModel {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Permission';
|
public $name = 'Permission';
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class Permission extends AppModel {
|
||||||
* Explicitly disable in-memory query caching
|
* Explicitly disable in-memory query caching
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheQueries = false;
|
public $cacheQueries = false;
|
||||||
|
|
||||||
|
@ -50,7 +48,6 @@ class Permission extends AppModel {
|
||||||
* Override default table name
|
* Override default table name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'aros_acos';
|
public $useTable = 'aros_acos';
|
||||||
|
|
||||||
|
@ -58,7 +55,6 @@ class Permission extends AppModel {
|
||||||
* Permissions link AROs with ACOs
|
* Permissions link AROs with ACOs
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array('Aro', 'Aco');
|
public $belongsTo = array('Aro', 'Aco');
|
||||||
|
|
||||||
|
@ -66,7 +62,6 @@ class Permission extends AppModel {
|
||||||
* No behaviors for this model
|
* No behaviors for this model
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $actsAs = null;
|
public $actsAs = null;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ class CakeSocket {
|
||||||
* Object description
|
* Object description
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $description = 'Remote DataSource Network Socket Interface';
|
public $description = 'Remote DataSource Network Socket Interface';
|
||||||
|
|
||||||
|
@ -39,7 +38,6 @@ class CakeSocket {
|
||||||
* Base configuration settings for the socket connection
|
* Base configuration settings for the socket connection
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_baseConfig = array(
|
protected $_baseConfig = array(
|
||||||
'persistent' => false,
|
'persistent' => false,
|
||||||
|
@ -53,7 +51,6 @@ class CakeSocket {
|
||||||
* Configuration settings for the socket connection
|
* Configuration settings for the socket connection
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $config = array();
|
public $config = array();
|
||||||
|
|
||||||
|
@ -61,7 +58,6 @@ class CakeSocket {
|
||||||
* Reference to socket connection resource
|
* Reference to socket connection resource
|
||||||
*
|
*
|
||||||
* @var resource
|
* @var resource
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $connection = null;
|
public $connection = null;
|
||||||
|
|
||||||
|
@ -69,7 +65,6 @@ class CakeSocket {
|
||||||
* This boolean contains the current state of the CakeSocket class
|
* This boolean contains the current state of the CakeSocket class
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $connected = false;
|
public $connected = false;
|
||||||
|
|
||||||
|
@ -77,7 +72,6 @@ class CakeSocket {
|
||||||
* This variable contains an array with the last error number (num) and string (str)
|
* This variable contains an array with the last error number (num) and string (str)
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $lastError = array();
|
public $lastError = array();
|
||||||
|
|
||||||
|
@ -256,7 +250,6 @@ class CakeSocket {
|
||||||
/**
|
/**
|
||||||
* Destructor, used to disconnect from current connection.
|
* Destructor, used to disconnect from current connection.
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
public function __destruct() {
|
public function __destruct() {
|
||||||
$this->disconnect();
|
$this->disconnect();
|
||||||
|
|
|
@ -1271,7 +1271,6 @@ class CakeEmail {
|
||||||
*
|
*
|
||||||
* @param string $content Content to render
|
* @param string $content Content to render
|
||||||
* @return array Email ready to be sent
|
* @return array Email ready to be sent
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected function _render($content) {
|
protected function _render($content) {
|
||||||
$viewClass = $this->_viewRender;
|
$viewClass = $this->_viewRender;
|
||||||
|
|
|
@ -45,7 +45,6 @@ class Router {
|
||||||
* Array of routes connected with Router::connect()
|
* Array of routes connected with Router::connect()
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public static $routes = array();
|
public static $routes = array();
|
||||||
|
|
||||||
|
@ -54,7 +53,6 @@ class Router {
|
||||||
* Includes admin prefix
|
* Includes admin prefix
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected static $_prefixes = array();
|
protected static $_prefixes = array();
|
||||||
|
|
||||||
|
@ -62,7 +60,6 @@ class Router {
|
||||||
* Directive for Router to parse out file extensions for mapping to Content-types.
|
* Directive for Router to parse out file extensions for mapping to Content-types.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected static $_parseExtensions = false;
|
protected static $_parseExtensions = false;
|
||||||
|
|
||||||
|
@ -70,7 +67,6 @@ class Router {
|
||||||
* List of valid extensions to parse from a URL. If null, any extension is allowed.
|
* List of valid extensions to parse from a URL. If null, any extension is allowed.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected static $_validExtensions = array();
|
protected static $_validExtensions = array();
|
||||||
|
|
||||||
|
@ -98,7 +94,6 @@ class Router {
|
||||||
* Stores all information necessary to decide what named arguments are parsed under what conditions.
|
* Stores all information necessary to decide what named arguments are parsed under what conditions.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
protected static $_namedConfig = array(
|
protected static $_namedConfig = array(
|
||||||
'default' => array('page', 'fields', 'order', 'limit', 'recursive', 'sort', 'direction', 'step'),
|
'default' => array('page', 'fields', 'order', 'limit', 'recursive', 'sort', 'direction', 'step'),
|
||||||
|
@ -111,7 +106,6 @@ class Router {
|
||||||
* The route matching the URL of the current request
|
* The route matching the URL of the current request
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected static $_currentRoute = array();
|
protected static $_currentRoute = array();
|
||||||
|
|
||||||
|
@ -119,7 +113,6 @@ class Router {
|
||||||
* Default HTTP request method => controller action map.
|
* Default HTTP request method => controller action map.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected static $_resourceMap = array(
|
protected static $_resourceMap = array(
|
||||||
array('action' => 'index', 'method' => 'GET', 'id' => false),
|
array('action' => 'index', 'method' => 'GET', 'id' => false),
|
||||||
|
@ -158,7 +151,6 @@ class Router {
|
||||||
* Sets the Routing prefixes.
|
* Sets the Routing prefixes.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
protected static function _setPrefixes() {
|
protected static function _setPrefixes() {
|
||||||
$routing = Configure::read('Routing');
|
$routing = Configure::read('Routing');
|
||||||
|
@ -487,7 +479,6 @@ class Router {
|
||||||
*
|
*
|
||||||
* @param string $url
|
* @param string $url
|
||||||
* @return array Returns an array containing the altered URL and the parsed extension.
|
* @return array Returns an array containing the altered URL and the parsed extension.
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
private static function __parseExtension($url) {
|
private static function __parseExtension($url) {
|
||||||
$ext = null;
|
$ext = null;
|
||||||
|
|
|
@ -29,7 +29,6 @@ class AllHelpersTest extends PHPUnit_Framework_TestSuite {
|
||||||
/**
|
/**
|
||||||
* suite declares tests to run
|
* suite declares tests to run
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function suite() {
|
public static function suite() {
|
||||||
|
|
|
@ -29,7 +29,6 @@ class CacheTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -43,7 +42,6 @@ class CacheTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -54,7 +52,6 @@ class CacheTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testConfig method
|
* testConfig method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testConfig() {
|
public function testConfig() {
|
||||||
|
@ -114,7 +111,6 @@ class CacheTest extends CakeTestCase {
|
||||||
*
|
*
|
||||||
* Test that the cache class doesn't cause fatal errors with a partial path
|
* Test that the cache class doesn't cause fatal errors with a partial path
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInvaidConfig() {
|
public function testInvaidConfig() {
|
||||||
|
@ -147,7 +143,6 @@ class CacheTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testConfigChange method
|
* testConfigChange method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testConfigChange() {
|
public function testConfigChange() {
|
||||||
|
@ -193,7 +188,6 @@ class CacheTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testWritingWithConfig method
|
* testWritingWithConfig method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testWritingWithConfig() {
|
public function testWritingWithConfig() {
|
||||||
|
@ -231,7 +225,6 @@ class CacheTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testInitSettings method
|
* testInitSettings method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInitSettings() {
|
public function testInitSettings() {
|
||||||
|
@ -278,7 +271,6 @@ class CacheTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testWriteEmptyValues method
|
* testWriteEmptyValues method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testWriteEmptyValues() {
|
public function testWriteEmptyValues() {
|
||||||
|
@ -326,7 +318,6 @@ class CacheTest extends CakeTestCase {
|
||||||
* Check that the "Cache.disable" configuration and a change to it
|
* Check that the "Cache.disable" configuration and a change to it
|
||||||
* (even after a cache config has been setup) is taken into account.
|
* (even after a cache config has been setup) is taken into account.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCacheDisable() {
|
public function testCacheDisable() {
|
||||||
|
@ -366,7 +357,6 @@ class CacheTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSet method
|
* testSet method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSet() {
|
public function testSet() {
|
||||||
|
|
|
@ -29,7 +29,6 @@ class ApcEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -43,7 +42,6 @@ class ApcEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -55,7 +53,6 @@ class ApcEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteCache method
|
* testReadAndWriteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadAndWriteCache() {
|
public function testReadAndWriteCache() {
|
||||||
|
@ -93,7 +90,6 @@ class ApcEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testExpiry method
|
* testExpiry method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testExpiry() {
|
public function testExpiry() {
|
||||||
|
@ -128,7 +124,6 @@ class ApcEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDeleteCache method
|
* testDeleteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteCache() {
|
public function testDeleteCache() {
|
||||||
|
@ -143,7 +138,6 @@ class ApcEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDecrement method
|
* testDecrement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDecrement() {
|
public function testDecrement() {
|
||||||
|
@ -169,7 +163,6 @@ class ApcEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testIncrement method
|
* testIncrement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIncrement() {
|
public function testIncrement() {
|
||||||
|
|
|
@ -30,14 +30,12 @@ class FileEngineTest extends CakeTestCase {
|
||||||
* config property
|
* config property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $config = array();
|
public $config = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -49,7 +47,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* teardown method
|
* teardown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -61,7 +58,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCacheDirChange method
|
* testCacheDirChange method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCacheDirChange() {
|
public function testCacheDirChange() {
|
||||||
|
@ -76,7 +72,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteCache method
|
* testReadAndWriteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadAndWriteCache() {
|
public function testReadAndWriteCache() {
|
||||||
|
@ -105,7 +100,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testExpiry method
|
* testExpiry method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testExpiry() {
|
public function testExpiry() {
|
||||||
|
@ -136,7 +130,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDeleteCache method
|
* testDeleteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteCache() {
|
public function testDeleteCache() {
|
||||||
|
@ -155,7 +148,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSerialize method
|
* testSerialize method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSerialize() {
|
public function testSerialize() {
|
||||||
|
@ -179,7 +171,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testClear method
|
* testClear method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testClear() {
|
public function testClear() {
|
||||||
|
@ -246,7 +237,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testKeyPath method
|
* testKeyPath method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testKeyPath() {
|
public function testKeyPath() {
|
||||||
|
@ -264,7 +254,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRemoveWindowsSlashesFromCache method
|
* testRemoveWindowsSlashesFromCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRemoveWindowsSlashesFromCache() {
|
public function testRemoveWindowsSlashesFromCache() {
|
||||||
|
@ -310,7 +299,6 @@ class FileEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testWriteQuotedString method
|
* testWriteQuotedString method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testWriteQuotedString() {
|
public function testWriteQuotedString() {
|
||||||
|
|
|
@ -46,7 +46,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -64,7 +63,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -76,7 +74,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSettings method
|
* testSettings method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSettings() {
|
public function testSettings() {
|
||||||
|
@ -98,7 +95,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSettings method
|
* testSettings method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultipleServers() {
|
public function testMultipleServers() {
|
||||||
|
@ -127,7 +123,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testConnect method
|
* testConnect method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testConnect() {
|
public function testConnect() {
|
||||||
|
@ -172,7 +167,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteCache method
|
* testReadAndWriteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadAndWriteCache() {
|
public function testReadAndWriteCache() {
|
||||||
|
@ -196,7 +190,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testExpiry method
|
* testExpiry method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testExpiry() {
|
public function testExpiry() {
|
||||||
|
@ -245,7 +238,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDeleteCache method
|
* testDeleteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteCache() {
|
public function testDeleteCache() {
|
||||||
|
@ -260,7 +252,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDecrement method
|
* testDecrement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDecrement() {
|
public function testDecrement() {
|
||||||
|
@ -283,7 +274,6 @@ class MemcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testIncrement method
|
* testIncrement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIncrement() {
|
public function testIncrement() {
|
||||||
|
|
|
@ -29,7 +29,6 @@ class WincacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -42,7 +41,6 @@ class WincacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -54,7 +52,6 @@ class WincacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteCache method
|
* testReadAndWriteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadAndWriteCache() {
|
public function testReadAndWriteCache() {
|
||||||
|
@ -78,7 +75,6 @@ class WincacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testExpiry method
|
* testExpiry method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testExpiry() {
|
public function testExpiry() {
|
||||||
|
@ -113,7 +109,6 @@ class WincacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDeleteCache method
|
* testDeleteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteCache() {
|
public function testDeleteCache() {
|
||||||
|
@ -128,7 +123,6 @@ class WincacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDecrement method
|
* testDecrement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDecrement() {
|
public function testDecrement() {
|
||||||
|
@ -157,7 +151,6 @@ class WincacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testIncrement method
|
* testIncrement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIncrement() {
|
public function testIncrement() {
|
||||||
|
|
|
@ -29,7 +29,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -42,7 +41,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -53,7 +51,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSettings method
|
* testSettings method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSettings() {
|
public function testSettings() {
|
||||||
|
@ -74,7 +71,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteCache method
|
* testReadAndWriteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadAndWriteCache() {
|
public function testReadAndWriteCache() {
|
||||||
|
@ -98,7 +94,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testExpiry method
|
* testExpiry method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testExpiry() {
|
public function testExpiry() {
|
||||||
|
@ -128,7 +123,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDeleteCache method
|
* testDeleteCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteCache() {
|
public function testDeleteCache() {
|
||||||
|
@ -143,7 +137,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testClearCache method
|
* testClearCache method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testClearCache() {
|
public function testClearCache() {
|
||||||
|
@ -161,7 +154,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDecrement method
|
* testDecrement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDecrement() {
|
public function testDecrement() {
|
||||||
|
@ -184,7 +176,6 @@ class XcacheEngineTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testIncrement method
|
* testIncrement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIncrement() {
|
public function testIncrement() {
|
||||||
|
|
|
@ -33,7 +33,6 @@ class AclShellTest extends CakeTestCase {
|
||||||
* Fixtures
|
* Fixtures
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.aco', 'core.aro', 'core.aros_aco');
|
public $fixtures = array('core.aco', 'core.aro', 'core.aros_aco');
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ class BakeShellTest extends CakeTestCase {
|
||||||
* fixtures
|
* fixtures
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.user');
|
public $fixtures = array('core.user');
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ class SchemaShellTestSchema extends CakeSchema {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'MyApp'
|
* @var string 'MyApp'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'SchemaShellTest';
|
public $name = 'SchemaShellTest';
|
||||||
|
|
||||||
|
@ -43,7 +42,6 @@ class SchemaShellTestSchema extends CakeSchema {
|
||||||
* connection property
|
* connection property
|
||||||
*
|
*
|
||||||
* @var string 'test'
|
* @var string 'test'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $connection = 'test';
|
public $connection = 'test';
|
||||||
|
|
||||||
|
@ -51,7 +49,6 @@ class SchemaShellTestSchema extends CakeSchema {
|
||||||
* comments property
|
* comments property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $comments = array(
|
public $comments = array(
|
||||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||||
|
@ -69,7 +66,6 @@ class SchemaShellTestSchema extends CakeSchema {
|
||||||
* posts property
|
* posts property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $articles = array(
|
public $articles = array(
|
||||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||||
|
@ -95,7 +91,6 @@ class SchemaShellTest extends CakeTestCase {
|
||||||
* Fixtures
|
* Fixtures
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user', 'core.author',
|
public $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user', 'core.author',
|
||||||
'core.comment', 'core.test_plugin_comment'
|
'core.comment', 'core.test_plugin_comment'
|
||||||
|
|
|
@ -34,7 +34,6 @@ class ShellTestShell extends Shell {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var name
|
* @var name
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ShellTestShell';
|
public $name = 'ShellTestShell';
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class ShellTestShell extends Shell {
|
||||||
* stopped property
|
* stopped property
|
||||||
*
|
*
|
||||||
* @var integer
|
* @var integer
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $stopped;
|
public $stopped;
|
||||||
|
|
||||||
|
@ -110,7 +108,6 @@ class ShellTest extends CakeTestCase {
|
||||||
* Fixtures used in this test case
|
* Fixtures used in this test case
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array(
|
public $fixtures = array(
|
||||||
'core.post', 'core.comment', 'core.article', 'core.user',
|
'core.post', 'core.comment', 'core.article', 'core.user',
|
||||||
|
@ -817,7 +814,6 @@ TEXT;
|
||||||
/**
|
/**
|
||||||
* Testing camel cased naming of tasks
|
* Testing camel cased naming of tasks
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testShellNaming() {
|
public function testShellNaming() {
|
||||||
|
|
|
@ -55,7 +55,6 @@ class ControllerTaskTest extends CakeTestCase {
|
||||||
* fixtures
|
* fixtures
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.bake_article', 'core.bake_articles_bake_tag', 'core.bake_comment', 'core.bake_tag');
|
public $fixtures = array('core.bake_article', 'core.bake_articles_bake_tag', 'core.bake_comment', 'core.bake_tag');
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ class FixtureTaskTest extends CakeTestCase {
|
||||||
* fixtures
|
* fixtures
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.article', 'core.comment', 'core.datatype', 'core.binary_test');
|
public $fixtures = array('core.article', 'core.comment', 'core.datatype', 'core.binary_test');
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ class ModelTaskTest extends CakeTestCase {
|
||||||
* fixtures
|
* fixtures
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array(
|
public $fixtures = array(
|
||||||
'core.bake_article', 'core.bake_comment', 'core.bake_articles_bake_tag',
|
'core.bake_article', 'core.bake_comment', 'core.bake_articles_bake_tag',
|
||||||
|
|
|
@ -40,7 +40,6 @@ class TestTaskArticle extends Model {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'TestTaskArticle';
|
public $name = 'TestTaskArticle';
|
||||||
|
|
||||||
|
@ -48,7 +47,6 @@ class TestTaskArticle extends Model {
|
||||||
* Table name to use
|
* Table name to use
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'articles';
|
public $useTable = 'articles';
|
||||||
|
|
||||||
|
@ -56,7 +54,6 @@ class TestTaskArticle extends Model {
|
||||||
* HasMany Associations
|
* HasMany Associations
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasMany = array(
|
public $hasMany = array(
|
||||||
'Comment' => array(
|
'Comment' => array(
|
||||||
|
@ -69,7 +66,6 @@ class TestTaskArticle extends Model {
|
||||||
* Has and Belongs To Many Associations
|
* Has and Belongs To Many Associations
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array(
|
public $hasAndBelongsToMany = array(
|
||||||
'Tag' => array(
|
'Tag' => array(
|
||||||
|
@ -117,7 +113,6 @@ class TestTaskTag extends Model {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'TestTaskTag';
|
public $name = 'TestTaskTag';
|
||||||
|
|
||||||
|
@ -125,7 +120,6 @@ class TestTaskTag extends Model {
|
||||||
* Table name
|
* Table name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'tags';
|
public $useTable = 'tags';
|
||||||
|
|
||||||
|
@ -133,7 +127,6 @@ class TestTaskTag extends Model {
|
||||||
* Has and Belongs To Many Associations
|
* Has and Belongs To Many Associations
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array(
|
public $hasAndBelongsToMany = array(
|
||||||
'Article' => array(
|
'Article' => array(
|
||||||
|
@ -166,7 +159,6 @@ class TestTaskComment extends TestTaskAppModel {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'TestTaskComment';
|
public $name = 'TestTaskComment';
|
||||||
|
|
||||||
|
@ -174,7 +166,6 @@ class TestTaskComment extends TestTaskAppModel {
|
||||||
* Table name
|
* Table name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'comments';
|
public $useTable = 'comments';
|
||||||
|
|
||||||
|
@ -182,7 +173,6 @@ class TestTaskComment extends TestTaskAppModel {
|
||||||
* Belongs To Associations
|
* Belongs To Associations
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array(
|
public $belongsTo = array(
|
||||||
'Article' => array(
|
'Article' => array(
|
||||||
|
@ -204,7 +194,6 @@ class TestTaskCommentsController extends Controller {
|
||||||
* Controller Name
|
* Controller Name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'TestTaskComments';
|
public $name = 'TestTaskComments';
|
||||||
|
|
||||||
|
@ -212,7 +201,6 @@ class TestTaskCommentsController extends Controller {
|
||||||
* Models to use
|
* Models to use
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array('TestTaskComment', 'TestTaskTag');
|
public $uses = array('TestTaskComment', 'TestTaskTag');
|
||||||
}
|
}
|
||||||
|
@ -228,7 +216,6 @@ class TestTaskTest extends CakeTestCase {
|
||||||
* Fixtures
|
* Fixtures
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
|
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,6 @@ class ViewTaskComment extends Model {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ViewTaskComment';
|
public $name = 'ViewTaskComment';
|
||||||
|
|
||||||
|
@ -51,7 +50,6 @@ class ViewTaskComment extends Model {
|
||||||
* Table name
|
* Table name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'comments';
|
public $useTable = 'comments';
|
||||||
|
|
||||||
|
@ -59,7 +57,6 @@ class ViewTaskComment extends Model {
|
||||||
* Belongs To Associations
|
* Belongs To Associations
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array(
|
public $belongsTo = array(
|
||||||
'Article' => array(
|
'Article' => array(
|
||||||
|
@ -81,7 +78,6 @@ class ViewTaskArticle extends Model {
|
||||||
* Model name
|
* Model name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ViewTaskArticle';
|
public $name = 'ViewTaskArticle';
|
||||||
|
|
||||||
|
@ -89,7 +85,6 @@ class ViewTaskArticle extends Model {
|
||||||
* Table name
|
* Table name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'articles';
|
public $useTable = 'articles';
|
||||||
}
|
}
|
||||||
|
@ -106,7 +101,6 @@ class ViewTaskCommentsController extends Controller {
|
||||||
* Controller name
|
* Controller name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ViewTaskComments';
|
public $name = 'ViewTaskComments';
|
||||||
|
|
||||||
|
@ -139,7 +133,6 @@ class ViewTaskArticlesController extends Controller {
|
||||||
* Controller name
|
* Controller name
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ViewTaskArticles';
|
public $name = 'ViewTaskArticles';
|
||||||
|
|
||||||
|
@ -211,7 +204,6 @@ class ViewTaskTest extends CakeTestCase {
|
||||||
* Fixtures
|
* Fixtures
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
|
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ class TestShellDispatcher extends ShellDispatcher {
|
||||||
* params property
|
* params property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $params = array();
|
public $params = array();
|
||||||
|
|
||||||
|
@ -38,7 +37,6 @@ class TestShellDispatcher extends ShellDispatcher {
|
||||||
* stopped property
|
* stopped property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $stopped = null;
|
public $stopped = null;
|
||||||
|
|
||||||
|
@ -46,7 +44,6 @@ class TestShellDispatcher extends ShellDispatcher {
|
||||||
* TestShell
|
* TestShell
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $TestShell;
|
public $TestShell;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ class AclNodeTwoTestBase extends AclNode {
|
||||||
* useDbConfig property
|
* useDbConfig property
|
||||||
*
|
*
|
||||||
* @var string 'test'
|
* @var string 'test'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useDbConfig = 'test';
|
public $useDbConfig = 'test';
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class AclNodeTwoTestBase extends AclNode {
|
||||||
* cacheSources property
|
* cacheSources property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheSources = false;
|
public $cacheSources = false;
|
||||||
}
|
}
|
||||||
|
@ -56,7 +54,6 @@ class AroTwoTest extends AclNodeTwoTestBase {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'AroTwoTest'
|
* @var string 'AroTwoTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AroTwoTest';
|
public $name = 'AroTwoTest';
|
||||||
|
|
||||||
|
@ -64,7 +61,6 @@ class AroTwoTest extends AclNodeTwoTestBase {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'aro_twos'
|
* @var string 'aro_twos'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'aro_twos';
|
public $useTable = 'aro_twos';
|
||||||
|
|
||||||
|
@ -72,7 +68,6 @@ class AroTwoTest extends AclNodeTwoTestBase {
|
||||||
* hasAndBelongsToMany property
|
* hasAndBelongsToMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array('AcoTwoTest' => array('with' => 'PermissionTwoTest'));
|
public $hasAndBelongsToMany = array('AcoTwoTest' => array('with' => 'PermissionTwoTest'));
|
||||||
}
|
}
|
||||||
|
@ -88,7 +83,6 @@ class AcoTwoTest extends AclNodeTwoTestBase {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'AcoTwoTest'
|
* @var string 'AcoTwoTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AcoTwoTest';
|
public $name = 'AcoTwoTest';
|
||||||
|
|
||||||
|
@ -96,7 +90,6 @@ class AcoTwoTest extends AclNodeTwoTestBase {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'aco_twos'
|
* @var string 'aco_twos'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'aco_twos';
|
public $useTable = 'aco_twos';
|
||||||
|
|
||||||
|
@ -104,7 +97,6 @@ class AcoTwoTest extends AclNodeTwoTestBase {
|
||||||
* hasAndBelongsToMany property
|
* hasAndBelongsToMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array('AroTwoTest' => array('with' => 'PermissionTwoTest'));
|
public $hasAndBelongsToMany = array('AroTwoTest' => array('with' => 'PermissionTwoTest'));
|
||||||
}
|
}
|
||||||
|
@ -120,7 +112,6 @@ class PermissionTwoTest extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'PermissionTwoTest'
|
* @var string 'PermissionTwoTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'PermissionTwoTest';
|
public $name = 'PermissionTwoTest';
|
||||||
|
|
||||||
|
@ -128,7 +119,6 @@ class PermissionTwoTest extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'aros_aco_twos'
|
* @var string 'aros_aco_twos'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'aros_aco_twos';
|
public $useTable = 'aros_aco_twos';
|
||||||
|
|
||||||
|
@ -136,7 +126,6 @@ class PermissionTwoTest extends CakeTestModel {
|
||||||
* cacheQueries property
|
* cacheQueries property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheQueries = false;
|
public $cacheQueries = false;
|
||||||
|
|
||||||
|
@ -144,7 +133,6 @@ class PermissionTwoTest extends CakeTestModel {
|
||||||
* belongsTo property
|
* belongsTo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array('AroTwoTest' => array('foreignKey' => 'aro_id'), 'AcoTwoTest' => array('foreignKey' => 'aco_id'));
|
public $belongsTo = array('AroTwoTest' => array('foreignKey' => 'aro_id'), 'AcoTwoTest' => array('foreignKey' => 'aco_id'));
|
||||||
|
|
||||||
|
@ -152,7 +140,6 @@ class PermissionTwoTest extends CakeTestModel {
|
||||||
* actsAs property
|
* actsAs property
|
||||||
*
|
*
|
||||||
* @var mixed null
|
* @var mixed null
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $actsAs = null;
|
public $actsAs = null;
|
||||||
}
|
}
|
||||||
|
@ -167,7 +154,6 @@ class DbAclTwoTest extends DbAcl {
|
||||||
/**
|
/**
|
||||||
* construct method
|
* construct method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct() {
|
function __construct() {
|
||||||
|
@ -258,7 +244,6 @@ class IniAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testIniCheck method
|
* testIniCheck method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheck() {
|
public function testCheck() {
|
||||||
|
@ -309,7 +294,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.aro_two', 'core.aco_two', 'core.aros_aco_two');
|
public $fixtures = array('core.aro_two', 'core.aco_two', 'core.aros_aco_two');
|
||||||
|
|
||||||
|
@ -329,7 +313,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -340,7 +323,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAclCreate method
|
* testAclCreate method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCreate() {
|
public function testCreate() {
|
||||||
|
@ -368,7 +350,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAclCreateWithParent method
|
* testAclCreateWithParent method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCreateWithParent() {
|
public function testCreateWithParent() {
|
||||||
|
@ -388,7 +369,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDbAclAllow method
|
* testDbAclAllow method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAllow() {
|
public function testAllow() {
|
||||||
|
@ -426,7 +406,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAllowInvalidNode method
|
* testAllowInvalidNode method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAllowInvalidNode() {
|
public function testAllowInvalidNode() {
|
||||||
|
@ -437,7 +416,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDbAclCheck method
|
* testDbAclCheck method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheck() {
|
public function testCheck() {
|
||||||
|
@ -458,7 +436,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheckInvalidNode method
|
* testCheckInvalidNode method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheckInvalidNode() {
|
public function testCheckInvalidNode() {
|
||||||
|
@ -469,7 +446,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheckInvalidPermission method
|
* testCheckInvalidPermission method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheckInvalidPermission() {
|
public function testCheckInvalidPermission() {
|
||||||
|
@ -480,7 +456,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheckMissingPermission method
|
* testCheckMissingPermission method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheckMissingPermission() {
|
public function testCheckMissingPermission() {
|
||||||
|
@ -494,7 +469,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
* Setup the acl permissions such that Bobs inherits from admin.
|
* Setup the acl permissions such that Bobs inherits from admin.
|
||||||
* deny Admin delete access to a specific resource, check the permisssions are inherited.
|
* deny Admin delete access to a specific resource, check the permisssions are inherited.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAclCascadingDeny() {
|
public function testAclCascadingDeny() {
|
||||||
|
@ -509,7 +483,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDbAclDeny method
|
* testDbAclDeny method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeny() {
|
public function testDeny() {
|
||||||
|
@ -539,7 +512,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAclNodeLookup method
|
* testAclNodeLookup method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAclNodeLookup() {
|
public function testAclNodeLookup() {
|
||||||
|
@ -564,7 +536,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDbInherit method
|
* testDbInherit method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInherit() {
|
public function testInherit() {
|
||||||
|
@ -582,7 +553,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDbGrant method
|
* testDbGrant method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGrant() {
|
public function testGrant() {
|
||||||
|
@ -604,7 +574,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDbRevoke method
|
* testDbRevoke method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRevoke() {
|
public function testRevoke() {
|
||||||
|
@ -629,7 +598,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
* Only designed to work with the db based ACL
|
* Only designed to work with the db based ACL
|
||||||
*
|
*
|
||||||
* @param bool $treesToo
|
* @param bool $treesToo
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __debug ($printTreesToo = false) {
|
function __debug ($printTreesToo = false) {
|
||||||
|
@ -677,7 +645,6 @@ class DbAclTest extends CakeTestCase {
|
||||||
*
|
*
|
||||||
* @param string $string
|
* @param string $string
|
||||||
* @param int $len
|
* @param int $len
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __pad($string = '', $len = 14) {
|
function __pad($string = '', $len = 14) {
|
||||||
|
|
|
@ -226,7 +226,6 @@ DIGEST;
|
||||||
/**
|
/**
|
||||||
* testParseDigestAuthData method
|
* testParseDigestAuthData method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testParseAuthData() {
|
public function testParseAuthData() {
|
||||||
|
|
|
@ -34,14 +34,12 @@ class TestAuthComponent extends AuthComponent {
|
||||||
* testStop property
|
* testStop property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $testStop = false;
|
public $testStop = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* stop method
|
* stop method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function _stop($status = 0) {
|
function _stop($status = 0) {
|
||||||
|
@ -62,7 +60,6 @@ class AuthUser extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'AuthUser'
|
* @var string 'AuthUser'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AuthUser';
|
public $name = 'AuthUser';
|
||||||
|
|
||||||
|
@ -70,7 +67,6 @@ class AuthUser extends CakeTestModel {
|
||||||
* useDbConfig property
|
* useDbConfig property
|
||||||
*
|
*
|
||||||
* @var string 'test'
|
* @var string 'test'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useDbConfig = 'test';
|
public $useDbConfig = 'test';
|
||||||
|
|
||||||
|
@ -88,7 +84,6 @@ class AuthTestController extends Controller {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'AuthTest'
|
* @var string 'AuthTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AuthTest';
|
public $name = 'AuthTest';
|
||||||
|
|
||||||
|
@ -96,7 +91,6 @@ class AuthTestController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array('AuthUser');
|
public $uses = array('AuthUser');
|
||||||
|
|
||||||
|
@ -104,7 +98,6 @@ class AuthTestController extends Controller {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Session', 'Auth');
|
public $components = array('Session', 'Auth');
|
||||||
|
|
||||||
|
@ -112,14 +105,12 @@ class AuthTestController extends Controller {
|
||||||
* testUrl property
|
* testUrl property
|
||||||
*
|
*
|
||||||
* @var mixed null
|
* @var mixed null
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $testUrl = null;
|
public $testUrl = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* construct method
|
* construct method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct($request, $response) {
|
function __construct($request, $response) {
|
||||||
|
@ -133,7 +124,6 @@ class AuthTestController extends Controller {
|
||||||
/**
|
/**
|
||||||
* login method
|
* login method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function login() {
|
public function login() {
|
||||||
|
@ -142,7 +132,6 @@ class AuthTestController extends Controller {
|
||||||
/**
|
/**
|
||||||
* admin_login method
|
* admin_login method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function admin_login() {
|
public function admin_login() {
|
||||||
|
@ -151,7 +140,6 @@ class AuthTestController extends Controller {
|
||||||
/**
|
/**
|
||||||
* admin_add method
|
* admin_add method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function admin_add() {
|
public function admin_add() {
|
||||||
|
@ -160,7 +148,6 @@ class AuthTestController extends Controller {
|
||||||
/**
|
/**
|
||||||
* logout method
|
* logout method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function logout() {
|
public function logout() {
|
||||||
|
@ -170,7 +157,6 @@ class AuthTestController extends Controller {
|
||||||
/**
|
/**
|
||||||
* add method
|
* add method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function add() {
|
public function add() {
|
||||||
|
@ -180,7 +166,6 @@ class AuthTestController extends Controller {
|
||||||
/**
|
/**
|
||||||
* add method
|
* add method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function camelCase() {
|
public function camelCase() {
|
||||||
|
@ -193,7 +178,6 @@ class AuthTestController extends Controller {
|
||||||
* @param mixed $url
|
* @param mixed $url
|
||||||
* @param mixed $status
|
* @param mixed $status
|
||||||
* @param mixed $exit
|
* @param mixed $exit
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function redirect($url, $status = null, $exit = true) {
|
public function redirect($url, $status = null, $exit = true) {
|
||||||
|
@ -204,7 +188,6 @@ class AuthTestController extends Controller {
|
||||||
/**
|
/**
|
||||||
* isAuthorized method
|
* isAuthorized method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function isAuthorized() {
|
public function isAuthorized() {
|
||||||
|
@ -224,7 +207,6 @@ class AjaxAuthController extends Controller {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'AjaxAuth'
|
* @var string 'AjaxAuth'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AjaxAuth';
|
public $name = 'AjaxAuth';
|
||||||
|
|
||||||
|
@ -232,7 +214,6 @@ class AjaxAuthController extends Controller {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Session', 'TestAuth');
|
public $components = array('Session', 'TestAuth');
|
||||||
|
|
||||||
|
@ -240,7 +221,6 @@ class AjaxAuthController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array();
|
public $uses = array();
|
||||||
|
|
||||||
|
@ -248,14 +228,12 @@ class AjaxAuthController extends Controller {
|
||||||
* testUrl property
|
* testUrl property
|
||||||
*
|
*
|
||||||
* @var mixed null
|
* @var mixed null
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $testUrl = null;
|
public $testUrl = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* beforeFilter method
|
* beforeFilter method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeFilter() {
|
public function beforeFilter() {
|
||||||
|
@ -267,7 +245,6 @@ class AjaxAuthController extends Controller {
|
||||||
/**
|
/**
|
||||||
* add method
|
* add method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function add() {
|
public function add() {
|
||||||
|
@ -282,7 +259,6 @@ class AjaxAuthController extends Controller {
|
||||||
* @param mixed $url
|
* @param mixed $url
|
||||||
* @param mixed $status
|
* @param mixed $status
|
||||||
* @param mixed $exit
|
* @param mixed $exit
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function redirect($url, $status = null, $exit = true) {
|
public function redirect($url, $status = null, $exit = true) {
|
||||||
|
@ -303,7 +279,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'Auth'
|
* @var string 'Auth'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Auth';
|
public $name = 'Auth';
|
||||||
|
|
||||||
|
@ -311,7 +286,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.auth_user');
|
public $fixtures = array('core.auth_user');
|
||||||
|
|
||||||
|
@ -319,14 +293,12 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
* initialized property
|
* initialized property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $initialized = false;
|
public $initialized = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -375,7 +347,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testNoAuth method
|
* testNoAuth method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testNoAuth() {
|
public function testNoAuth() {
|
||||||
|
@ -385,7 +356,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testIsErrorOrTests
|
* testIsErrorOrTests
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIsErrorOrTests() {
|
public function testIsErrorOrTests() {
|
||||||
|
@ -406,7 +376,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLogin method
|
* testLogin method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLogin() {
|
public function testLogin() {
|
||||||
|
@ -470,7 +439,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAuthorizeFalse method
|
* testAuthorizeFalse method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAuthorizeFalse() {
|
public function testAuthorizeFalse() {
|
||||||
|
@ -633,7 +601,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests that deny always takes precedence over allow
|
* Tests that deny always takes precedence over allow
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAllowDenyAll() {
|
public function testAllowDenyAll() {
|
||||||
|
@ -729,7 +696,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLoginRedirect method
|
* testLoginRedirect method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoginRedirect() {
|
public function testLoginRedirect() {
|
||||||
|
@ -919,7 +885,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAdminRoute method
|
* testAdminRoute method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAdminRoute() {
|
public function testAdminRoute() {
|
||||||
|
@ -949,7 +914,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAjaxLogin method
|
* testAjaxLogin method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAjaxLogin() {
|
public function testAjaxLogin() {
|
||||||
|
@ -972,7 +936,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLoginActionRedirect method
|
* testLoginActionRedirect method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoginActionRedirect() {
|
public function testLoginActionRedirect() {
|
||||||
|
@ -1007,7 +970,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests that shutdown destroys the redirect session var
|
* Tests that shutdown destroys the redirect session var
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testShutDown() {
|
public function testShutDown() {
|
||||||
|
@ -1022,7 +984,6 @@ class AuthComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* test $settings in Controller::$components
|
* test $settings in Controller::$components
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testComponentSettings() {
|
public function testComponentSettings() {
|
||||||
|
|
|
@ -33,14 +33,12 @@ class CookieComponentTestController extends Controller {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Cookie');
|
public $components = array('Cookie');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* beforeFilter method
|
* beforeFilter method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeFilter() {
|
public function beforeFilter() {
|
||||||
|
@ -64,14 +62,12 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
* Controller property
|
* Controller property
|
||||||
*
|
*
|
||||||
* @var CookieComponentTestController
|
* @var CookieComponentTestController
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Controller;
|
public $Controller;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* start
|
* start
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -94,7 +90,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* end
|
* end
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -136,7 +131,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCookieName
|
* testCookieName
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCookieName() {
|
public function testCookieName() {
|
||||||
|
@ -146,7 +140,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadEncryptedCookieData
|
* testReadEncryptedCookieData
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadEncryptedCookieData() {
|
public function testReadEncryptedCookieData() {
|
||||||
|
@ -163,7 +156,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadPlainCookieData
|
* testReadPlainCookieData
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadPlainCookieData() {
|
public function testReadPlainCookieData() {
|
||||||
|
@ -223,7 +215,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testWritePlainCookieArray
|
* testWritePlainCookieArray
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testWritePlainCookieArray() {
|
public function testWritePlainCookieArray() {
|
||||||
|
@ -254,7 +245,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadingCookieValue
|
* testReadingCookieValue
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadingCookieValue() {
|
public function testReadingCookieValue() {
|
||||||
|
@ -283,7 +273,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDeleteCookieValue
|
* testDeleteCookieValue
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteCookieValue() {
|
public function testDeleteCookieValue() {
|
||||||
|
@ -310,7 +299,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadingCookieArray
|
* testReadingCookieArray
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadingCookieArray() {
|
public function testReadingCookieArray() {
|
||||||
|
@ -368,7 +356,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadingCookieDataOnStartup
|
* testReadingCookieDataOnStartup
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadingCookieDataOnStartup() {
|
public function testReadingCookieDataOnStartup() {
|
||||||
|
@ -420,7 +407,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadingCookieDataWithoutStartup
|
* testReadingCookieDataWithoutStartup
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadingCookieDataWithoutStartup() {
|
public function testReadingCookieDataWithoutStartup() {
|
||||||
|
@ -551,7 +537,6 @@ class CookieComponentTest extends CakeTestCase {
|
||||||
*
|
*
|
||||||
* @param mixed $value
|
* @param mixed $value
|
||||||
* @return string
|
* @return string
|
||||||
* @access private
|
|
||||||
*/
|
*/
|
||||||
function __encrypt($value) {
|
function __encrypt($value) {
|
||||||
if (is_array($value)) {
|
if (is_array($value)) {
|
||||||
|
|
|
@ -32,7 +32,6 @@ class EmailTestComponent extends EmailComponent {
|
||||||
/**
|
/**
|
||||||
* Convenience method for testing.
|
* Convenience method for testing.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function strip($content, $message = false) {
|
public function strip($content, $message = false) {
|
||||||
|
@ -95,7 +94,6 @@ class EmailTestController extends Controller {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'EmailTest'
|
* @var string 'EmailTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'EmailTest';
|
public $name = 'EmailTest';
|
||||||
|
|
||||||
|
@ -103,7 +101,6 @@ class EmailTestController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var mixed null
|
* @var mixed null
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = null;
|
public $uses = null;
|
||||||
|
|
||||||
|
@ -111,7 +108,6 @@ class EmailTestController extends Controller {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Session', 'EmailTest');
|
public $components = array('Session', 'EmailTest');
|
||||||
|
|
||||||
|
@ -128,7 +124,6 @@ class EmailComponentTest extends CakeTestCase {
|
||||||
* Controller property
|
* Controller property
|
||||||
*
|
*
|
||||||
* @var EmailTestController
|
* @var EmailTestController
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Controller;
|
public $Controller;
|
||||||
|
|
||||||
|
@ -136,14 +131,12 @@ class EmailComponentTest extends CakeTestCase {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'Email'
|
* @var string 'Email'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Email';
|
public $name = 'Email';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -164,7 +157,6 @@ class EmailComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -177,7 +169,6 @@ class EmailComponentTest extends CakeTestCase {
|
||||||
* osFix method
|
* osFix method
|
||||||
*
|
*
|
||||||
* @param string $string
|
* @param string $string
|
||||||
* @access private
|
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function __osFix($string) {
|
function __osFix($string) {
|
||||||
|
@ -187,7 +178,6 @@ class EmailComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSendFormats method
|
* testSendFormats method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSendFormats() {
|
public function testSendFormats() {
|
||||||
|
@ -239,7 +229,6 @@ MSGBLOC;
|
||||||
/**
|
/**
|
||||||
* testTemplates method
|
* testTemplates method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testTemplates() {
|
public function testTemplates() {
|
||||||
|
@ -365,7 +354,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testSendDebug method
|
* testSendDebug method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSendDebug() {
|
public function testSendDebug() {
|
||||||
|
@ -427,7 +415,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testMessageRetrievalWithoutTemplate method
|
* testMessageRetrievalWithoutTemplate method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMessageRetrievalWithoutTemplate() {
|
public function testMessageRetrievalWithoutTemplate() {
|
||||||
|
@ -465,7 +452,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testMessageRetrievalWithTemplate method
|
* testMessageRetrievalWithTemplate method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMessageRetrievalWithTemplate() {
|
public function testMessageRetrievalWithTemplate() {
|
||||||
|
@ -526,7 +512,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testMessageRetrievalWithHelper method
|
* testMessageRetrievalWithHelper method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMessageRetrievalWithHelper() {
|
public function testMessageRetrievalWithHelper() {
|
||||||
|
@ -555,7 +540,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testContentArray method
|
* testContentArray method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSendContentArray() {
|
public function testSendContentArray() {
|
||||||
|
@ -603,7 +587,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testContentStripping method
|
* testContentStripping method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testContentStripping() {
|
public function testContentStripping() {
|
||||||
|
@ -662,7 +645,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testMultibyte method
|
* testMultibyte method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyte() {
|
public function testMultibyte() {
|
||||||
|
@ -778,7 +760,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testReset method
|
* testReset method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReset() {
|
public function testReset() {
|
||||||
|
@ -849,7 +830,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testStartup method
|
* testStartup method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testStartup() {
|
public function testStartup() {
|
||||||
|
@ -859,7 +839,6 @@ HTMLBLOC;
|
||||||
/**
|
/**
|
||||||
* testMessageId method
|
* testMessageId method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMessageId() {
|
public function testMessageId() {
|
||||||
|
|
|
@ -34,7 +34,6 @@ class PaginatorTestController extends Controller {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'PaginatorTest'
|
* @var string 'PaginatorTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'PaginatorTest';
|
public $name = 'PaginatorTest';
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class PaginatorTestController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
//public $uses = null;
|
//public $uses = null;
|
||||||
|
|
||||||
|
@ -50,7 +48,6 @@ class PaginatorTestController extends Controller {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Paginator');
|
public $components = array('Paginator');
|
||||||
}
|
}
|
||||||
|
@ -66,7 +63,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'PaginatorControllerPost'
|
* @var string 'PaginatorControllerPost'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'PaginatorControllerPost';
|
public $name = 'PaginatorControllerPost';
|
||||||
|
|
||||||
|
@ -74,7 +70,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'posts';
|
public $useTable = 'posts';
|
||||||
|
|
||||||
|
@ -82,7 +77,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
||||||
* invalidFields property
|
* invalidFields property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $invalidFields = array('name' => 'error_msg');
|
public $invalidFields = array('name' => 'error_msg');
|
||||||
|
|
||||||
|
@ -97,7 +91,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
||||||
* beforeFind method
|
* beforeFind method
|
||||||
*
|
*
|
||||||
* @param mixed $query
|
* @param mixed $query
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeFind($query) {
|
public function beforeFind($query) {
|
||||||
|
@ -109,7 +102,6 @@ class PaginatorControllerPost extends CakeTestModel {
|
||||||
*
|
*
|
||||||
* @param mixed $type
|
* @param mixed $type
|
||||||
* @param array $options
|
* @param array $options
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function find($conditions = null, $fields = array(), $order = null, $recursive = null) {
|
public function find($conditions = null, $fields = array(), $order = null, $recursive = null) {
|
||||||
|
@ -133,7 +125,6 @@ class ControllerPaginateModel extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerPaginateModel'
|
* @var string 'ControllerPaginateModel'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ControllerPaginateModel';
|
public $name = 'ControllerPaginateModel';
|
||||||
|
|
||||||
|
@ -141,7 +132,6 @@ class ControllerPaginateModel extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'comments'
|
* @var string 'comments'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'comments';
|
public $useTable = 'comments';
|
||||||
|
|
||||||
|
@ -157,7 +147,6 @@ class ControllerPaginateModel extends CakeTestModel {
|
||||||
/**
|
/**
|
||||||
* paginateCount
|
* paginateCount
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function paginateCount($conditions, $recursive, $extra) {
|
public function paginateCount($conditions, $recursive, $extra) {
|
||||||
|
@ -176,7 +165,6 @@ class PaginatorControllerComment extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'Comment'
|
* @var string 'Comment'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Comment';
|
public $name = 'Comment';
|
||||||
|
|
||||||
|
@ -184,7 +172,6 @@ class PaginatorControllerComment extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'comments'
|
* @var string 'comments'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'comments';
|
public $useTable = 'comments';
|
||||||
|
|
||||||
|
@ -192,7 +179,6 @@ class PaginatorControllerComment extends CakeTestModel {
|
||||||
* alias property
|
* alias property
|
||||||
*
|
*
|
||||||
* @var string 'PaginatorControllerComment'
|
* @var string 'PaginatorControllerComment'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $alias = 'PaginatorControllerComment';
|
public $alias = 'PaginatorControllerComment';
|
||||||
}
|
}
|
||||||
|
@ -203,7 +189,6 @@ class PaginatorTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.post', 'core.comment');
|
public $fixtures = array('core.post', 'core.comment');
|
||||||
|
|
||||||
|
@ -226,7 +211,6 @@ class PaginatorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPaginate method
|
* testPaginate method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPaginate() {
|
public function testPaginate() {
|
||||||
|
@ -340,7 +324,6 @@ class PaginatorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPaginateExtraParams method
|
* testPaginateExtraParams method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPaginateExtraParams() {
|
public function testPaginateExtraParams() {
|
||||||
|
@ -462,7 +445,6 @@ class PaginatorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDefaultPaginateParams method
|
* testDefaultPaginateParams method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDefaultPaginateParams() {
|
public function testDefaultPaginateParams() {
|
||||||
|
@ -727,7 +709,6 @@ class PaginatorTest extends CakeTestCase {
|
||||||
* testPaginateMaxLimit
|
* testPaginateMaxLimit
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function testPaginateMaxLimit() {
|
public function testPaginateMaxLimit() {
|
||||||
$Controller = new Controller($this->request);
|
$Controller = new Controller($this->request);
|
||||||
|
|
|
@ -33,7 +33,6 @@ class RequestHandlerTestController extends Controller {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'RequestHandlerTest';
|
public $name = 'RequestHandlerTest';
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ class RequestHandlerTestController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var mixed null
|
* @var mixed null
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = null;
|
public $uses = null;
|
||||||
|
|
||||||
|
@ -89,7 +87,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
* Controller property
|
* Controller property
|
||||||
*
|
*
|
||||||
* @var RequestHandlerTestController
|
* @var RequestHandlerTestController
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Controller;
|
public $Controller;
|
||||||
|
|
||||||
|
@ -97,14 +94,12 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
* RequestHandler property
|
* RequestHandler property
|
||||||
*
|
*
|
||||||
* @var RequestHandlerComponent
|
* @var RequestHandlerComponent
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $RequestHandler;
|
public $RequestHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -115,7 +110,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* init method
|
* init method
|
||||||
*
|
*
|
||||||
* @access protected
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function _init() {
|
function _init() {
|
||||||
|
@ -130,7 +124,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* endTest method
|
* endTest method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -160,7 +153,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testInitializeCallback method
|
* testInitializeCallback method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInitializeCallback() {
|
public function testInitializeCallback() {
|
||||||
|
@ -212,7 +204,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDisabling method
|
* testDisabling method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDisabling() {
|
public function testDisabling() {
|
||||||
|
@ -227,7 +218,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAutoResponseType method
|
* testAutoResponseType method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAutoResponseType() {
|
public function testAutoResponseType() {
|
||||||
|
@ -242,7 +232,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAutoAjaxLayout method
|
* testAutoAjaxLayout method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAutoAjaxLayout() {
|
public function testAutoAjaxLayout() {
|
||||||
|
@ -262,7 +251,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testStartupCallback method
|
* testStartupCallback method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testStartupCallback() {
|
public function testStartupCallback() {
|
||||||
|
@ -314,7 +302,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testNonAjaxRedirect method
|
* testNonAjaxRedirect method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testNonAjaxRedirect() {
|
public function testNonAjaxRedirect() {
|
||||||
|
@ -326,7 +313,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRenderAs method
|
* testRenderAs method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRenderAs() {
|
public function testRenderAs() {
|
||||||
|
@ -433,7 +419,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRequestClientTypes method
|
* testRequestClientTypes method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRequestClientTypes() {
|
public function testRequestClientTypes() {
|
||||||
|
@ -447,7 +432,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests the detection of various Flash versions
|
* Tests the detection of various Flash versions
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFlashDetection() {
|
public function testFlashDetection() {
|
||||||
|
@ -463,7 +447,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRequestContentTypes method
|
* testRequestContentTypes method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRequestContentTypes() {
|
public function testRequestContentTypes() {
|
||||||
|
@ -503,7 +486,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testResponseContentType method
|
* testResponseContentType method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testResponseContentType() {
|
public function testResponseContentType() {
|
||||||
|
@ -515,7 +497,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMobileDeviceDetection method
|
* testMobileDeviceDetection method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMobileDeviceDetection() {
|
public function testMobileDeviceDetection() {
|
||||||
|
@ -531,7 +512,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRequestProperties method
|
* testRequestProperties method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRequestProperties() {
|
public function testRequestProperties() {
|
||||||
|
@ -547,7 +527,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRequestMethod method
|
* testRequestMethod method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRequestMethod() {
|
public function testRequestMethod() {
|
||||||
|
@ -612,7 +591,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* test accepts and prefers methods.
|
* test accepts and prefers methods.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPrefers() {
|
public function testPrefers() {
|
||||||
|
@ -637,7 +615,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCustomContent method
|
* testCustomContent method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCustomContent() {
|
public function testCustomContent() {
|
||||||
|
@ -650,7 +627,6 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testClientProperties method
|
* testClientProperties method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testClientProperties() {
|
public function testClientProperties() {
|
||||||
|
|
|
@ -30,7 +30,6 @@ class SessionTestController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array();
|
public $uses = array();
|
||||||
|
|
||||||
|
@ -55,7 +54,6 @@ class OrangeSessionTestController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array();
|
public $uses = array();
|
||||||
|
|
||||||
|
@ -111,7 +109,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -123,7 +120,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -134,7 +130,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* ensure that session ids don't change when request action is called.
|
* ensure that session ids don't change when request action is called.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionIdConsistentAcrossRequestAction() {
|
public function testSessionIdConsistentAcrossRequestAction() {
|
||||||
|
@ -156,7 +151,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionValid method
|
* testSessionValid method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionValid() {
|
public function testSessionValid() {
|
||||||
|
@ -176,7 +170,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionError method
|
* testSessionError method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionError() {
|
public function testSessionError() {
|
||||||
|
@ -187,7 +180,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionReadWrite method
|
* testSessionReadWrite method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionReadWrite() {
|
public function testSessionReadWrite() {
|
||||||
|
@ -221,7 +213,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionDelete method
|
* testSessionDelete method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionDelete() {
|
public function testSessionDelete() {
|
||||||
|
@ -236,7 +227,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionCheck method
|
* testSessionCheck method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionCheck() {
|
public function testSessionCheck() {
|
||||||
|
@ -252,7 +242,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionFlash method
|
* testSessionFlash method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionFlash() {
|
public function testSessionFlash() {
|
||||||
|
@ -278,7 +267,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionId method
|
* testSessionId method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionId() {
|
public function testSessionId() {
|
||||||
|
@ -291,7 +279,6 @@ class SessionComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionDestroy method
|
* testSessionDestroy method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionDestroy() {
|
public function testSessionDestroy() {
|
||||||
|
|
|
@ -31,7 +31,6 @@ class ParamTestComponent extends Component {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ParamTest'
|
* @var string 'ParamTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ParamTest';
|
public $name = 'ParamTest';
|
||||||
|
|
||||||
|
@ -39,7 +38,6 @@ class ParamTestComponent extends Component {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Banana' => array('config' => 'value'));
|
public $components = array('Banana' => array('config' => 'value'));
|
||||||
|
|
||||||
|
@ -48,7 +46,6 @@ class ParamTestComponent extends Component {
|
||||||
*
|
*
|
||||||
* @param mixed $controller
|
* @param mixed $controller
|
||||||
* @param mixed $settings
|
* @param mixed $settings
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function initialize(&$controller, $settings) {
|
public function initialize(&$controller, $settings) {
|
||||||
|
@ -73,7 +70,6 @@ class ComponentTestController extends Controller {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ComponentTest'
|
* @var string 'ComponentTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ComponentTest';
|
public $name = 'ComponentTest';
|
||||||
|
|
||||||
|
@ -81,7 +77,6 @@ class ComponentTestController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array();
|
public $uses = array();
|
||||||
|
|
||||||
|
@ -98,7 +93,6 @@ class AppleComponent extends Component {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Orange');
|
public $components = array('Orange');
|
||||||
|
|
||||||
|
@ -106,7 +100,6 @@ class AppleComponent extends Component {
|
||||||
* testName property
|
* testName property
|
||||||
*
|
*
|
||||||
* @var mixed null
|
* @var mixed null
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $testName = null;
|
public $testName = null;
|
||||||
|
|
||||||
|
@ -114,7 +107,6 @@ class AppleComponent extends Component {
|
||||||
* startup method
|
* startup method
|
||||||
*
|
*
|
||||||
* @param mixed $controller
|
* @param mixed $controller
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function startup(&$controller) {
|
public function startup(&$controller) {
|
||||||
|
@ -133,7 +125,6 @@ class OrangeComponent extends Component {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Banana');
|
public $components = array('Banana');
|
||||||
|
|
||||||
|
@ -141,7 +132,6 @@ class OrangeComponent extends Component {
|
||||||
* initialize method
|
* initialize method
|
||||||
*
|
*
|
||||||
* @param mixed $controller
|
* @param mixed $controller
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function initialize(&$controller) {
|
public function initialize(&$controller) {
|
||||||
|
@ -171,7 +161,6 @@ class BananaComponent extends Component {
|
||||||
* testField property
|
* testField property
|
||||||
*
|
*
|
||||||
* @var string 'BananaField'
|
* @var string 'BananaField'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $testField = 'BananaField';
|
public $testField = 'BananaField';
|
||||||
|
|
||||||
|
@ -197,7 +186,6 @@ class MutuallyReferencingOneComponent extends Component {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('MutuallyReferencingTwo');
|
public $components = array('MutuallyReferencingTwo');
|
||||||
}
|
}
|
||||||
|
@ -213,7 +201,6 @@ class MutuallyReferencingTwoComponent extends Component {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('MutuallyReferencingOne');
|
public $components = array('MutuallyReferencingOne');
|
||||||
}
|
}
|
||||||
|
@ -229,7 +216,6 @@ class SomethingWithEmailComponent extends Component {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Email');
|
public $components = array('Email');
|
||||||
}
|
}
|
||||||
|
@ -245,7 +231,6 @@ class ComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -258,7 +243,6 @@ class ComponentTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
|
|
@ -33,21 +33,18 @@ class ControllerTestAppController extends Controller {
|
||||||
* helpers property
|
* helpers property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $helpers = array('Html');
|
public $helpers = array('Html');
|
||||||
/**
|
/**
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array('ControllerPost');
|
public $uses = array('ControllerPost');
|
||||||
/**
|
/**
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Cookie');
|
public $components = array('Cookie');
|
||||||
}
|
}
|
||||||
|
@ -64,7 +61,6 @@ class ControllerPost extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerPost'
|
* @var string 'ControllerPost'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ControllerPost';
|
public $name = 'ControllerPost';
|
||||||
|
|
||||||
|
@ -72,7 +68,6 @@ class ControllerPost extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'posts';
|
public $useTable = 'posts';
|
||||||
|
|
||||||
|
@ -80,7 +75,6 @@ class ControllerPost extends CakeTestModel {
|
||||||
* invalidFields property
|
* invalidFields property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $invalidFields = array('name' => 'error_msg');
|
public $invalidFields = array('name' => 'error_msg');
|
||||||
|
|
||||||
|
@ -88,7 +82,6 @@ class ControllerPost extends CakeTestModel {
|
||||||
* lastQuery property
|
* lastQuery property
|
||||||
*
|
*
|
||||||
* @var mixed null
|
* @var mixed null
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $lastQuery = null;
|
public $lastQuery = null;
|
||||||
|
|
||||||
|
@ -96,7 +89,6 @@ class ControllerPost extends CakeTestModel {
|
||||||
* beforeFind method
|
* beforeFind method
|
||||||
*
|
*
|
||||||
* @param mixed $query
|
* @param mixed $query
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeFind($query) {
|
public function beforeFind($query) {
|
||||||
|
@ -108,7 +100,6 @@ class ControllerPost extends CakeTestModel {
|
||||||
*
|
*
|
||||||
* @param mixed $type
|
* @param mixed $type
|
||||||
* @param array $options
|
* @param array $options
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function find($type, $options = array()) {
|
public function find($type, $options = array()) {
|
||||||
|
@ -132,7 +123,6 @@ class ControllerCommentsController extends ControllerTestAppController {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerPost'
|
* @var string 'ControllerPost'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ControllerComments';
|
public $name = 'ControllerComments';
|
||||||
|
|
||||||
|
@ -150,7 +140,6 @@ class ControllerComment extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerComment'
|
* @var string 'ControllerComment'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Comment';
|
public $name = 'Comment';
|
||||||
|
|
||||||
|
@ -158,7 +147,6 @@ class ControllerComment extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'comments'
|
* @var string 'comments'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'comments';
|
public $useTable = 'comments';
|
||||||
|
|
||||||
|
@ -166,7 +154,6 @@ class ControllerComment extends CakeTestModel {
|
||||||
* data property
|
* data property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $data = array('name' => 'Some Name');
|
public $data = array('name' => 'Some Name');
|
||||||
|
|
||||||
|
@ -174,7 +161,6 @@ class ControllerComment extends CakeTestModel {
|
||||||
* alias property
|
* alias property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerComment'
|
* @var string 'ControllerComment'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $alias = 'ControllerComment';
|
public $alias = 'ControllerComment';
|
||||||
}
|
}
|
||||||
|
@ -190,7 +176,6 @@ class ControllerAlias extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerAlias'
|
* @var string 'ControllerAlias'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ControllerAlias';
|
public $name = 'ControllerAlias';
|
||||||
|
|
||||||
|
@ -198,7 +183,6 @@ class ControllerAlias extends CakeTestModel {
|
||||||
* alias property
|
* alias property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerSomeAlias'
|
* @var string 'ControllerSomeAlias'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $alias = 'ControllerSomeAlias';
|
public $alias = 'ControllerSomeAlias';
|
||||||
|
|
||||||
|
@ -206,7 +190,6 @@ class ControllerAlias extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'posts';
|
public $useTable = 'posts';
|
||||||
}
|
}
|
||||||
|
@ -221,14 +204,12 @@ class NameTest extends CakeTestModel {
|
||||||
/**
|
/**
|
||||||
* name property
|
* name property
|
||||||
* @var string 'Name'
|
* @var string 'Name'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Name';
|
public $name = 'Name';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* useTable property
|
* useTable property
|
||||||
* @var string 'names'
|
* @var string 'names'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'comments';
|
public $useTable = 'comments';
|
||||||
|
|
||||||
|
@ -236,7 +217,6 @@ class NameTest extends CakeTestModel {
|
||||||
* alias property
|
* alias property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerComment'
|
* @var string 'ControllerComment'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $alias = 'Name';
|
public $alias = 'Name';
|
||||||
}
|
}
|
||||||
|
@ -251,7 +231,6 @@ class TestController extends ControllerTestAppController {
|
||||||
/**
|
/**
|
||||||
* name property
|
* name property
|
||||||
* @var string 'Name'
|
* @var string 'Name'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Test';
|
public $name = 'Test';
|
||||||
|
|
||||||
|
@ -259,7 +238,6 @@ class TestController extends ControllerTestAppController {
|
||||||
* helpers property
|
* helpers property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $helpers = array('Session');
|
public $helpers = array('Session');
|
||||||
|
|
||||||
|
@ -267,7 +245,6 @@ class TestController extends ControllerTestAppController {
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $components = array('Security');
|
public $components = array('Security');
|
||||||
|
|
||||||
|
@ -275,7 +252,6 @@ class TestController extends ControllerTestAppController {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array('ControllerComment', 'ControllerAlias');
|
public $uses = array('ControllerComment', 'ControllerAlias');
|
||||||
|
|
||||||
|
@ -286,7 +262,6 @@ class TestController extends ControllerTestAppController {
|
||||||
*
|
*
|
||||||
* @param mixed $testId
|
* @param mixed $testId
|
||||||
* @param mixed $test2Id
|
* @param mixed $test2Id
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function index($testId, $test2Id) {
|
public function index($testId, $test2Id) {
|
||||||
|
@ -326,7 +301,6 @@ class TestComponent extends Object {
|
||||||
/**
|
/**
|
||||||
* beforeRedirect method
|
* beforeRedirect method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeRedirect() {
|
public function beforeRedirect() {
|
||||||
|
@ -334,7 +308,6 @@ class TestComponent extends Object {
|
||||||
/**
|
/**
|
||||||
* initialize method
|
* initialize method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function initialize(&$controller) {
|
public function initialize(&$controller) {
|
||||||
|
@ -343,7 +316,6 @@ class TestComponent extends Object {
|
||||||
/**
|
/**
|
||||||
* startup method
|
* startup method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function startup(&$controller) {
|
public function startup(&$controller) {
|
||||||
|
@ -351,7 +323,6 @@ class TestComponent extends Object {
|
||||||
/**
|
/**
|
||||||
* shutdown method
|
* shutdown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function shutdown(&$controller) {
|
public function shutdown(&$controller) {
|
||||||
|
@ -378,14 +349,12 @@ class AnotherTestController extends ControllerTestAppController {
|
||||||
/**
|
/**
|
||||||
* name property
|
* name property
|
||||||
* @var string 'Name'
|
* @var string 'Name'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AnotherTest';
|
public $name = 'AnotherTest';
|
||||||
/**
|
/**
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = null;
|
public $uses = null;
|
||||||
|
|
||||||
|
@ -403,7 +372,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.post', 'core.comment', 'core.name');
|
public $fixtures = array('core.post', 'core.comment', 'core.name');
|
||||||
|
|
||||||
|
@ -421,7 +389,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* teardown
|
* teardown
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function teardown() {
|
public function teardown() {
|
||||||
|
@ -432,7 +399,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLoadModel method
|
* testLoadModel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoadModel() {
|
public function testLoadModel() {
|
||||||
|
@ -454,7 +420,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLoadModel method from a plugin controller
|
* testLoadModel method from a plugin controller
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoadModelInPlugins() {
|
public function testLoadModelInPlugins() {
|
||||||
|
@ -485,7 +450,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testConstructClasses method
|
* testConstructClasses method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testConstructClasses() {
|
public function testConstructClasses() {
|
||||||
|
@ -518,7 +482,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAliasName method
|
* testAliasName method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAliasName() {
|
public function testAliasName() {
|
||||||
|
@ -536,7 +499,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFlash method
|
* testFlash method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFlash() {
|
public function testFlash() {
|
||||||
|
@ -581,7 +543,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testControllerSet method
|
* testControllerSet method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testControllerSet() {
|
public function testControllerSet() {
|
||||||
|
@ -625,7 +586,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRender method
|
* testRender method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRender() {
|
public function testRender() {
|
||||||
|
@ -700,7 +660,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testToBeInheritedGuardmethods method
|
* testToBeInheritedGuardmethods method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testToBeInheritedGuardmethods() {
|
public function testToBeInheritedGuardmethods() {
|
||||||
|
@ -734,7 +693,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
* testRedirect method
|
* testRedirect method
|
||||||
*
|
*
|
||||||
* @dataProvider statusCodeProvider
|
* @dataProvider statusCodeProvider
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRedirectByCode($code, $msg) {
|
public function testRedirectByCode($code, $msg) {
|
||||||
|
@ -871,7 +829,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMergeVars method
|
* testMergeVars method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMergeVars() {
|
public function testMergeVars() {
|
||||||
|
@ -933,7 +890,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* test that options from child classes replace those in the parent classes.
|
* test that options from child classes replace those in the parent classes.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testChildComponentOptionsSupercedeParents() {
|
public function testChildComponentOptionsSupercedeParents() {
|
||||||
|
@ -967,7 +923,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReferer method
|
* testReferer method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReferer() {
|
public function testReferer() {
|
||||||
|
@ -1004,7 +959,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSetAction method
|
* testSetAction method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSetAction() {
|
public function testSetAction() {
|
||||||
|
@ -1019,7 +973,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testValidateErrors method
|
* testValidateErrors method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testValidateErrors() {
|
public function testValidateErrors() {
|
||||||
|
@ -1062,7 +1015,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPostConditions method
|
* testPostConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPostConditions() {
|
public function testPostConditions() {
|
||||||
|
@ -1128,7 +1080,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRequestHandlerPrefers method
|
* testRequestHandlerPrefers method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRequestHandlerPrefers(){
|
public function testRequestHandlerPrefers(){
|
||||||
|
@ -1153,7 +1104,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testControllerHttpCodes method
|
* testControllerHttpCodes method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testControllerHttpCodes() {
|
public function testControllerHttpCodes() {
|
||||||
|
@ -1168,7 +1118,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests that the startup process calls the correct functions
|
* Tests that the startup process calls the correct functions
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testStartupProcess() {
|
public function testStartupProcess() {
|
||||||
|
@ -1189,7 +1138,6 @@ class ControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests that the shutdown process calls the correct functions
|
* Tests that the shutdown process calls the correct functions
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testShutdownProcess() {
|
public function testShutdownProcess() {
|
||||||
|
|
|
@ -29,7 +29,6 @@ class PagesControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* endTest method
|
* endTest method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function endTest() {
|
public function endTest() {
|
||||||
|
@ -39,7 +38,6 @@ class PagesControllerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDisplay method
|
* testDisplay method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDisplay() {
|
public function testDisplay() {
|
||||||
|
|
|
@ -32,7 +32,6 @@ class ScaffoldMockController extends Controller {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ScaffoldMock'
|
* @var string 'ScaffoldMock'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ScaffoldMock';
|
public $name = 'ScaffoldMock';
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class ScaffoldMockController extends Controller {
|
||||||
* scaffold property
|
* scaffold property
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $scaffold;
|
public $scaffold;
|
||||||
}
|
}
|
||||||
|
@ -56,7 +54,6 @@ class ScaffoldMockControllerWithFields extends Controller {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ScaffoldMock'
|
* @var string 'ScaffoldMock'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'ScaffoldMock';
|
public $name = 'ScaffoldMock';
|
||||||
|
|
||||||
|
@ -64,7 +61,6 @@ class ScaffoldMockControllerWithFields extends Controller {
|
||||||
* scaffold property
|
* scaffold property
|
||||||
*
|
*
|
||||||
* @var mixed
|
* @var mixed
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $scaffold;
|
public $scaffold;
|
||||||
|
|
||||||
|
@ -116,7 +112,6 @@ class ScaffoldMock extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'articles';
|
public $useTable = 'articles';
|
||||||
|
|
||||||
|
@ -124,7 +119,6 @@ class ScaffoldMock extends CakeTestModel {
|
||||||
* belongsTo property
|
* belongsTo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array(
|
public $belongsTo = array(
|
||||||
'User' => array(
|
'User' => array(
|
||||||
|
@ -137,7 +131,6 @@ class ScaffoldMock extends CakeTestModel {
|
||||||
* hasMany property
|
* hasMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasMany = array(
|
public $hasMany = array(
|
||||||
'Comment' => array(
|
'Comment' => array(
|
||||||
|
@ -171,7 +164,6 @@ class ScaffoldUser extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'users';
|
public $useTable = 'users';
|
||||||
|
|
||||||
|
@ -179,7 +171,6 @@ class ScaffoldUser extends CakeTestModel {
|
||||||
* hasMany property
|
* hasMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasMany = array(
|
public $hasMany = array(
|
||||||
'Article' => array(
|
'Article' => array(
|
||||||
|
@ -200,7 +191,6 @@ class ScaffoldComment extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'comments';
|
public $useTable = 'comments';
|
||||||
|
|
||||||
|
@ -208,7 +198,6 @@ class ScaffoldComment extends CakeTestModel {
|
||||||
* belongsTo property
|
* belongsTo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array(
|
public $belongsTo = array(
|
||||||
'Article' => array(
|
'Article' => array(
|
||||||
|
@ -228,7 +217,6 @@ class ScaffoldTag extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'tags';
|
public $useTable = 'tags';
|
||||||
}
|
}
|
||||||
|
@ -243,7 +231,6 @@ class TestScaffoldView extends ScaffoldView {
|
||||||
* testGetFilename method
|
* testGetFilename method
|
||||||
*
|
*
|
||||||
* @param mixed $action
|
* @param mixed $action
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetFilename($action) {
|
public function testGetFilename($action) {
|
||||||
|
@ -262,14 +249,12 @@ class ScaffoldViewTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.article', 'core.user', 'core.comment', 'core.join_thing', 'core.tag');
|
public $fixtures = array('core.article', 'core.user', 'core.comment', 'core.join_thing', 'core.tag');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -299,7 +284,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetViewFilename method
|
* testGetViewFilename method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetViewFilename() {
|
public function testGetViewFilename() {
|
||||||
|
@ -402,7 +386,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* test default index scaffold generation
|
* test default index scaffold generation
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIndexScaffold() {
|
public function testIndexScaffold() {
|
||||||
|
@ -442,7 +425,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* test default view scaffold generation
|
* test default view scaffold generation
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testViewScaffold() {
|
public function testViewScaffold() {
|
||||||
|
@ -485,7 +467,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* test default view scaffold generation
|
* test default view scaffold generation
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testEditScaffold() {
|
public function testEditScaffold() {
|
||||||
|
@ -528,7 +509,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Test Admin Index Scaffolding.
|
* Test Admin Index Scaffolding.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAdminIndexScaffold() {
|
public function testAdminIndexScaffold() {
|
||||||
|
@ -574,7 +554,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Test Admin Index Scaffolding.
|
* Test Admin Index Scaffolding.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAdminEditScaffold() {
|
public function testAdminEditScaffold() {
|
||||||
|
@ -614,7 +593,6 @@ class ScaffoldViewTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Test Admin Index Scaffolding.
|
* Test Admin Index Scaffolding.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultiplePrefixScaffold() {
|
public function testMultiplePrefixScaffold() {
|
||||||
|
@ -670,7 +648,6 @@ class ScaffoldTest extends CakeTestCase {
|
||||||
* Controller property
|
* Controller property
|
||||||
*
|
*
|
||||||
* @var SecurityTestController
|
* @var SecurityTestController
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Controller;
|
public $Controller;
|
||||||
|
|
||||||
|
@ -678,7 +655,6 @@ class ScaffoldTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.article', 'core.user', 'core.comment', 'core.join_thing', 'core.tag');
|
public $fixtures = array('core.article', 'core.user', 'core.comment', 'core.join_thing', 'core.tag');
|
||||||
/**
|
/**
|
||||||
|
@ -707,7 +683,6 @@ class ScaffoldTest extends CakeTestCase {
|
||||||
* Test the correct Generation of Scaffold Params.
|
* Test the correct Generation of Scaffold Params.
|
||||||
* This ensures that the correct action and view will be generated
|
* This ensures that the correct action and view will be generated
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testScaffoldParams() {
|
public function testScaffoldParams() {
|
||||||
|
|
|
@ -19,7 +19,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBuild method
|
* testBuild method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBuild() {
|
public function testBuild() {
|
||||||
|
@ -87,7 +86,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tests that it is possible to set up paths using the cake 1.3 notation for them (models, behaviors, controllers...)
|
* tests that it is possible to set up paths using the cake 1.3 notation for them (models, behaviors, controllers...)
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCompatibleBuild() {
|
public function testCompatibleBuild() {
|
||||||
|
@ -188,7 +186,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBuildWithReset method
|
* testBuildWithReset method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBuildWithReset() {
|
public function testBuildWithReset() {
|
||||||
|
@ -216,7 +213,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCore method
|
* testCore method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCore() {
|
public function testCore() {
|
||||||
|
@ -242,7 +238,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testListObjects method
|
* testListObjects method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testListObjects() {
|
public function testListObjects() {
|
||||||
|
@ -404,7 +399,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testClassLoading method
|
* testClassLoading method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testClassLoading() {
|
public function testClassLoading() {
|
||||||
|
@ -545,7 +539,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFileLoading method
|
* testFileLoading method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFileLoading () {
|
public function testFileLoading () {
|
||||||
|
@ -559,7 +552,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFileLoadingWithArray method
|
* testFileLoadingWithArray method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFileLoadingWithArray() {
|
public function testFileLoadingWithArray() {
|
||||||
|
@ -577,7 +569,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFileLoadingReturnValue method
|
* testFileLoadingReturnValue method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFileLoadingReturnValue () {
|
public function testFileLoadingReturnValue () {
|
||||||
|
@ -597,7 +588,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLoadingWithSearch method
|
* testLoadingWithSearch method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoadingWithSearch () {
|
public function testLoadingWithSearch () {
|
||||||
|
@ -611,7 +601,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLoadingWithSearchArray method
|
* testLoadingWithSearchArray method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoadingWithSearchArray() {
|
public function testLoadingWithSearchArray() {
|
||||||
|
@ -639,7 +628,6 @@ class AppTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultipleLoading method
|
* testMultipleLoading method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultipleLoading() {
|
public function testMultipleLoading() {
|
||||||
|
|
|
@ -30,7 +30,6 @@ class ConfigureTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -45,7 +44,6 @@ class ConfigureTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -75,7 +73,6 @@ class ConfigureTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRead method
|
* testRead method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRead() {
|
public function testRead() {
|
||||||
|
@ -103,7 +100,6 @@ class ConfigureTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testWrite method
|
* testWrite method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testWrite() {
|
public function testWrite() {
|
||||||
|
@ -156,7 +152,6 @@ class ConfigureTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDelete method
|
* testDelete method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDelete() {
|
public function testDelete() {
|
||||||
|
@ -241,7 +236,6 @@ class ConfigureTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLoad method
|
* testLoad method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoadPlugin() {
|
public function testLoadPlugin() {
|
||||||
|
@ -265,7 +259,6 @@ class ConfigureTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testStore method
|
* testStore method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testStoreAndRestore() {
|
public function testStoreAndRestore() {
|
||||||
|
@ -306,7 +299,6 @@ class ConfigureTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testVersion method
|
* testVersion method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testVersion() {
|
public function testVersion() {
|
||||||
|
|
|
@ -33,7 +33,6 @@ class RequestActionPost extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'ControllerPost'
|
* @var string 'ControllerPost'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'RequestActionPost';
|
public $name = 'RequestActionPost';
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ class RequestActionPost extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'posts';
|
public $useTable = 'posts';
|
||||||
}
|
}
|
||||||
|
@ -86,7 +84,6 @@ class RequestActionController extends Controller {
|
||||||
/**
|
/**
|
||||||
* normal_request_action method
|
* normal_request_action method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function normal_request_action() {
|
public function normal_request_action() {
|
||||||
|
@ -105,7 +102,6 @@ class RequestActionController extends Controller {
|
||||||
/**
|
/**
|
||||||
* paginate_request_action method
|
* paginate_request_action method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function paginate_request_action() {
|
public function paginate_request_action() {
|
||||||
|
@ -144,7 +140,6 @@ class TestObject extends Object {
|
||||||
* firstName property
|
* firstName property
|
||||||
*
|
*
|
||||||
* @var string 'Joel'
|
* @var string 'Joel'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $firstName = 'Joel';
|
public $firstName = 'Joel';
|
||||||
|
|
||||||
|
@ -152,7 +147,6 @@ class TestObject extends Object {
|
||||||
* lastName property
|
* lastName property
|
||||||
*
|
*
|
||||||
* @var string 'Moss'
|
* @var string 'Moss'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $lastName = 'Moss';
|
public $lastName = 'Moss';
|
||||||
|
|
||||||
|
@ -160,14 +154,12 @@ class TestObject extends Object {
|
||||||
* methodCalls property
|
* methodCalls property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $methodCalls = array();
|
public $methodCalls = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* emptyMethod method
|
* emptyMethod method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function emptyMethod() {
|
public function emptyMethod() {
|
||||||
|
@ -178,7 +170,6 @@ class TestObject extends Object {
|
||||||
* oneParamMethod method
|
* oneParamMethod method
|
||||||
*
|
*
|
||||||
* @param mixed $param
|
* @param mixed $param
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function oneParamMethod($param) {
|
public function oneParamMethod($param) {
|
||||||
|
@ -190,7 +181,6 @@ class TestObject extends Object {
|
||||||
*
|
*
|
||||||
* @param mixed $param
|
* @param mixed $param
|
||||||
* @param mixed $param2
|
* @param mixed $param2
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function twoParamMethod($param, $param2) {
|
public function twoParamMethod($param, $param2) {
|
||||||
|
@ -203,7 +193,6 @@ class TestObject extends Object {
|
||||||
* @param mixed $param
|
* @param mixed $param
|
||||||
* @param mixed $param2
|
* @param mixed $param2
|
||||||
* @param mixed $param3
|
* @param mixed $param3
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function threeParamMethod($param, $param2, $param3) {
|
public function threeParamMethod($param, $param2, $param3) {
|
||||||
|
@ -216,7 +205,6 @@ class TestObject extends Object {
|
||||||
* @param mixed $param2
|
* @param mixed $param2
|
||||||
* @param mixed $param3
|
* @param mixed $param3
|
||||||
* @param mixed $param4
|
* @param mixed $param4
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function fourParamMethod($param, $param2, $param3, $param4) {
|
public function fourParamMethod($param, $param2, $param3, $param4) {
|
||||||
|
@ -230,7 +218,6 @@ class TestObject extends Object {
|
||||||
* @param mixed $param3
|
* @param mixed $param3
|
||||||
* @param mixed $param4
|
* @param mixed $param4
|
||||||
* @param mixed $param5
|
* @param mixed $param5
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function fiveParamMethod($param, $param2, $param3, $param4, $param5) {
|
public function fiveParamMethod($param, $param2, $param3, $param4, $param5) {
|
||||||
|
@ -247,7 +234,6 @@ class TestObject extends Object {
|
||||||
* @param mixed $param5
|
* @param mixed $param5
|
||||||
* @param mixed $param6
|
* @param mixed $param6
|
||||||
* @param mixed $param7
|
* @param mixed $param7
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function crazyMethod($param, $param2, $param3, $param4, $param5, $param6, $param7 = null) {
|
public function crazyMethod($param, $param2, $param3, $param4, $param5, $param6, $param7 = null) {
|
||||||
|
@ -258,7 +244,6 @@ class TestObject extends Object {
|
||||||
* methodWithOptionalParam method
|
* methodWithOptionalParam method
|
||||||
*
|
*
|
||||||
* @param mixed $param
|
* @param mixed $param
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function methodWithOptionalParam($param = null) {
|
public function methodWithOptionalParam($param = null) {
|
||||||
|
@ -302,7 +287,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -312,7 +296,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -324,7 +307,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLog method
|
* testLog method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLog() {
|
public function testLog() {
|
||||||
|
@ -355,7 +337,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSet method
|
* testSet method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSet() {
|
public function testSet() {
|
||||||
|
@ -376,7 +357,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testToString method
|
* testToString method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testToString() {
|
public function testToString() {
|
||||||
|
@ -387,7 +367,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMethodDispatching method
|
* testMethodDispatching method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMethodDispatching() {
|
public function testMethodDispatching() {
|
||||||
|
@ -454,7 +433,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRequestAction method
|
* testRequestAction method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRequestAction() {
|
public function testRequestAction() {
|
||||||
|
@ -585,7 +563,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Test that requestAction() is populating $this->params properly
|
* Test that requestAction() is populating $this->params properly
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRequestActionParamParseAndPass() {
|
public function testRequestActionParamParseAndPass() {
|
||||||
|
@ -609,7 +586,6 @@ class ObjectTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* test requestAction and POST parameter passing, and not passing when url is an array.
|
* test requestAction and POST parameter passing, and not passing when url is an array.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRequestActionPostPassing() {
|
public function testRequestActionPostPassing() {
|
||||||
|
|
|
@ -34,7 +34,6 @@ class AuthBlueberryUser extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'AuthBlueberryUser'
|
* @var string 'AuthBlueberryUser'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AuthBlueberryUser';
|
public $name = 'AuthBlueberryUser';
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class AuthBlueberryUser extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = false;
|
public $useTable = false;
|
||||||
}
|
}
|
||||||
|
@ -57,7 +55,6 @@ class BlueberryComponent extends Component {
|
||||||
/**
|
/**
|
||||||
* testName property
|
* testName property
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public $testName = null;
|
public $testName = null;
|
||||||
|
@ -65,7 +62,6 @@ class BlueberryComponent extends Component {
|
||||||
/**
|
/**
|
||||||
* initialize method
|
* initialize method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function initialize(&$controller) {
|
public function initialize(&$controller) {
|
||||||
|
@ -84,14 +80,12 @@ class TestErrorController extends Controller {
|
||||||
* uses property
|
* uses property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $uses = array();
|
public $uses = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* components property
|
* components property
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public $components = array('Blueberry');
|
public $components = array('Blueberry');
|
||||||
|
@ -99,7 +93,6 @@ class TestErrorController extends Controller {
|
||||||
/**
|
/**
|
||||||
* beforeRender method
|
* beforeRender method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeRender() {
|
public function beforeRender() {
|
||||||
|
@ -109,7 +102,6 @@ class TestErrorController extends Controller {
|
||||||
/**
|
/**
|
||||||
* index method
|
* index method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function index() {
|
public function index() {
|
||||||
|
@ -340,7 +332,6 @@ class ExceptionRendererTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testerror400 method
|
* testerror400 method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testError400() {
|
public function testError400() {
|
||||||
|
@ -411,7 +402,6 @@ class ExceptionRendererTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testError500 method
|
* testError500 method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testError500Message() {
|
public function testError500Message() {
|
||||||
|
@ -430,7 +420,6 @@ class ExceptionRendererTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMissingController method
|
* testMissingController method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMissingController() {
|
public function testMissingController() {
|
||||||
|
|
|
@ -28,7 +28,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -43,7 +42,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -99,7 +97,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDefaultStrings method
|
* testDefaultStrings method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDefaultStrings() {
|
public function testDefaultStrings() {
|
||||||
|
@ -169,7 +166,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesZero method
|
* testPoRulesZero method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesZero() {
|
public function testPoRulesZero() {
|
||||||
|
@ -241,7 +237,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesZero method
|
* testMoRulesZero method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesZero() {
|
public function testMoRulesZero() {
|
||||||
|
@ -313,7 +308,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesOne method
|
* testPoRulesOne method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesOne() {
|
public function testPoRulesOne() {
|
||||||
|
@ -385,7 +379,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesOne method
|
* testMoRulesOne method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesOne() {
|
public function testMoRulesOne() {
|
||||||
|
@ -457,7 +450,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesTwo method
|
* testPoRulesTwo method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesTwo() {
|
public function testPoRulesTwo() {
|
||||||
|
@ -529,7 +521,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesTwo method
|
* testMoRulesTwo method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesTwo() {
|
public function testMoRulesTwo() {
|
||||||
|
@ -601,7 +592,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesThree method
|
* testPoRulesThree method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesThree() {
|
public function testPoRulesThree() {
|
||||||
|
@ -673,7 +663,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesThree method
|
* testMoRulesThree method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesThree() {
|
public function testMoRulesThree() {
|
||||||
|
@ -745,7 +734,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesFour method
|
* testPoRulesFour method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesFour() {
|
public function testPoRulesFour() {
|
||||||
|
@ -817,7 +805,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesFour method
|
* testMoRulesFour method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesFour() {
|
public function testMoRulesFour() {
|
||||||
|
@ -889,7 +876,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesFive method
|
* testPoRulesFive method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesFive() {
|
public function testPoRulesFive() {
|
||||||
|
@ -963,7 +949,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesFive method
|
* testMoRulesFive method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesFive() {
|
public function testMoRulesFive() {
|
||||||
|
@ -1037,7 +1022,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesSix method
|
* testPoRulesSix method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesSix() {
|
public function testPoRulesSix() {
|
||||||
|
@ -1109,7 +1093,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesSix method
|
* testMoRulesSix method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesSix() {
|
public function testMoRulesSix() {
|
||||||
|
@ -1181,7 +1164,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesSeven method
|
* testPoRulesSeven method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesSeven() {
|
public function testPoRulesSeven() {
|
||||||
|
@ -1253,7 +1235,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesSeven method
|
* testMoRulesSeven method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesSeven() {
|
public function testMoRulesSeven() {
|
||||||
|
@ -1325,7 +1306,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesEight method
|
* testPoRulesEight method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesEight() {
|
public function testPoRulesEight() {
|
||||||
|
@ -1397,7 +1377,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesEight method
|
* testMoRulesEight method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesEight() {
|
public function testMoRulesEight() {
|
||||||
|
@ -1469,7 +1448,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesNine method
|
* testPoRulesNine method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesNine() {
|
public function testPoRulesNine() {
|
||||||
|
@ -1544,7 +1522,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesNine method
|
* testMoRulesNine method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesNine() {
|
public function testMoRulesNine() {
|
||||||
|
@ -1619,7 +1596,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesTen method
|
* testPoRulesTen method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesTen() {
|
public function testPoRulesTen() {
|
||||||
|
@ -1693,7 +1669,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesTen method
|
* testMoRulesTen method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesTen() {
|
public function testMoRulesTen() {
|
||||||
|
@ -1767,7 +1742,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesEleven method
|
* testPoRulesEleven method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesEleven() {
|
public function testPoRulesEleven() {
|
||||||
|
@ -1839,7 +1813,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesEleven method
|
* testMoRulesEleven method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesEleven() {
|
public function testMoRulesEleven() {
|
||||||
|
@ -1911,7 +1884,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesTwelve method
|
* testPoRulesTwelve method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesTwelve() {
|
public function testPoRulesTwelve() {
|
||||||
|
@ -1983,7 +1955,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesTwelve method
|
* testMoRulesTwelve method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesTwelve() {
|
public function testMoRulesTwelve() {
|
||||||
|
@ -2055,7 +2026,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesThirteen method
|
* testPoRulesThirteen method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesThirteen() {
|
public function testPoRulesThirteen() {
|
||||||
|
@ -2127,7 +2097,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesThirteen method
|
* testMoRulesThirteen method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesThirteen() {
|
public function testMoRulesThirteen() {
|
||||||
|
@ -2199,7 +2168,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoRulesFourteen method
|
* testPoRulesFourteen method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoRulesFourteen() {
|
public function testPoRulesFourteen() {
|
||||||
|
@ -2271,7 +2239,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoRulesFourteen method
|
* testMoRulesFourteen method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoRulesFourteen() {
|
public function testMoRulesFourteen() {
|
||||||
|
@ -2343,7 +2310,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSetLanguageWithSession method
|
* testSetLanguageWithSession method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSetLanguageWithSession () {
|
public function testSetLanguageWithSession () {
|
||||||
|
@ -2384,7 +2350,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testNoCoreTranslation method
|
* testNoCoreTranslation method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testNoCoreTranslation () {
|
public function testNoCoreTranslation () {
|
||||||
|
@ -2427,7 +2392,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPluginTranslation method
|
* testPluginTranslation method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPluginTranslation() {
|
public function testPluginTranslation() {
|
||||||
|
@ -2471,7 +2435,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoMultipleLineTranslation method
|
* testPoMultipleLineTranslation method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoMultipleLineTranslation () {
|
public function testPoMultipleLineTranslation () {
|
||||||
|
@ -2545,7 +2508,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoNoTranslationNeeded method
|
* testPoNoTranslationNeeded method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoNoTranslationNeeded () {
|
public function testPoNoTranslationNeeded () {
|
||||||
|
@ -2557,7 +2519,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPoQuotedString method
|
* testPoQuotedString method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPoQuotedString () {
|
public function testPoQuotedString () {
|
||||||
|
@ -2568,7 +2529,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFloatValue method
|
* testFloatValue method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFloatValue() {
|
public function testFloatValue() {
|
||||||
|
@ -2590,7 +2550,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCategory method
|
* testCategory method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCategory() {
|
public function testCategory() {
|
||||||
|
@ -2602,7 +2561,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testPluginCategory method
|
* testPluginCategory method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPluginCategory() {
|
public function testPluginCategory() {
|
||||||
|
@ -2619,7 +2577,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCategoryThenSingular method
|
* testCategoryThenSingular method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCategoryThenSingular() {
|
public function testCategoryThenSingular() {
|
||||||
|
@ -2666,7 +2623,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Singular method
|
* Singular method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __domainCategorySingular($domain = 'test_plugin', $category = 3) {
|
function __domainCategorySingular($domain = 'test_plugin', $category = 3) {
|
||||||
|
@ -2677,7 +2633,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Plural method
|
* Plural method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __domainCategoryPlural($domain = 'test_plugin', $category = 3) {
|
function __domainCategoryPlural($domain = 'test_plugin', $category = 3) {
|
||||||
|
@ -2691,7 +2646,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Singular method
|
* Singular method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __domainSingular($domain = 'test_plugin') {
|
function __domainSingular($domain = 'test_plugin') {
|
||||||
|
@ -2702,7 +2656,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Plural method
|
* Plural method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __domainPlural($domain = 'test_plugin') {
|
function __domainPlural($domain = 'test_plugin') {
|
||||||
|
@ -2716,7 +2669,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* category method
|
* category method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __category($category = 3) {
|
function __category($category = 3) {
|
||||||
|
@ -2727,7 +2679,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Singular method
|
* Singular method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __singular() {
|
function __singular() {
|
||||||
|
@ -2738,7 +2689,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Plural method
|
* Plural method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __plural() {
|
function __plural() {
|
||||||
|
@ -2752,7 +2702,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* singularFromCore method
|
* singularFromCore method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __singularFromCore() {
|
function __singularFromCore() {
|
||||||
|
@ -2763,7 +2712,6 @@ class I18nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* pluralFromCore method
|
* pluralFromCore method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __pluralFromCore() {
|
function __pluralFromCore() {
|
||||||
|
|
|
@ -28,7 +28,6 @@ class L10nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGet method
|
* testGet method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGet() {
|
public function testGet() {
|
||||||
|
@ -81,7 +80,6 @@ class L10nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetAutoLanguage method
|
* testGetAutoLanguage method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetAutoLanguage() {
|
public function testGetAutoLanguage() {
|
||||||
|
@ -115,7 +113,6 @@ class L10nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMap method
|
* testMap method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMap() {
|
public function testMap() {
|
||||||
|
@ -445,7 +442,6 @@ class L10nTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCatalog method
|
* testCatalog method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCatalog() {
|
public function testCatalog() {
|
||||||
|
|
|
@ -28,7 +28,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUtf8 method
|
* testUtf8 method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUtf8() {
|
public function testUtf8() {
|
||||||
|
@ -352,7 +351,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAscii method
|
* testAscii method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAscii() {
|
public function testAscii() {
|
||||||
|
@ -673,7 +671,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStripos method
|
* testUsingMbStripos method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStripos() {
|
public function testUsingMbStripos() {
|
||||||
|
@ -921,7 +918,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStripos method
|
* testMultibyteStripos method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStripos() {
|
public function testMultibyteStripos() {
|
||||||
|
@ -1169,7 +1165,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStristr method
|
* testUsingMbStristr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStristr() {
|
public function testUsingMbStristr() {
|
||||||
|
@ -1560,7 +1555,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStristr method
|
* testMultibyteStristr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStristr() {
|
public function testMultibyteStristr() {
|
||||||
|
@ -1951,7 +1945,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrlen method
|
* testUsingMbStrlen method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrlen() {
|
public function testUsingMbStrlen() {
|
||||||
|
@ -2099,7 +2092,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrlen method
|
* testMultibyteStrlen method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrlen() {
|
public function testMultibyteStrlen() {
|
||||||
|
@ -2247,7 +2239,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrpos method
|
* testUsingMbStrpos method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrpos() {
|
public function testUsingMbStrpos() {
|
||||||
|
@ -2495,7 +2486,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrpos method
|
* testMultibyteStrpos method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrpos() {
|
public function testMultibyteStrpos() {
|
||||||
|
@ -2743,7 +2733,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrrchr method
|
* testUsingMbStrrchr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrrchr() {
|
public function testUsingMbStrrchr() {
|
||||||
|
@ -3128,7 +3117,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrrchr method
|
* testMultibyteStrrchr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrrchr() {
|
public function testMultibyteStrrchr() {
|
||||||
|
@ -3513,7 +3501,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrrichr method
|
* testUsingMbStrrichr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrrichr() {
|
public function testUsingMbStrrichr() {
|
||||||
|
@ -3898,7 +3885,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrrichr method
|
* testMultibyteStrrichr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrrichr() {
|
public function testMultibyteStrrichr() {
|
||||||
|
@ -4283,7 +4269,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrripos method
|
* testUsingMbStrripos method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrripos() {
|
public function testUsingMbStrripos() {
|
||||||
|
@ -4536,7 +4521,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrripos method
|
* testMultibyteStrripos method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrripos() {
|
public function testMultibyteStrripos() {
|
||||||
|
@ -4790,7 +4774,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrrpos method
|
* testUsingMbStrrpos method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrrpos() {
|
public function testUsingMbStrrpos() {
|
||||||
|
@ -5046,7 +5029,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrrpos method
|
* testMultibyteStrrpos method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrrpos() {
|
public function testMultibyteStrrpos() {
|
||||||
|
@ -5300,7 +5282,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrstr method
|
* testUsingMbStrstr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrstr() {
|
public function testUsingMbStrstr() {
|
||||||
|
@ -5697,7 +5678,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrstr method
|
* testMultibyteStrstr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrstr() {
|
public function testMultibyteStrstr() {
|
||||||
|
@ -6094,7 +6074,6 @@ class MultibyteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrtolower method
|
* testUsingMbStrtolower method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrtolower() {
|
public function testUsingMbStrtolower() {
|
||||||
|
@ -6650,7 +6629,6 @@ mb_strtolower does not work for these strings.
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrtolower method
|
* testMultibyteStrtolower method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrtolower() {
|
public function testMultibyteStrtolower() {
|
||||||
|
@ -7208,7 +7186,6 @@ mb_strtolower does not work for these strings.
|
||||||
/**
|
/**
|
||||||
* testUsingMbStrtoupper method
|
* testUsingMbStrtoupper method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbStrtoupper() {
|
public function testUsingMbStrtoupper() {
|
||||||
|
@ -7754,7 +7731,6 @@ mb_strtoupper does not work for these strings.
|
||||||
/**
|
/**
|
||||||
* testMultibyteStrtoupper method
|
* testMultibyteStrtoupper method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteStrtoupper() {
|
public function testMultibyteStrtoupper() {
|
||||||
|
@ -8307,7 +8283,6 @@ mb_strtoupper does not work for these strings.
|
||||||
/**
|
/**
|
||||||
* testUsingMbSubstrCount method
|
* testUsingMbSubstrCount method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbSubstrCount() {
|
public function testUsingMbSubstrCount() {
|
||||||
|
@ -8561,7 +8536,6 @@ mb_strtoupper does not work for these strings.
|
||||||
/**
|
/**
|
||||||
* testMultibyteSubstrCount method
|
* testMultibyteSubstrCount method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteSubstrCount() {
|
public function testMultibyteSubstrCount() {
|
||||||
|
@ -8815,7 +8789,6 @@ mb_strtoupper does not work for these strings.
|
||||||
/**
|
/**
|
||||||
* testUsingMbSubstr method
|
* testUsingMbSubstr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testUsingMbSubstr() {
|
public function testUsingMbSubstr() {
|
||||||
|
@ -8974,7 +8947,6 @@ mb_strtoupper does not work for these strings.
|
||||||
/**
|
/**
|
||||||
* testMultibyteSubstr method
|
* testMultibyteSubstr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteSubstr() {
|
public function testMultibyteSubstr() {
|
||||||
|
@ -9133,7 +9105,6 @@ mb_strtoupper does not work for these strings.
|
||||||
/**
|
/**
|
||||||
* testMultibyteSubstr method
|
* testMultibyteSubstr method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultibyteMimeEncode() {
|
public function testMultibyteMimeEncode() {
|
||||||
|
|
|
@ -151,7 +151,6 @@ class CakeLogTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLogFileWriting method
|
* testLogFileWriting method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLogFileWriting() {
|
public function testLogFileWriting() {
|
||||||
|
|
|
@ -28,7 +28,6 @@ class FileLogTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLogFileWriting method
|
* testLogFileWriting method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLogFileWriting() {
|
public function testLogFileWriting() {
|
||||||
|
|
|
@ -38,7 +38,6 @@ class AclPerson extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AclPerson';
|
public $name = 'AclPerson';
|
||||||
|
|
||||||
|
@ -46,7 +45,6 @@ class AclPerson extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'people';
|
public $useTable = 'people';
|
||||||
|
|
||||||
|
@ -54,7 +52,6 @@ class AclPerson extends CakeTestModel {
|
||||||
* actsAs property
|
* actsAs property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $actsAs = array('Acl' => 'both');
|
public $actsAs = array('Acl' => 'both');
|
||||||
|
|
||||||
|
@ -62,7 +59,6 @@ class AclPerson extends CakeTestModel {
|
||||||
* belongsTo property
|
* belongsTo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array(
|
public $belongsTo = array(
|
||||||
'Mother' => array(
|
'Mother' => array(
|
||||||
|
@ -75,7 +71,6 @@ class AclPerson extends CakeTestModel {
|
||||||
* hasMany property
|
* hasMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasMany = array(
|
public $hasMany = array(
|
||||||
'Child' => array(
|
'Child' => array(
|
||||||
|
@ -118,7 +113,6 @@ class AclUser extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'User';
|
public $name = 'User';
|
||||||
|
|
||||||
|
@ -126,7 +120,6 @@ class AclUser extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'users';
|
public $useTable = 'users';
|
||||||
|
|
||||||
|
@ -134,7 +127,6 @@ class AclUser extends CakeTestModel {
|
||||||
* actsAs property
|
* actsAs property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $actsAs = array('Acl' => 'requester');
|
public $actsAs = array('Acl' => 'requester');
|
||||||
|
|
||||||
|
@ -159,7 +151,6 @@ class AclPost extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Post';
|
public $name = 'Post';
|
||||||
|
|
||||||
|
@ -167,7 +158,6 @@ class AclPost extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'posts';
|
public $useTable = 'posts';
|
||||||
|
|
||||||
|
@ -175,7 +165,6 @@ class AclPost extends CakeTestModel {
|
||||||
* actsAs property
|
* actsAs property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
var $actsAs = array('Acl' => 'Controlled');
|
var $actsAs = array('Acl' => 'Controlled');
|
||||||
|
|
||||||
|
@ -200,7 +189,6 @@ class AclBehaviorTest extends CakeTestCase {
|
||||||
* Aco property
|
* Aco property
|
||||||
*
|
*
|
||||||
* @var Aco
|
* @var Aco
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Aco;
|
public $Aco;
|
||||||
|
|
||||||
|
@ -208,7 +196,6 @@ class AclBehaviorTest extends CakeTestCase {
|
||||||
* Aro property
|
* Aro property
|
||||||
*
|
*
|
||||||
* @var Aro
|
* @var Aro
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Aro;
|
public $Aro;
|
||||||
|
|
||||||
|
@ -216,7 +203,6 @@ class AclBehaviorTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.person', 'core.user', 'core.post', 'core.aco', 'core.aro', 'core.aros_aco');
|
public $fixtures = array('core.person', 'core.user', 'core.post', 'core.aco', 'core.aro', 'core.aros_aco');
|
||||||
|
|
||||||
|
@ -263,7 +249,6 @@ class AclBehaviorTest extends CakeTestCase {
|
||||||
* Test Setup of AclBehavior as both requester and controlled
|
* Test Setup of AclBehavior as both requester and controlled
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function testSetupMulti() {
|
public function testSetupMulti() {
|
||||||
$User = new AclPerson();
|
$User = new AclPerson();
|
||||||
|
|
|
@ -32,7 +32,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
* Fixtures associated with this test case
|
* Fixtures associated with this test case
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array(
|
public $fixtures = array(
|
||||||
'core.article', 'core.article_featured', 'core.article_featureds_tags',
|
'core.article', 'core.article_featured', 'core.article_featureds_tags',
|
||||||
|
@ -79,7 +78,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testContainments method
|
* testContainments method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testContainments() {
|
public function testContainments() {
|
||||||
|
@ -149,7 +147,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testInvalidContainments method
|
* testInvalidContainments method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInvalidContainments() {
|
public function testInvalidContainments() {
|
||||||
|
@ -163,7 +160,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBeforeFind method
|
* testBeforeFind method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBeforeFind() {
|
public function testBeforeFind() {
|
||||||
|
@ -238,7 +234,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testContain method
|
* testContain method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testContain() {
|
public function testContain() {
|
||||||
|
@ -254,7 +249,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindEmbeddedNoBindings method
|
* testFindEmbeddedNoBindings method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindEmbeddedNoBindings() {
|
public function testFindEmbeddedNoBindings() {
|
||||||
|
@ -279,7 +273,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindFirstLevel method
|
* testFindFirstLevel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindFirstLevel() {
|
public function testFindFirstLevel() {
|
||||||
|
@ -388,7 +381,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindEmbeddedFirstLevel method
|
* testFindEmbeddedFirstLevel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindEmbeddedFirstLevel() {
|
public function testFindEmbeddedFirstLevel() {
|
||||||
|
@ -495,7 +487,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindSecondLevel method
|
* testFindSecondLevel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindSecondLevel() {
|
public function testFindSecondLevel() {
|
||||||
|
@ -842,7 +833,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindEmbeddedSecondLevel method
|
* testFindEmbeddedSecondLevel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindEmbeddedSecondLevel() {
|
public function testFindEmbeddedSecondLevel() {
|
||||||
|
@ -1185,7 +1175,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindThirdLevel method
|
* testFindThirdLevel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindThirdLevel() {
|
public function testFindThirdLevel() {
|
||||||
|
@ -1506,7 +1495,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindEmbeddedThirdLevel method
|
* testFindEmbeddedThirdLevel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindEmbeddedThirdLevel() {
|
public function testFindEmbeddedThirdLevel() {
|
||||||
|
@ -1824,7 +1812,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSettingsThirdLevel method
|
* testSettingsThirdLevel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSettingsThirdLevel() {
|
public function testSettingsThirdLevel() {
|
||||||
|
@ -2071,7 +2058,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindThirdLevelNonReset method
|
* testFindThirdLevelNonReset method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindThirdLevelNonReset() {
|
public function testFindThirdLevelNonReset() {
|
||||||
|
@ -2396,7 +2382,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindEmbeddedThirdLevelNonReset method
|
* testFindEmbeddedThirdLevelNonReset method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindEmbeddedThirdLevelNonReset() {
|
public function testFindEmbeddedThirdLevelNonReset() {
|
||||||
|
@ -2886,7 +2871,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testEmbeddedFindFields method
|
* testEmbeddedFindFields method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testEmbeddedFindFields() {
|
public function testEmbeddedFindFields() {
|
||||||
|
@ -2990,7 +2974,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFindConditionalBinding method
|
* testFindConditionalBinding method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindConditionalBinding() {
|
public function testFindConditionalBinding() {
|
||||||
|
@ -3130,7 +3113,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testOtherFinds method
|
* testOtherFinds method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testOtherFinds() {
|
public function testOtherFinds() {
|
||||||
|
@ -3194,7 +3176,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testOriginalAssociations method
|
* testOriginalAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testOriginalAssociations() {
|
public function testOriginalAssociations() {
|
||||||
|
@ -3547,7 +3528,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
*
|
*
|
||||||
* @param mixed $Model
|
* @param mixed $Model
|
||||||
* @param array $contain
|
* @param array $contain
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __containments(&$Model, $contain = array()) {
|
function __containments(&$Model, $contain = array()) {
|
||||||
|
@ -3569,7 +3549,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
*
|
*
|
||||||
* @param mixed $Model
|
* @param mixed $Model
|
||||||
* @param array $expected
|
* @param array $expected
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __assertBindings(&$Model, $expected = array()) {
|
function __assertBindings(&$Model, $expected = array()) {
|
||||||
|
@ -3586,7 +3565,6 @@ class ContainableBehaviorTest extends CakeTestCase {
|
||||||
* @param mixed $Model
|
* @param mixed $Model
|
||||||
* @param array $extra
|
* @param array $extra
|
||||||
* @param bool $output
|
* @param bool $output
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __bindings(&$Model, $extra = array(), $output = true) {
|
function __bindings(&$Model, $extra = array(), $output = true) {
|
||||||
|
|
|
@ -35,7 +35,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
* autoFixtures property
|
* autoFixtures property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $autoFixtures = false;
|
public $autoFixtures = false;
|
||||||
|
|
||||||
|
@ -43,7 +42,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array(
|
public $fixtures = array(
|
||||||
'core.translated_item', 'core.translate', 'core.translate_table',
|
'core.translated_item', 'core.translate', 'core.translate_table',
|
||||||
|
@ -54,7 +52,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -64,7 +61,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testTranslateModel method
|
* testTranslateModel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testTranslateModel() {
|
public function testTranslateModel() {
|
||||||
|
@ -96,7 +92,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLocaleFalsePlain method
|
* testLocaleFalsePlain method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLocaleFalsePlain() {
|
public function testLocaleFalsePlain() {
|
||||||
|
@ -121,7 +116,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLocaleFalseAssociations method
|
* testLocaleFalseAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLocaleFalseAssociations() {
|
public function testLocaleFalseAssociations() {
|
||||||
|
@ -176,7 +170,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLocaleSingle method
|
* testLocaleSingle method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLocaleSingle() {
|
public function testLocaleSingle() {
|
||||||
|
@ -233,7 +226,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLocaleSingleWithConditions method
|
* testLocaleSingleWithConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLocaleSingleWithConditions() {
|
public function testLocaleSingleWithConditions() {
|
||||||
|
@ -273,7 +265,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLocaleSingleAssociations method
|
* testLocaleSingleAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLocaleSingleAssociations() {
|
public function testLocaleSingleAssociations() {
|
||||||
|
@ -334,7 +325,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLocaleMultiple method
|
* testLocaleMultiple method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLocaleMultiple() {
|
public function testLocaleMultiple() {
|
||||||
|
@ -390,7 +380,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMissingTranslation method
|
* testMissingTranslation method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMissingTranslation() {
|
public function testMissingTranslation() {
|
||||||
|
@ -418,7 +407,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testTranslatedFindList method
|
* testTranslatedFindList method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testTranslatedFindList() {
|
public function testTranslatedFindList() {
|
||||||
|
@ -452,7 +440,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadSelectedFields method
|
* testReadSelectedFields method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadSelectedFields() {
|
public function testReadSelectedFields() {
|
||||||
|
@ -488,7 +475,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSaveCreate method
|
* testSaveCreate method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSaveCreate() {
|
public function testSaveCreate() {
|
||||||
|
@ -507,7 +493,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSaveUpdate method
|
* testSaveUpdate method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSaveUpdate() {
|
public function testSaveUpdate() {
|
||||||
|
@ -530,7 +515,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultipleCreate method
|
* testMultipleCreate method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultipleCreate() {
|
public function testMultipleCreate() {
|
||||||
|
@ -569,7 +553,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMultipleUpdate method
|
* testMultipleUpdate method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMultipleUpdate() {
|
public function testMultipleUpdate() {
|
||||||
|
@ -612,7 +595,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMixedCreateUpdateWithArrayLocale method
|
* testMixedCreateUpdateWithArrayLocale method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMixedCreateUpdateWithArrayLocale() {
|
public function testMixedCreateUpdateWithArrayLocale() {
|
||||||
|
@ -654,7 +636,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testValidation method
|
* testValidation method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testValidation() {
|
public function testValidation() {
|
||||||
|
@ -687,7 +668,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAttachDetach method
|
* testAttachDetach method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAttachDetach() {
|
public function testAttachDetach() {
|
||||||
|
@ -737,7 +717,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAnotherTranslateTable method
|
* testAnotherTranslateTable method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAnotherTranslateTable() {
|
public function testAnotherTranslateTable() {
|
||||||
|
@ -761,7 +740,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testTranslateWithAssociations method
|
* testTranslateWithAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testTranslateWithAssociations() {
|
public function testTranslateWithAssociations() {
|
||||||
|
@ -855,7 +833,6 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
* testTranslateTableWithPrefix method
|
* testTranslateTableWithPrefix method
|
||||||
* Tests that is possible to have a translation model with a custom tablePrefix
|
* Tests that is possible to have a translation model with a custom tablePrefix
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testTranslateTableWithPrefix() {
|
public function testTranslateTableWithPrefix() {
|
||||||
|
|
|
@ -33,7 +33,6 @@ class TreeBehaviorAfterTest extends CakeTestCase {
|
||||||
* Whether backup global state for each test method or not
|
* Whether backup global state for each test method or not
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $backupGlobals = false;
|
public $backupGlobals = false;
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ class TreeBehaviorAfterTest extends CakeTestCase {
|
||||||
* settings property
|
* settings property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $settings = array(
|
public $settings = array(
|
||||||
'modelClass' => 'AfterTree',
|
'modelClass' => 'AfterTree',
|
||||||
|
@ -54,14 +52,12 @@ class TreeBehaviorAfterTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.after_tree');
|
public $fixtures = array('core.after_tree');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the afterSave callback in the model
|
* Tests the afterSave callback in the model
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAftersaveCallback() {
|
public function testAftersaveCallback() {
|
||||||
|
|
|
@ -34,7 +34,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
* Whether backup global state for each test method or not
|
* Whether backup global state for each test method or not
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $backupGlobals = false;
|
public $backupGlobals = false;
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
* settings property
|
* settings property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $settings = array(
|
protected $settings = array(
|
||||||
'modelClass' => 'NumberTree',
|
'modelClass' => 'NumberTree',
|
||||||
|
@ -55,14 +53,12 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.number_tree');
|
public $fixtures = array('core.number_tree');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* testInitialize method
|
* testInitialize method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInitialize() {
|
public function testInitialize() {
|
||||||
|
@ -80,7 +76,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDetectInvalidLeft method
|
* testDetectInvalidLeft method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDetectInvalidLeft() {
|
public function testDetectInvalidLeft() {
|
||||||
|
@ -107,7 +102,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDetectInvalidRight method
|
* testDetectInvalidRight method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDetectInvalidRight() {
|
public function testDetectInvalidRight() {
|
||||||
|
@ -134,7 +128,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDetectInvalidParent method
|
* testDetectInvalidParent method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDetectInvalidParent() {
|
public function testDetectInvalidParent() {
|
||||||
|
@ -160,7 +153,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDetectNoneExistantParent method
|
* testDetectNoneExistantParent method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDetectNoneExistantParent() {
|
public function testDetectNoneExistantParent() {
|
||||||
|
@ -184,7 +176,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRecoverFromMissingParent method
|
* testRecoverFromMissingParent method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRecoverFromMissingParent() {
|
public function testRecoverFromMissingParent() {
|
||||||
|
@ -208,7 +199,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDetectInvalidParents method
|
* testDetectInvalidParents method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDetectInvalidParents() {
|
public function testDetectInvalidParents() {
|
||||||
|
@ -231,7 +221,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDetectInvalidLftsRghts method
|
* testDetectInvalidLftsRghts method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDetectInvalidLftsRghts() {
|
public function testDetectInvalidLftsRghts() {
|
||||||
|
@ -253,7 +242,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Reproduces a situation where a single node has lft= rght, and all other lft and rght fields follow sequentially
|
* Reproduces a situation where a single node has lft= rght, and all other lft and rght fields follow sequentially
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDetectEqualLftsRghts() {
|
public function testDetectEqualLftsRghts() {
|
||||||
|
@ -281,7 +269,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAddOrphan method
|
* testAddOrphan method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAddOrphan() {
|
public function testAddOrphan() {
|
||||||
|
@ -301,7 +288,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAddMiddle method
|
* testAddMiddle method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAddMiddle() {
|
public function testAddMiddle() {
|
||||||
|
@ -335,7 +321,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAddInvalid method
|
* testAddInvalid method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAddInvalid() {
|
public function testAddInvalid() {
|
||||||
|
@ -360,7 +345,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testAddNotIndexedByModel method
|
* testAddNotIndexedByModel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAddNotIndexedByModel() {
|
public function testAddNotIndexedByModel() {
|
||||||
|
@ -380,7 +364,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMovePromote method
|
* testMovePromote method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMovePromote() {
|
public function testMovePromote() {
|
||||||
|
@ -407,7 +390,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveWithWhitelist method
|
* testMoveWithWhitelist method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveWithWhitelist() {
|
public function testMoveWithWhitelist() {
|
||||||
|
@ -435,7 +417,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testInsertWithWhitelist method
|
* testInsertWithWhitelist method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInsertWithWhitelist() {
|
public function testInsertWithWhitelist() {
|
||||||
|
@ -454,7 +435,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveBefore method
|
* testMoveBefore method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveBefore() {
|
public function testMoveBefore() {
|
||||||
|
@ -483,7 +463,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveAfter method
|
* testMoveAfter method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveAfter() {
|
public function testMoveAfter() {
|
||||||
|
@ -512,7 +491,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveDemoteInvalid method
|
* testMoveDemoteInvalid method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveDemoteInvalid() {
|
public function testMoveDemoteInvalid() {
|
||||||
|
@ -546,7 +524,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveInvalid method
|
* testMoveInvalid method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveInvalid() {
|
public function testMoveInvalid() {
|
||||||
|
@ -573,7 +550,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveSelfInvalid method
|
* testMoveSelfInvalid method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveSelfInvalid() {
|
public function testMoveSelfInvalid() {
|
||||||
|
@ -600,7 +576,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveUpSuccess method
|
* testMoveUpSuccess method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveUpSuccess() {
|
public function testMoveUpSuccess() {
|
||||||
|
@ -622,7 +597,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveUpFail method
|
* testMoveUpFail method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveUpFail() {
|
public function testMoveUpFail() {
|
||||||
|
@ -645,7 +619,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveUp2 method
|
* testMoveUp2 method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveUp2() {
|
public function testMoveUp2() {
|
||||||
|
@ -676,7 +649,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveUpFirst method
|
* testMoveUpFirst method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveUpFirst() {
|
public function testMoveUpFirst() {
|
||||||
|
@ -707,7 +679,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveDownSuccess method
|
* testMoveDownSuccess method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveDownSuccess() {
|
public function testMoveDownSuccess() {
|
||||||
|
@ -729,7 +700,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveDownFail method
|
* testMoveDownFail method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveDownFail() {
|
public function testMoveDownFail() {
|
||||||
|
@ -751,7 +721,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveDownLast method
|
* testMoveDownLast method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveDownLast() {
|
public function testMoveDownLast() {
|
||||||
|
@ -782,7 +751,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveDown2 method
|
* testMoveDown2 method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveDown2() {
|
public function testMoveDown2() {
|
||||||
|
@ -813,7 +781,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSaveNoMove method
|
* testSaveNoMove method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSaveNoMove() {
|
public function testSaveNoMove() {
|
||||||
|
@ -844,7 +811,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveToRootAndMoveUp method
|
* testMoveToRootAndMoveUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveToRootAndMoveUp() {
|
public function testMoveToRootAndMoveUp() {
|
||||||
|
@ -869,7 +835,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDelete method
|
* testDelete method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDelete() {
|
public function testDelete() {
|
||||||
|
@ -905,7 +870,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRemove method
|
* testRemove method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRemove() {
|
public function testRemove() {
|
||||||
|
@ -938,7 +902,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRemoveLastTopParent method
|
* testRemoveLastTopParent method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRemoveLastTopParent() {
|
public function testRemoveLastTopParent() {
|
||||||
|
@ -1006,7 +969,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRemoveAndDelete method
|
* testRemoveAndDelete method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRemoveAndDelete() {
|
public function testRemoveAndDelete() {
|
||||||
|
@ -1071,7 +1033,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testChildren method
|
* testChildren method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testChildren() {
|
public function testChildren() {
|
||||||
|
@ -1102,7 +1063,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCountChildren method
|
* testCountChildren method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCountChildren() {
|
public function testCountChildren() {
|
||||||
|
@ -1123,7 +1083,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetParentNode method
|
* testGetParentNode method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetParentNode() {
|
public function testGetParentNode() {
|
||||||
|
@ -1142,7 +1101,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetPath method
|
* testGetPath method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetPath() {
|
public function testGetPath() {
|
||||||
|
@ -1163,7 +1121,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testNoAmbiguousColumn method
|
* testNoAmbiguousColumn method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testNoAmbiguousColumn() {
|
public function testNoAmbiguousColumn() {
|
||||||
|
@ -1196,7 +1153,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReorderTree method
|
* testReorderTree method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReorderTree() {
|
public function testReorderTree() {
|
||||||
|
@ -1228,7 +1184,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
* This caused infinite loops when moving down elements as stale data is returned
|
* This caused infinite loops when moving down elements as stale data is returned
|
||||||
* from the memory cache
|
* from the memory cache
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReorderBigTreeWithQueryCaching() {
|
public function testReorderBigTreeWithQueryCaching() {
|
||||||
|
@ -1245,7 +1200,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateTreeListWithSelfJoin method
|
* testGenerateTreeListWithSelfJoin method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateTreeListWithSelfJoin() {
|
public function testGenerateTreeListWithSelfJoin() {
|
||||||
|
@ -1263,7 +1217,6 @@ class TreeBehaviorNumberTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testArraySyntax method
|
* testArraySyntax method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testArraySyntax() {
|
public function testArraySyntax() {
|
||||||
|
|
|
@ -34,7 +34,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
||||||
* Whether backup global state for each test method or not
|
* Whether backup global state for each test method or not
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $backupGlobals = false;
|
public $backupGlobals = false;
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
||||||
* settings property
|
* settings property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $settings = array(
|
public $settings = array(
|
||||||
'modelClass' => 'FlagTree',
|
'modelClass' => 'FlagTree',
|
||||||
|
@ -55,14 +53,12 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.flag_tree', 'core.ad', 'core.campaign', 'core.translate', 'core.number_tree_two');
|
public $fixtures = array('core.flag_tree', 'core.ad', 'core.campaign', 'core.translate', 'core.number_tree_two');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* testStringScope method
|
* testStringScope method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testStringScope() {
|
public function testStringScope() {
|
||||||
|
@ -99,7 +95,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testArrayScope method
|
* testArrayScope method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testArrayScope() {
|
public function testArrayScope() {
|
||||||
|
@ -136,7 +131,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveUpWithScope method
|
* testMoveUpWithScope method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveUpWithScope() {
|
public function testMoveUpWithScope() {
|
||||||
|
@ -153,7 +147,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMoveDownWithScope method
|
* testMoveDownWithScope method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMoveDownWithScope() {
|
public function testMoveDownWithScope() {
|
||||||
|
@ -171,7 +164,6 @@ class TreeBehaviorScopedTest extends CakeTestCase {
|
||||||
* Tests the interaction (non-interference) between TreeBehavior and other behaviors with respect
|
* Tests the interaction (non-interference) between TreeBehavior and other behaviors with respect
|
||||||
* to callback hooks
|
* to callback hooks
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testTranslatingTree() {
|
public function testTranslatingTree() {
|
||||||
|
|
|
@ -34,7 +34,6 @@ class TreeBehaviorUuidTest extends CakeTestCase {
|
||||||
* Whether backup global state for each test method or not
|
* Whether backup global state for each test method or not
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $backupGlobals = false;
|
public $backupGlobals = false;
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class TreeBehaviorUuidTest extends CakeTestCase {
|
||||||
* settings property
|
* settings property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $settings = array(
|
public $settings = array(
|
||||||
'modelClass' => 'UuidTree',
|
'modelClass' => 'UuidTree',
|
||||||
|
@ -55,7 +53,6 @@ class TreeBehaviorUuidTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.uuid_tree');
|
public $fixtures = array('core.uuid_tree');
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* mapMethods property
|
* mapMethods property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $mapMethods = array('/test(\w+)/' => 'testMethod', '/look for\s+(.+)/' => 'speakEnglish');
|
public $mapMethods = array('/test(\w+)/' => 'testMethod', '/look for\s+(.+)/' => 'speakEnglish');
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param array $config
|
* @param array $config
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setup($model, $config = array()) {
|
public function setup($model, $config = array()) {
|
||||||
|
@ -58,7 +56,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param mixed $query
|
* @param mixed $query
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeFind($model, $query) {
|
public function beforeFind($model, $query) {
|
||||||
|
@ -87,7 +84,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param mixed $results
|
* @param mixed $results
|
||||||
* @param mixed $primary
|
* @param mixed $primary
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function afterFind($model, $results, $primary) {
|
public function afterFind($model, $results, $primary) {
|
||||||
|
@ -115,7 +111,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* beforeSave method
|
* beforeSave method
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeSave($model) {
|
public function beforeSave($model) {
|
||||||
|
@ -142,7 +137,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param mixed $created
|
* @param mixed $created
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function afterSave($model, $created) {
|
public function afterSave($model, $created) {
|
||||||
|
@ -174,7 +168,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* beforeValidate method
|
* beforeValidate method
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeValidate($model) {
|
public function beforeValidate($model) {
|
||||||
|
@ -206,7 +199,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param bool $cascade
|
* @param bool $cascade
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeDelete($model, $cascade = true) {
|
public function beforeDelete($model, $cascade = true) {
|
||||||
|
@ -235,7 +227,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* afterDelete method
|
* afterDelete method
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function afterDelete($model) {
|
public function afterDelete($model) {
|
||||||
|
@ -254,7 +245,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* onError method
|
* onError method
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function onError($model, $error) {
|
public function onError($model, $error) {
|
||||||
|
@ -268,7 +258,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* beforeTest method
|
* beforeTest method
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function beforeTest($model) {
|
public function beforeTest($model) {
|
||||||
|
@ -284,7 +273,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param bool $param
|
* @param bool $param
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMethod(Model $model, $param = true) {
|
public function testMethod(Model $model, $param = true) {
|
||||||
|
@ -297,7 +285,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* testData method
|
* testData method
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testData(Model $model) {
|
public function testData(Model $model) {
|
||||||
|
@ -313,7 +300,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param mixed $field
|
* @param mixed $field
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function validateField(Model $model, $field) {
|
public function validateField(Model $model, $field) {
|
||||||
|
@ -326,7 +312,6 @@ class TestBehavior extends ModelBehavior {
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param mixed $method
|
* @param mixed $method
|
||||||
* @param mixed $query
|
* @param mixed $query
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function speakEnglish(Model $model, $method, $query) {
|
public function speakEnglish(Model $model, $method, $query) {
|
||||||
|
@ -430,7 +415,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array(
|
public $fixtures = array(
|
||||||
'core.apple', 'core.sample', 'core.article', 'core.user', 'core.comment',
|
'core.apple', 'core.sample', 'core.article', 'core.user', 'core.comment',
|
||||||
|
@ -467,7 +451,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorBinding method
|
* testBehaviorBinding method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorBinding() {
|
public function testBehaviorBinding() {
|
||||||
|
@ -566,7 +549,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorToggling method
|
* testBehaviorToggling method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorToggling() {
|
public function testBehaviorToggling() {
|
||||||
|
@ -602,7 +584,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorFindCallbacks method
|
* testBehaviorFindCallbacks method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorFindCallbacks() {
|
public function testBehaviorFindCallbacks() {
|
||||||
|
@ -661,7 +642,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorHasManyFindCallbacks method
|
* testBehaviorHasManyFindCallbacks method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorHasManyFindCallbacks() {
|
public function testBehaviorHasManyFindCallbacks() {
|
||||||
|
@ -733,7 +713,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorHasOneFindCallbacks method
|
* testBehaviorHasOneFindCallbacks method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorHasOneFindCallbacks() {
|
public function testBehaviorHasOneFindCallbacks() {
|
||||||
|
@ -803,7 +782,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorBelongsToFindCallbacks method
|
* testBehaviorBelongsToFindCallbacks method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorBelongsToFindCallbacks() {
|
public function testBehaviorBelongsToFindCallbacks() {
|
||||||
|
@ -872,7 +850,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorSaveCallbacks method
|
* testBehaviorSaveCallbacks method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorSaveCallbacks() {
|
public function testBehaviorSaveCallbacks() {
|
||||||
|
@ -935,7 +912,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorDeleteCallbacks method
|
* testBehaviorDeleteCallbacks method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorDeleteCallbacks() {
|
public function testBehaviorDeleteCallbacks() {
|
||||||
|
@ -970,7 +946,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorOnErrorCallback method
|
* testBehaviorOnErrorCallback method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorOnErrorCallback() {
|
public function testBehaviorOnErrorCallback() {
|
||||||
|
@ -985,7 +960,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorValidateCallback method
|
* testBehaviorValidateCallback method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorValidateCallback() {
|
public function testBehaviorValidateCallback() {
|
||||||
|
@ -1014,7 +988,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorValidateMethods method
|
* testBehaviorValidateMethods method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorValidateMethods() {
|
public function testBehaviorValidateMethods() {
|
||||||
|
@ -1033,7 +1006,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorMethodDispatching method
|
* testBehaviorMethodDispatching method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorMethodDispatching() {
|
public function testBehaviorMethodDispatching() {
|
||||||
|
@ -1059,7 +1031,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBehaviorMethodDispatchingWithData method
|
* testBehaviorMethodDispatchingWithData method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorMethodDispatchingWithData() {
|
public function testBehaviorMethodDispatchingWithData() {
|
||||||
|
@ -1123,7 +1094,6 @@ class BehaviorCollectionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Test attach and detaching
|
* Test attach and detaching
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBehaviorAttachAndDetach() {
|
public function testBehaviorAttachAndDetach() {
|
||||||
|
|
|
@ -32,7 +32,6 @@ class MyAppSchema extends CakeSchema {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'MyApp'
|
* @var string 'MyApp'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'MyApp';
|
public $name = 'MyApp';
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class MyAppSchema extends CakeSchema {
|
||||||
* connection property
|
* connection property
|
||||||
*
|
*
|
||||||
* @var string 'test'
|
* @var string 'test'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $connection = 'test';
|
public $connection = 'test';
|
||||||
|
|
||||||
|
@ -48,7 +46,6 @@ class MyAppSchema extends CakeSchema {
|
||||||
* comments property
|
* comments property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $comments = array(
|
public $comments = array(
|
||||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||||
|
@ -66,7 +63,6 @@ class MyAppSchema extends CakeSchema {
|
||||||
* posts property
|
* posts property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $posts = array(
|
public $posts = array(
|
||||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||||
|
@ -84,7 +80,6 @@ class MyAppSchema extends CakeSchema {
|
||||||
* _foo property
|
* _foo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access protected
|
|
||||||
*/
|
*/
|
||||||
protected $_foo = array('bar');
|
protected $_foo = array('bar');
|
||||||
|
|
||||||
|
@ -92,7 +87,6 @@ class MyAppSchema extends CakeSchema {
|
||||||
* setup method
|
* setup method
|
||||||
*
|
*
|
||||||
* @param mixed $version
|
* @param mixed $version
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setup($version) {
|
public function setup($version) {
|
||||||
|
@ -102,7 +96,6 @@ class MyAppSchema extends CakeSchema {
|
||||||
* teardown method
|
* teardown method
|
||||||
*
|
*
|
||||||
* @param mixed $version
|
* @param mixed $version
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function teardown($version) {
|
public function teardown($version) {
|
||||||
|
@ -133,7 +126,6 @@ class TestAppSchema extends CakeSchema {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'MyApp'
|
* @var string 'MyApp'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'MyApp';
|
public $name = 'MyApp';
|
||||||
|
|
||||||
|
@ -141,7 +133,6 @@ class TestAppSchema extends CakeSchema {
|
||||||
* comments property
|
* comments property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $comments = array(
|
public $comments = array(
|
||||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0,'key' => 'primary'),
|
'id' => array('type' => 'integer', 'null' => false, 'default' => 0,'key' => 'primary'),
|
||||||
|
@ -159,7 +150,6 @@ class TestAppSchema extends CakeSchema {
|
||||||
* posts property
|
* posts property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $posts = array(
|
public $posts = array(
|
||||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||||
|
@ -177,7 +167,6 @@ class TestAppSchema extends CakeSchema {
|
||||||
* posts_tags property
|
* posts_tags property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $posts_tags = array(
|
public $posts_tags = array(
|
||||||
'post_id' => array('type' => 'integer', 'null' => false, 'key' => 'primary'),
|
'post_id' => array('type' => 'integer', 'null' => false, 'key' => 'primary'),
|
||||||
|
@ -190,7 +179,6 @@ class TestAppSchema extends CakeSchema {
|
||||||
* tags property
|
* tags property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $tags = array(
|
public $tags = array(
|
||||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||||
|
@ -205,7 +193,6 @@ class TestAppSchema extends CakeSchema {
|
||||||
* datatypes property
|
* datatypes property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $datatypes = array(
|
public $datatypes = array(
|
||||||
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
|
||||||
|
@ -219,7 +206,6 @@ class TestAppSchema extends CakeSchema {
|
||||||
* setup method
|
* setup method
|
||||||
*
|
*
|
||||||
* @param mixed $version
|
* @param mixed $version
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setup($version) {
|
public function setup($version) {
|
||||||
|
@ -229,7 +215,6 @@ class TestAppSchema extends CakeSchema {
|
||||||
* teardown method
|
* teardown method
|
||||||
*
|
*
|
||||||
* @param mixed $version
|
* @param mixed $version
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function teardown($version) {
|
public function teardown($version) {
|
||||||
|
@ -247,7 +232,6 @@ class SchemaPost extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'SchemaPost'
|
* @var string 'SchemaPost'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'SchemaPost';
|
public $name = 'SchemaPost';
|
||||||
|
|
||||||
|
@ -255,7 +239,6 @@ class SchemaPost extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'posts';
|
public $useTable = 'posts';
|
||||||
|
|
||||||
|
@ -263,7 +246,6 @@ class SchemaPost extends CakeTestModel {
|
||||||
* hasMany property
|
* hasMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasMany = array('SchemaComment');
|
public $hasMany = array('SchemaComment');
|
||||||
|
|
||||||
|
@ -271,7 +253,6 @@ class SchemaPost extends CakeTestModel {
|
||||||
* hasAndBelongsToMany property
|
* hasAndBelongsToMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array('SchemaTag');
|
public $hasAndBelongsToMany = array('SchemaTag');
|
||||||
}
|
}
|
||||||
|
@ -287,7 +268,6 @@ class SchemaComment extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'SchemaComment'
|
* @var string 'SchemaComment'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'SchemaComment';
|
public $name = 'SchemaComment';
|
||||||
|
|
||||||
|
@ -295,7 +275,6 @@ class SchemaComment extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'comments'
|
* @var string 'comments'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'comments';
|
public $useTable = 'comments';
|
||||||
|
|
||||||
|
@ -303,7 +282,6 @@ class SchemaComment extends CakeTestModel {
|
||||||
* belongsTo property
|
* belongsTo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array('SchemaPost');
|
public $belongsTo = array('SchemaPost');
|
||||||
}
|
}
|
||||||
|
@ -319,7 +297,6 @@ class SchemaTag extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'SchemaTag'
|
* @var string 'SchemaTag'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'SchemaTag';
|
public $name = 'SchemaTag';
|
||||||
|
|
||||||
|
@ -327,7 +304,6 @@ class SchemaTag extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'tags'
|
* @var string 'tags'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'tags';
|
public $useTable = 'tags';
|
||||||
|
|
||||||
|
@ -335,7 +311,6 @@ class SchemaTag extends CakeTestModel {
|
||||||
* hasAndBelongsToMany property
|
* hasAndBelongsToMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array('SchemaPost');
|
public $hasAndBelongsToMany = array('SchemaPost');
|
||||||
}
|
}
|
||||||
|
@ -351,7 +326,6 @@ class SchemaDatatype extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'SchemaDatatype'
|
* @var string 'SchemaDatatype'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'SchemaDatatype';
|
public $name = 'SchemaDatatype';
|
||||||
|
|
||||||
|
@ -359,7 +333,6 @@ class SchemaDatatype extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'datatypes'
|
* @var string 'datatypes'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'datatypes';
|
public $useTable = 'datatypes';
|
||||||
}
|
}
|
||||||
|
@ -381,7 +354,6 @@ class Testdescribe extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'Testdescribe'
|
* @var string 'Testdescribe'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'Testdescribe';
|
public $name = 'Testdescribe';
|
||||||
}
|
}
|
||||||
|
@ -397,7 +369,6 @@ class SchemaCrossDatabase extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'SchemaCrossDatabase'
|
* @var string 'SchemaCrossDatabase'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'SchemaCrossDatabase';
|
public $name = 'SchemaCrossDatabase';
|
||||||
|
|
||||||
|
@ -405,7 +376,6 @@ class SchemaCrossDatabase extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'posts'
|
* @var string 'posts'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'cross_database';
|
public $useTable = 'cross_database';
|
||||||
|
|
||||||
|
@ -413,7 +383,6 @@ class SchemaCrossDatabase extends CakeTestModel {
|
||||||
* useDbConfig property
|
* useDbConfig property
|
||||||
*
|
*
|
||||||
* @var string 'test2'
|
* @var string 'test2'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useDbConfig = 'test2';
|
public $useDbConfig = 'test2';
|
||||||
}
|
}
|
||||||
|
@ -429,14 +398,12 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'CrossDatabase'
|
* @var string 'CrossDatabase'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'CrossDatabase';
|
public $name = 'CrossDatabase';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* table property
|
* table property
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $table = 'cross_database';
|
public $table = 'cross_database';
|
||||||
|
|
||||||
|
@ -444,7 +411,6 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
|
||||||
* fields property
|
* fields property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fields = array(
|
public $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary'),
|
||||||
|
@ -455,7 +421,6 @@ class SchemaCrossDatabaseFixture extends CakeTestFixture {
|
||||||
* records property
|
* records property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $records = array(
|
public $records = array(
|
||||||
array('id' => 1, 'name' => 'First'),
|
array('id' => 1, 'name' => 'First'),
|
||||||
|
@ -500,7 +465,6 @@ class CakeSchemaTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array(
|
public $fixtures = array(
|
||||||
'core.post', 'core.tag', 'core.posts_tag', 'core.test_plugin_comment',
|
'core.post', 'core.tag', 'core.posts_tag', 'core.test_plugin_comment',
|
||||||
|
@ -537,7 +501,6 @@ class CakeSchemaTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSchemaName method
|
* testSchemaName method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaName() {
|
public function testSchemaName() {
|
||||||
|
@ -554,7 +517,6 @@ class CakeSchemaTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSchemaRead method
|
* testSchemaRead method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaRead() {
|
public function testSchemaRead() {
|
||||||
|
@ -639,7 +601,6 @@ class CakeSchemaTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSchemaReadWithOddTablePrefix method
|
* testSchemaReadWithOddTablePrefix method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaReadWithOddTablePrefix() {
|
public function testSchemaReadWithOddTablePrefix() {
|
||||||
|
@ -792,7 +753,6 @@ class CakeSchemaTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSchemaWrite method
|
* testSchemaWrite method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaWrite() {
|
public function testSchemaWrite() {
|
||||||
|
@ -808,7 +768,6 @@ class CakeSchemaTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSchemaComparison method
|
* testSchemaComparison method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaComparison() {
|
public function testSchemaComparison() {
|
||||||
|
@ -1009,7 +968,6 @@ class CakeSchemaTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSchemaLoading method
|
* testSchemaLoading method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaLoading() {
|
public function testSchemaLoading() {
|
||||||
|
@ -1038,7 +996,6 @@ class CakeSchemaTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSchemaCreateTable method
|
* testSchemaCreateTable method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaCreateTable() {
|
public function testSchemaCreateTable() {
|
||||||
|
|
|
@ -37,7 +37,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testEnumConnectionObjects method
|
* testEnumConnectionObjects method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testEnumConnectionObjects() {
|
public function testEnumConnectionObjects() {
|
||||||
|
@ -51,7 +50,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetDataSource method
|
* testGetDataSource method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetDataSource() {
|
public function testGetDataSource() {
|
||||||
|
@ -86,7 +84,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetPluginDataSource method
|
* testGetPluginDataSource method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetPluginDataSource() {
|
public function testGetPluginDataSource() {
|
||||||
|
@ -108,7 +105,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetPluginDataSourceAndPluginDriver method
|
* testGetPluginDataSourceAndPluginDriver method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetPluginDataSourceAndPluginDriver() {
|
public function testGetPluginDataSourceAndPluginDriver() {
|
||||||
|
@ -132,7 +128,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetLocalDataSourceAndPluginDriver method
|
* testGetLocalDataSourceAndPluginDriver method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetLocalDataSourceAndPluginDriver() {
|
public function testGetLocalDataSourceAndPluginDriver() {
|
||||||
|
@ -155,7 +150,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetPluginDataSourceAndLocalDriver method
|
* testGetPluginDataSourceAndLocalDriver method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetPluginDataSourceAndLocalDriver() {
|
public function testGetPluginDataSourceAndLocalDriver() {
|
||||||
|
@ -181,7 +175,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSourceList method
|
* testSourceList method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSourceList() {
|
public function testSourceList() {
|
||||||
|
@ -194,7 +187,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGetSourceName method
|
* testGetSourceName method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetSourceName() {
|
public function testGetSourceName() {
|
||||||
|
@ -212,7 +204,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLoadDataSource method
|
* testLoadDataSource method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoadDataSource() {
|
public function testLoadDataSource() {
|
||||||
|
@ -243,7 +234,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCreateDataSource method
|
* testCreateDataSource method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCreateDataSourceWithIntegrationTests() {
|
public function testCreateDataSourceWithIntegrationTests() {
|
||||||
|
@ -276,7 +266,6 @@ class ConnectionManagerTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testConnectionData method
|
* testConnectionData method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testConnectionData() {
|
public function testConnectionData() {
|
||||||
|
|
|
@ -42,14 +42,12 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
* Fixtures used in the SessionTest
|
* Fixtures used in the SessionTest
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.session');
|
public $fixtures = array('core.session');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setup before class.
|
* setup before class.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function setupBeforeClass() {
|
public static function setupBeforeClass() {
|
||||||
|
@ -61,7 +59,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* teardown after class
|
* teardown after class
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function teardownAfterClass() {
|
public static function teardownAfterClass() {
|
||||||
|
@ -72,7 +69,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setup() {
|
public function setup() {
|
||||||
|
@ -90,7 +86,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* tearDown method
|
* tearDown method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function teardown() {
|
public function teardown() {
|
||||||
|
@ -127,7 +122,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionPath
|
* testSessionPath
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionPath() {
|
public function testSessionPath() {
|
||||||
|
@ -141,7 +135,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCakeSessionPathEmpty
|
* testCakeSessionPathEmpty
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCakeSessionPathEmpty() {
|
public function testCakeSessionPathEmpty() {
|
||||||
|
@ -152,7 +145,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCakeSessionPathContainsParams
|
* testCakeSessionPathContainsParams
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCakeSessionPathContainsQuestion() {
|
public function testCakeSessionPathContainsQuestion() {
|
||||||
|
@ -163,7 +155,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSetHost
|
* testSetHost
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSetHost() {
|
public function testSetHost() {
|
||||||
|
@ -175,7 +166,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSetHostWithPort
|
* testSetHostWithPort
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSetHostWithPort() {
|
public function testSetHostWithPort() {
|
||||||
|
@ -215,7 +205,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheck method
|
* testCheck method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheck() {
|
public function testCheck() {
|
||||||
|
@ -228,7 +217,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSimpleRead method
|
* testSimpleRead method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSimpleRead() {
|
public function testSimpleRead() {
|
||||||
|
@ -257,7 +245,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
* testReadyEmpty
|
* testReadyEmpty
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function testReadyEmpty() {
|
public function testReadyEmpty() {
|
||||||
$this->assertFalse(TestCakeSession::read(''));
|
$this->assertFalse(TestCakeSession::read(''));
|
||||||
|
@ -267,7 +254,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
* test writing a hash of values/
|
* test writing a hash of values/
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function testWriteArray() {
|
public function testWriteArray() {
|
||||||
$result = TestCakeSession::write(array(
|
$result = TestCakeSession::write(array(
|
||||||
|
@ -286,7 +272,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
* testWriteEmptyKey
|
* testWriteEmptyKey
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public function testWriteEmptyKey() {
|
public function testWriteEmptyKey() {
|
||||||
$this->assertFalse(TestCakeSession::write('', 'graham'));
|
$this->assertFalse(TestCakeSession::write('', 'graham'));
|
||||||
|
@ -297,7 +282,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testId method
|
* testId method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testId() {
|
public function testId() {
|
||||||
|
@ -315,7 +299,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testStarted method
|
* testStarted method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testStarted() {
|
public function testStarted() {
|
||||||
|
@ -330,7 +313,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testError method
|
* testError method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testError() {
|
public function testError() {
|
||||||
|
@ -346,7 +328,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDel method
|
* testDel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDelete() {
|
public function testDelete() {
|
||||||
|
@ -364,7 +345,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testDestroy method
|
* testDestroy method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDestroy() {
|
public function testDestroy() {
|
||||||
|
@ -379,7 +359,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheckingSavedEmpty method
|
* testCheckingSavedEmpty method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheckingSavedEmpty() {
|
public function testCheckingSavedEmpty() {
|
||||||
|
@ -399,7 +378,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheckKeyWithSpaces method
|
* testCheckKeyWithSpaces method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheckKeyWithSpaces() {
|
public function testCheckKeyWithSpaces() {
|
||||||
|
@ -414,7 +392,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheckEmpty
|
* testCheckEmpty
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheckEmpty() {
|
public function testCheckEmpty() {
|
||||||
|
@ -438,7 +415,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadingSavedEmpty method
|
* testReadingSavedEmpty method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadingSavedEmpty() {
|
public function testReadingSavedEmpty() {
|
||||||
|
@ -459,7 +435,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheckUserAgentFalse method
|
* testCheckUserAgentFalse method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheckUserAgentFalse() {
|
public function testCheckUserAgentFalse() {
|
||||||
|
@ -471,7 +446,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCheckUserAgentTrue method
|
* testCheckUserAgentTrue method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCheckUserAgentTrue() {
|
public function testCheckUserAgentTrue() {
|
||||||
|
@ -487,7 +461,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteWithDatabaseStorage method
|
* testReadAndWriteWithDatabaseStorage method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadAndWriteWithCakeStorage() {
|
public function testReadAndWriteWithCakeStorage() {
|
||||||
|
@ -570,7 +543,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteWithDatabaseStorage method
|
* testReadAndWriteWithDatabaseStorage method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadAndWriteWithCacheStorage() {
|
public function testReadAndWriteWithCacheStorage() {
|
||||||
|
@ -630,7 +602,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteWithDatabaseStorage method
|
* testReadAndWriteWithDatabaseStorage method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadAndWriteWithDatabaseStorage() {
|
public function testReadAndWriteWithDatabaseStorage() {
|
||||||
|
@ -673,7 +644,6 @@ class CakeSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSessionTimeout method
|
* testSessionTimeout method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSessionTimeout() {
|
public function testSessionTimeout() {
|
||||||
|
|
|
@ -33,7 +33,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
* autoFixtures property
|
* autoFixtures property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $autoFixtures = false;
|
public $autoFixtures = false;
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array(
|
public $fixtures = array(
|
||||||
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
|
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
|
||||||
|
@ -53,7 +51,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
* The Dbo instance to be tested
|
* The Dbo instance to be tested
|
||||||
*
|
*
|
||||||
* @var DboSource
|
* @var DboSource
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Dbo = null;
|
public $Dbo = null;
|
||||||
|
|
||||||
|
@ -659,7 +656,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadTableParameters method
|
* testReadTableParameters method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReadTableParameters() {
|
public function testReadTableParameters() {
|
||||||
|
@ -689,7 +685,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBuildTableParameters method
|
* testBuildTableParameters method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBuildTableParameters() {
|
public function testBuildTableParameters() {
|
||||||
|
@ -709,7 +704,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBuildTableParameters method
|
* testBuildTableParameters method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetCharsetName() {
|
public function testGetCharsetName() {
|
||||||
|
@ -850,7 +844,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFieldDoubleEscaping method
|
* testFieldDoubleEscaping method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFieldDoubleEscaping() {
|
public function testFieldDoubleEscaping() {
|
||||||
|
@ -985,7 +978,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
* buildRelatedModels method
|
* buildRelatedModels method
|
||||||
*
|
*
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @access protected
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function _buildRelatedModels($model) {
|
function _buildRelatedModels($model) {
|
||||||
|
@ -1008,7 +1000,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
* @param mixed $model
|
* @param mixed $model
|
||||||
* @param mixed $queryData
|
* @param mixed $queryData
|
||||||
* @param mixed $binding
|
* @param mixed $binding
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function &_prepareAssociationQuery($model, &$queryData, $binding) {
|
function &_prepareAssociationQuery($model, &$queryData, $binding) {
|
||||||
|
@ -1028,7 +1019,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateInnerJoinAssociationQuery method
|
* testGenerateInnerJoinAssociationQuery method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateInnerJoinAssociationQuery() {
|
public function testGenerateInnerJoinAssociationQuery() {
|
||||||
|
@ -1057,7 +1047,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQuerySelfJoinWithConditionsInHasOneBinding method
|
* testGenerateAssociationQuerySelfJoinWithConditionsInHasOneBinding method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQuerySelfJoinWithConditionsInHasOneBinding() {
|
public function testGenerateAssociationQuerySelfJoinWithConditionsInHasOneBinding() {
|
||||||
|
@ -1085,7 +1074,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQuerySelfJoinWithConditionsInBelongsToBinding method
|
* testGenerateAssociationQuerySelfJoinWithConditionsInBelongsToBinding method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQuerySelfJoinWithConditionsInBelongsToBinding() {
|
public function testGenerateAssociationQuerySelfJoinWithConditionsInBelongsToBinding() {
|
||||||
|
@ -1112,7 +1100,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQuerySelfJoinWithConditions method
|
* testGenerateAssociationQuerySelfJoinWithConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQuerySelfJoinWithConditions() {
|
public function testGenerateAssociationQuerySelfJoinWithConditions() {
|
||||||
|
@ -1174,7 +1161,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasOne method
|
* testGenerateAssociationQueryHasOne method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasOne() {
|
public function testGenerateAssociationQueryHasOne() {
|
||||||
|
@ -1207,7 +1193,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasOneWithConditions method
|
* testGenerateAssociationQueryHasOneWithConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasOneWithConditions() {
|
public function testGenerateAssociationQueryHasOneWithConditions() {
|
||||||
|
@ -1237,7 +1222,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryBelongsTo method
|
* testGenerateAssociationQueryBelongsTo method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryBelongsTo() {
|
public function testGenerateAssociationQueryBelongsTo() {
|
||||||
|
@ -1269,7 +1253,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryBelongsToWithConditions method
|
* testGenerateAssociationQueryBelongsToWithConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryBelongsToWithConditions() {
|
public function testGenerateAssociationQueryBelongsToWithConditions() {
|
||||||
|
@ -1301,7 +1284,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasMany method
|
* testGenerateAssociationQueryHasMany method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasMany() {
|
public function testGenerateAssociationQueryHasMany() {
|
||||||
|
@ -1331,7 +1313,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasManyWithLimit method
|
* testGenerateAssociationQueryHasManyWithLimit method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasManyWithLimit() {
|
public function testGenerateAssociationQueryHasManyWithLimit() {
|
||||||
|
@ -1371,7 +1352,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasManyWithConditions method
|
* testGenerateAssociationQueryHasManyWithConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasManyWithConditions() {
|
public function testGenerateAssociationQueryHasManyWithConditions() {
|
||||||
|
@ -1400,7 +1380,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasManyWithOffsetAndLimit method
|
* testGenerateAssociationQueryHasManyWithOffsetAndLimit method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasManyWithOffsetAndLimit() {
|
public function testGenerateAssociationQueryHasManyWithOffsetAndLimit() {
|
||||||
|
@ -1438,7 +1417,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasManyWithPageAndLimit method
|
* testGenerateAssociationQueryHasManyWithPageAndLimit method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasManyWithPageAndLimit() {
|
public function testGenerateAssociationQueryHasManyWithPageAndLimit() {
|
||||||
|
@ -1475,7 +1453,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasManyWithFields method
|
* testGenerateAssociationQueryHasManyWithFields method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasManyWithFields() {
|
public function testGenerateAssociationQueryHasManyWithFields() {
|
||||||
|
@ -1623,7 +1600,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasAndBelongsToMany method
|
* testGenerateAssociationQueryHasAndBelongsToMany method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasAndBelongsToMany() {
|
public function testGenerateAssociationQueryHasAndBelongsToMany() {
|
||||||
|
@ -1655,7 +1631,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasAndBelongsToManyWithConditions method
|
* testGenerateAssociationQueryHasAndBelongsToManyWithConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasAndBelongsToManyWithConditions() {
|
public function testGenerateAssociationQueryHasAndBelongsToManyWithConditions() {
|
||||||
|
@ -1684,7 +1659,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasAndBelongsToManyWithOffsetAndLimit method
|
* testGenerateAssociationQueryHasAndBelongsToManyWithOffsetAndLimit method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasAndBelongsToManyWithOffsetAndLimit() {
|
public function testGenerateAssociationQueryHasAndBelongsToManyWithOffsetAndLimit() {
|
||||||
|
@ -1721,7 +1695,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testGenerateAssociationQueryHasAndBelongsToManyWithPageAndLimit method
|
* testGenerateAssociationQueryHasAndBelongsToManyWithPageAndLimit method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGenerateAssociationQueryHasAndBelongsToManyWithPageAndLimit() {
|
public function testGenerateAssociationQueryHasAndBelongsToManyWithPageAndLimit() {
|
||||||
|
@ -1758,7 +1731,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSelectDistict method
|
* testSelectDistict method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSelectDistict() {
|
public function testSelectDistict() {
|
||||||
|
@ -1771,7 +1743,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testStringConditionsParsing method
|
* testStringConditionsParsing method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testStringConditionsParsing() {
|
public function testStringConditionsParsing() {
|
||||||
|
@ -1888,7 +1859,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testQuotesInStringConditions method
|
* testQuotesInStringConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testQuotesInStringConditions() {
|
public function testQuotesInStringConditions() {
|
||||||
|
@ -1913,7 +1883,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testParenthesisInStringConditions method
|
* testParenthesisInStringConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testParenthesisInStringConditions() {
|
public function testParenthesisInStringConditions() {
|
||||||
|
@ -1963,7 +1932,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testParenthesisInArrayConditions method
|
* testParenthesisInArrayConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testParenthesisInArrayConditions() {
|
public function testParenthesisInArrayConditions() {
|
||||||
|
@ -2013,7 +1981,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testArrayConditionsParsing method
|
* testArrayConditionsParsing method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testArrayConditionsParsing() {
|
public function testArrayConditionsParsing() {
|
||||||
|
@ -2246,7 +2213,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testArrayConditionsParsingComplexKeys method
|
* testArrayConditionsParsingComplexKeys method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testArrayConditionsParsingComplexKeys() {
|
public function testArrayConditionsParsingComplexKeys() {
|
||||||
|
@ -2272,7 +2238,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMixedConditionsParsing method
|
* testMixedConditionsParsing method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMixedConditionsParsing() {
|
public function testMixedConditionsParsing() {
|
||||||
|
@ -2294,7 +2259,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testConditionsOptionalArguments method
|
* testConditionsOptionalArguments method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testConditionsOptionalArguments() {
|
public function testConditionsOptionalArguments() {
|
||||||
|
@ -2308,7 +2272,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testConditionsWithModel
|
* testConditionsWithModel
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testConditionsWithModel() {
|
public function testConditionsWithModel() {
|
||||||
|
@ -2342,7 +2305,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testFieldParsing method
|
* testFieldParsing method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFieldParsing() {
|
public function testFieldParsing() {
|
||||||
|
@ -2484,7 +2446,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRenderStatement method
|
* testRenderStatement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRenderStatement() {
|
public function testRenderStatement() {
|
||||||
|
@ -2510,7 +2471,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testSchema method
|
* testSchema method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchema() {
|
public function testSchema() {
|
||||||
|
@ -2531,7 +2491,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testOrderParsing method
|
* testOrderParsing method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testOrderParsing() {
|
public function testOrderParsing() {
|
||||||
|
@ -2617,7 +2576,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testCalculations method
|
* testCalculations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCalculations() {
|
public function testCalculations() {
|
||||||
|
@ -2660,7 +2618,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLength method
|
* testLength method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLength() {
|
public function testLength() {
|
||||||
|
@ -2704,7 +2661,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBuildIndex method
|
* testBuildIndex method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBuildIndex() {
|
public function testBuildIndex() {
|
||||||
|
@ -2733,7 +2689,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testBuildColumn method
|
* testBuildColumn method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBuildColumn2() {
|
public function testBuildColumn2() {
|
||||||
|
@ -3167,7 +3122,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testIntrospectType method
|
* testIntrospectType method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIntrospectType() {
|
public function testIntrospectType() {
|
||||||
|
@ -3328,7 +3282,6 @@ class DboMysqlTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testRealQueries method
|
* testRealQueries method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRealQueries() {
|
public function testRealQueries() {
|
||||||
|
|
|
@ -35,7 +35,6 @@ class DboOracleTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setup method
|
* setup method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -48,7 +47,6 @@ class DboOracleTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLastErrorStatement method
|
* testLastErrorStatement method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLastErrorStatement() {
|
public function testLastErrorStatement() {
|
||||||
|
@ -62,7 +60,6 @@ class DboOracleTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLastErrorConnect method
|
* testLastErrorConnect method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLastErrorConnect() {
|
public function testLastErrorConnect() {
|
||||||
|
@ -80,7 +77,6 @@ class DboOracleTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testName method
|
* testName method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testName() {
|
public function testName() {
|
||||||
|
|
|
@ -34,7 +34,6 @@ class DboPostgresTestDb extends Postgres {
|
||||||
* simulated property
|
* simulated property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $simulated = array();
|
public $simulated = array();
|
||||||
|
|
||||||
|
@ -42,7 +41,6 @@ class DboPostgresTestDb extends Postgres {
|
||||||
* execute method
|
* execute method
|
||||||
*
|
*
|
||||||
* @param mixed $sql
|
* @param mixed $sql
|
||||||
* @access protected
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function _execute($sql, $params = array()) {
|
function _execute($sql, $params = array()) {
|
||||||
|
@ -53,7 +51,6 @@ class DboPostgresTestDb extends Postgres {
|
||||||
/**
|
/**
|
||||||
* getLastQuery method
|
* getLastQuery method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getLastQuery() {
|
public function getLastQuery() {
|
||||||
|
@ -72,7 +69,6 @@ class PostgresTestModel extends Model {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'PostgresTestModel'
|
* @var string 'PostgresTestModel'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'PostgresTestModel';
|
public $name = 'PostgresTestModel';
|
||||||
|
|
||||||
|
@ -80,7 +76,6 @@ class PostgresTestModel extends Model {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = false;
|
public $useTable = false;
|
||||||
|
|
||||||
|
@ -88,7 +83,6 @@ class PostgresTestModel extends Model {
|
||||||
* belongsTo property
|
* belongsTo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array(
|
public $belongsTo = array(
|
||||||
'PostgresClientTestModel' => array(
|
'PostgresClientTestModel' => array(
|
||||||
|
@ -103,7 +97,6 @@ class PostgresTestModel extends Model {
|
||||||
* @param mixed $fields
|
* @param mixed $fields
|
||||||
* @param mixed $order
|
* @param mixed $order
|
||||||
* @param mixed $recursive
|
* @param mixed $recursive
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function find($conditions = null, $fields = null, $order = null, $recursive = null) {
|
public function find($conditions = null, $fields = null, $order = null, $recursive = null) {
|
||||||
|
@ -117,7 +110,6 @@ class PostgresTestModel extends Model {
|
||||||
* @param mixed $fields
|
* @param mixed $fields
|
||||||
* @param mixed $order
|
* @param mixed $order
|
||||||
* @param mixed $recursive
|
* @param mixed $recursive
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function findAll($conditions = null, $fields = null, $order = null, $recursive = null) {
|
public function findAll($conditions = null, $fields = null, $order = null, $recursive = null) {
|
||||||
|
@ -127,7 +119,6 @@ class PostgresTestModel extends Model {
|
||||||
/**
|
/**
|
||||||
* schema method
|
* schema method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function schema($field = false) {
|
public function schema($field = false) {
|
||||||
|
@ -165,7 +156,6 @@ class PostgresClientTestModel extends Model {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'PostgresClientTestModel'
|
* @var string 'PostgresClientTestModel'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'PostgresClientTestModel';
|
public $name = 'PostgresClientTestModel';
|
||||||
|
|
||||||
|
@ -173,14 +163,12 @@ class PostgresClientTestModel extends Model {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = false;
|
public $useTable = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* schema method
|
* schema method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function schema($field = false) {
|
public function schema($field = false) {
|
||||||
|
@ -206,7 +194,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
* using CakeTestCase::loadFixtures
|
* using CakeTestCase::loadFixtures
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $autoFixtures = false;
|
public $autoFixtures = false;
|
||||||
|
|
||||||
|
@ -214,7 +201,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
* Fixtures
|
* Fixtures
|
||||||
*
|
*
|
||||||
* @var object
|
* @var object
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.user', 'core.binary_test', 'core.comment', 'core.article',
|
public $fixtures = array('core.user', 'core.binary_test', 'core.comment', 'core.article',
|
||||||
'core.tag', 'core.articles_tag', 'core.attachment', 'core.person', 'core.post', 'core.author',
|
'core.tag', 'core.articles_tag', 'core.attachment', 'core.person', 'core.post', 'core.author',
|
||||||
|
@ -224,7 +210,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
* Actual DB connection used in testing
|
* Actual DB connection used in testing
|
||||||
*
|
*
|
||||||
* @var DboSource
|
* @var DboSource
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Dbo = null;
|
public $Dbo = null;
|
||||||
|
|
||||||
|
@ -232,7 +217,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
* Simulated DB connection used in testing
|
* Simulated DB connection used in testing
|
||||||
*
|
*
|
||||||
* @var DboSource
|
* @var DboSource
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Dbo2 = null;
|
public $Dbo2 = null;
|
||||||
|
|
||||||
|
@ -310,7 +294,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testColumnParsing method
|
* testColumnParsing method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testColumnParsing() {
|
public function testColumnParsing() {
|
||||||
|
@ -325,7 +308,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testValueQuoting method
|
* testValueQuoting method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testValueQuoting() {
|
public function testValueQuoting() {
|
||||||
|
@ -395,7 +377,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests that different Postgres boolean 'flavors' are properly returned as native PHP booleans
|
* Tests that different Postgres boolean 'flavors' are properly returned as native PHP booleans
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBooleanNormalization() {
|
public function testBooleanNormalization() {
|
||||||
|
@ -430,7 +411,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLastInsertIdMultipleInsert method
|
* testLastInsertIdMultipleInsert method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLastInsertIdMultipleInsert() {
|
public function testLastInsertIdMultipleInsert() {
|
||||||
|
@ -452,7 +432,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests that table lists and descriptions are scoped to the proper Postgres schema
|
* Tests that table lists and descriptions are scoped to the proper Postgres schema
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaScoping() {
|
public function testSchemaScoping() {
|
||||||
|
@ -474,7 +453,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
* Tests that column types without default lengths in $columns do not have length values
|
* Tests that column types without default lengths in $columns do not have length values
|
||||||
* applied when generating schemas.
|
* applied when generating schemas.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testColumnUseLength() {
|
public function testColumnUseLength() {
|
||||||
|
@ -490,7 +468,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests that binary data is escaped/unescaped properly on reads and writes
|
* Tests that binary data is escaped/unescaped properly on reads and writes
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBinaryDataIntegrity() {
|
public function testBinaryDataIntegrity() {
|
||||||
|
@ -524,7 +501,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests the syntax of generated schema indexes
|
* Tests the syntax of generated schema indexes
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchemaIndexSyntax() {
|
public function testSchemaIndexSyntax() {
|
||||||
|
@ -639,7 +615,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Test the alterSchema capabilities of postgres
|
* Test the alterSchema capabilities of postgres
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAlterSchema() {
|
public function testAlterSchema() {
|
||||||
|
@ -688,7 +663,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Test the alter index capabilities of postgres
|
* Test the alter index capabilities of postgres
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAlterIndexes() {
|
public function testAlterIndexes() {
|
||||||
|
@ -764,7 +738,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/*
|
/*
|
||||||
* Test it is possible to use virtual field with postgresql
|
* Test it is possible to use virtual field with postgresql
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testVirtualFields() {
|
public function testVirtualFields() {
|
||||||
|
@ -786,7 +759,6 @@ class DboPostgresTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* Tests additional order options for postgres
|
* Tests additional order options for postgres
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testOrderAdditionalParams() {
|
public function testOrderAdditionalParams() {
|
||||||
|
|
|
@ -31,7 +31,6 @@ class DboSqliteTestDb extends Sqlite {
|
||||||
* simulated property
|
* simulated property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $simulated = array();
|
public $simulated = array();
|
||||||
|
|
||||||
|
@ -39,7 +38,6 @@ class DboSqliteTestDb extends Sqlite {
|
||||||
* execute method
|
* execute method
|
||||||
*
|
*
|
||||||
* @param mixed $sql
|
* @param mixed $sql
|
||||||
* @access protected
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function _execute($sql, $params = array()) {
|
function _execute($sql, $params = array()) {
|
||||||
|
@ -50,7 +48,6 @@ class DboSqliteTestDb extends Sqlite {
|
||||||
/**
|
/**
|
||||||
* getLastQuery method
|
* getLastQuery method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getLastQuery() {
|
public function getLastQuery() {
|
||||||
|
@ -69,7 +66,6 @@ class DboSqliteTest extends CakeTestCase {
|
||||||
* Do not automatically load fixtures for each test, they will be loaded manually using CakeTestCase::loadFixtures
|
* Do not automatically load fixtures for each test, they will be loaded manually using CakeTestCase::loadFixtures
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $autoFixtures = false;
|
public $autoFixtures = false;
|
||||||
|
|
||||||
|
@ -77,7 +73,6 @@ class DboSqliteTest extends CakeTestCase {
|
||||||
* Fixtures
|
* Fixtures
|
||||||
*
|
*
|
||||||
* @var object
|
* @var object
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.user');
|
public $fixtures = array('core.user');
|
||||||
|
|
||||||
|
@ -85,7 +80,6 @@ class DboSqliteTest extends CakeTestCase {
|
||||||
* Actual DB connection used in testing
|
* Actual DB connection used in testing
|
||||||
*
|
*
|
||||||
* @var DboSource
|
* @var DboSource
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $Dbo = null;
|
public $Dbo = null;
|
||||||
|
|
||||||
|
@ -127,7 +121,6 @@ class DboSqliteTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* test Index introspection.
|
* test Index introspection.
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIndex() {
|
public function testIndex() {
|
||||||
|
|
|
@ -38,7 +38,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
* debug property
|
* debug property
|
||||||
*
|
*
|
||||||
* @var mixed null
|
* @var mixed null
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $debug = null;
|
public $debug = null;
|
||||||
|
|
||||||
|
@ -46,7 +45,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
* autoFixtures property
|
* autoFixtures property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $autoFixtures = false;
|
public $autoFixtures = false;
|
||||||
|
|
||||||
|
@ -54,7 +52,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array(
|
public $fixtures = array(
|
||||||
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
|
'core.apple', 'core.article', 'core.articles_tag', 'core.attachment', 'core.comment',
|
||||||
|
@ -64,7 +61,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -81,7 +77,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
* execute method
|
* execute method
|
||||||
*
|
*
|
||||||
* @param \$sql
|
* @param \$sql
|
||||||
* @access protected
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function _execute(\$sql) {
|
function _execute(\$sql) {
|
||||||
|
@ -92,7 +87,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* getLastQuery method
|
* getLastQuery method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getLastQuery() {
|
public function getLastQuery() {
|
||||||
|
@ -112,7 +106,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* endTest method
|
* endTest method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function tearDown() {
|
public function tearDown() {
|
||||||
|
@ -161,7 +154,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMergeAssociations method
|
* testMergeAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMergeAssociations() {
|
public function testMergeAssociations() {
|
||||||
|
@ -436,7 +428,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testMagicMethodQuerying method
|
* testMagicMethodQuerying method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testMagicMethodQuerying() {
|
public function testMagicMethodQuerying() {
|
||||||
|
@ -509,7 +500,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testValue method
|
* testValue method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testValue() {
|
public function testValue() {
|
||||||
|
@ -524,7 +514,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReconnect method
|
* testReconnect method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testReconnect() {
|
public function testReconnect() {
|
||||||
|
@ -536,7 +525,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testName method
|
* testName method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testName() {
|
public function testName() {
|
||||||
|
@ -623,7 +611,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testLog method
|
* testLog method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLog() {
|
public function testLog() {
|
||||||
|
@ -815,7 +802,6 @@ class DboSourceTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testStatements method
|
* testStatements method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testStatements() {
|
public function testStatements() {
|
||||||
|
|
|
@ -129,7 +129,6 @@ class DatabaseSessionTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testReadAndWriteWithDatabaseStorage method
|
* testReadAndWriteWithDatabaseStorage method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testWriteEmptySessionId() {
|
public function testWriteEmptySessionId() {
|
||||||
|
|
|
@ -32,7 +32,6 @@ class DbAclNodeTestBase extends AclNode {
|
||||||
* useDbConfig property
|
* useDbConfig property
|
||||||
*
|
*
|
||||||
* @var string 'test'
|
* @var string 'test'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useDbConfig = 'test';
|
public $useDbConfig = 'test';
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ class DbAclNodeTestBase extends AclNode {
|
||||||
* cacheSources property
|
* cacheSources property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheSources = false;
|
public $cacheSources = false;
|
||||||
}
|
}
|
||||||
|
@ -56,7 +54,6 @@ class DbAroTest extends DbAclNodeTestBase {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'DbAroTest'
|
* @var string 'DbAroTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'DbAroTest';
|
public $name = 'DbAroTest';
|
||||||
|
|
||||||
|
@ -64,7 +61,6 @@ class DbAroTest extends DbAclNodeTestBase {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'aros'
|
* @var string 'aros'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'aros';
|
public $useTable = 'aros';
|
||||||
|
|
||||||
|
@ -72,7 +68,6 @@ class DbAroTest extends DbAclNodeTestBase {
|
||||||
* hasAndBelongsToMany property
|
* hasAndBelongsToMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array('DbAcoTest' => array('with' => 'DbPermissionTest'));
|
public $hasAndBelongsToMany = array('DbAcoTest' => array('with' => 'DbPermissionTest'));
|
||||||
}
|
}
|
||||||
|
@ -88,7 +83,6 @@ class DbAcoTest extends DbAclNodeTestBase {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'DbAcoTest'
|
* @var string 'DbAcoTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'DbAcoTest';
|
public $name = 'DbAcoTest';
|
||||||
|
|
||||||
|
@ -96,7 +90,6 @@ class DbAcoTest extends DbAclNodeTestBase {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'acos'
|
* @var string 'acos'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'acos';
|
public $useTable = 'acos';
|
||||||
|
|
||||||
|
@ -104,7 +97,6 @@ class DbAcoTest extends DbAclNodeTestBase {
|
||||||
* hasAndBelongsToMany property
|
* hasAndBelongsToMany property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $hasAndBelongsToMany = array('DbAroTest' => array('with' => 'DbPermissionTest'));
|
public $hasAndBelongsToMany = array('DbAroTest' => array('with' => 'DbPermissionTest'));
|
||||||
}
|
}
|
||||||
|
@ -120,7 +112,6 @@ class DbPermissionTest extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'DbPermissionTest'
|
* @var string 'DbPermissionTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'DbPermissionTest';
|
public $name = 'DbPermissionTest';
|
||||||
|
|
||||||
|
@ -128,7 +119,6 @@ class DbPermissionTest extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'aros_acos'
|
* @var string 'aros_acos'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'aros_acos';
|
public $useTable = 'aros_acos';
|
||||||
|
|
||||||
|
@ -136,7 +126,6 @@ class DbPermissionTest extends CakeTestModel {
|
||||||
* cacheQueries property
|
* cacheQueries property
|
||||||
*
|
*
|
||||||
* @var bool false
|
* @var bool false
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $cacheQueries = false;
|
public $cacheQueries = false;
|
||||||
|
|
||||||
|
@ -144,7 +133,6 @@ class DbPermissionTest extends CakeTestModel {
|
||||||
* belongsTo property
|
* belongsTo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array('DbAroTest' => array('foreignKey' => 'aro_id'), 'DbAcoTest' => array('foreignKey' => 'aco_id'));
|
public $belongsTo = array('DbAroTest' => array('foreignKey' => 'aro_id'), 'DbAcoTest' => array('foreignKey' => 'aco_id'));
|
||||||
}
|
}
|
||||||
|
@ -160,7 +148,6 @@ class DbAcoActionTest extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'DbAcoActionTest'
|
* @var string 'DbAcoActionTest'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'DbAcoActionTest';
|
public $name = 'DbAcoActionTest';
|
||||||
|
|
||||||
|
@ -168,7 +155,6 @@ class DbAcoActionTest extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'aco_actions'
|
* @var string 'aco_actions'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'aco_actions';
|
public $useTable = 'aco_actions';
|
||||||
|
|
||||||
|
@ -176,7 +162,6 @@ class DbAcoActionTest extends CakeTestModel {
|
||||||
* belongsTo property
|
* belongsTo property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $belongsTo = array('DbAcoTest' => array('foreignKey' => 'aco_id'));
|
public $belongsTo = array('DbAcoTest' => array('foreignKey' => 'aco_id'));
|
||||||
}
|
}
|
||||||
|
@ -192,7 +177,6 @@ class DbAroUserTest extends CakeTestModel {
|
||||||
* name property
|
* name property
|
||||||
*
|
*
|
||||||
* @var string 'AuthUser'
|
* @var string 'AuthUser'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $name = 'AuthUser';
|
public $name = 'AuthUser';
|
||||||
|
|
||||||
|
@ -200,14 +184,12 @@ class DbAroUserTest extends CakeTestModel {
|
||||||
* useTable property
|
* useTable property
|
||||||
*
|
*
|
||||||
* @var string 'auth_users'
|
* @var string 'auth_users'
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $useTable = 'auth_users';
|
public $useTable = 'auth_users';
|
||||||
/**
|
/**
|
||||||
* bindNode method
|
* bindNode method
|
||||||
*
|
*
|
||||||
* @param mixed $ref
|
* @param mixed $ref
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function bindNode($ref = null) {
|
public function bindNode($ref = null) {
|
||||||
|
@ -229,7 +211,6 @@ class TestDbAcl extends DbAcl {
|
||||||
/**
|
/**
|
||||||
* construct method
|
* construct method
|
||||||
*
|
*
|
||||||
* @access private
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct() {
|
function __construct() {
|
||||||
|
@ -251,14 +232,12 @@ class AclNodeTest extends CakeTestCase {
|
||||||
* fixtures property
|
* fixtures property
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @access public
|
|
||||||
*/
|
*/
|
||||||
public $fixtures = array('core.aro', 'core.aco', 'core.aros_aco', 'core.aco_action', 'core.auth_user');
|
public $fixtures = array('core.aro', 'core.aco', 'core.aros_aco', 'core.aco_action', 'core.auth_user');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setUp method
|
* setUp method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
|
@ -269,7 +248,6 @@ class AclNodeTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testNode method
|
* testNode method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testNode() {
|
public function testNode() {
|
||||||
|
@ -322,7 +300,6 @@ class AclNodeTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testNodeArrayFind method
|
* testNodeArrayFind method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testNodeArrayFind() {
|
public function testNodeArrayFind() {
|
||||||
|
@ -340,7 +317,6 @@ class AclNodeTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testNodeObjectFind method
|
* testNodeObjectFind method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testNodeObjectFind() {
|
public function testNodeObjectFind() {
|
||||||
|
@ -361,7 +337,6 @@ class AclNodeTest extends CakeTestCase {
|
||||||
/**
|
/**
|
||||||
* testNodeAliasParenting method
|
* testNodeAliasParenting method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testNodeAliasParenting() {
|
public function testNodeAliasParenting() {
|
||||||
|
|
|
@ -28,7 +28,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDeleteHabtmReferenceWithConditions method
|
* testDeleteHabtmReferenceWithConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteHabtmReferenceWithConditions() {
|
public function testDeleteHabtmReferenceWithConditions() {
|
||||||
|
@ -119,7 +118,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDeleteArticleBLinks method
|
* testDeleteArticleBLinks method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteArticleBLinks() {
|
public function testDeleteArticleBLinks() {
|
||||||
|
@ -148,7 +146,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDeleteDependentWithConditions method
|
* testDeleteDependentWithConditions method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteDependentWithConditions() {
|
public function testDeleteDependentWithConditions() {
|
||||||
|
@ -188,7 +185,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDel method
|
* testDel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDelete() {
|
public function testDelete() {
|
||||||
|
@ -285,7 +281,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDeleteAll method
|
* testDeleteAll method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteAll() {
|
public function testDeleteAll() {
|
||||||
|
@ -433,7 +428,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testRecursiveDel method
|
* testRecursiveDel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testRecursiveDel() {
|
public function testRecursiveDel() {
|
||||||
|
@ -469,7 +463,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDependentExclusiveDelete method
|
* testDependentExclusiveDelete method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDependentExclusiveDelete() {
|
public function testDependentExclusiveDelete() {
|
||||||
|
@ -488,7 +481,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDeleteLinks method
|
* testDeleteLinks method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeleteLinks() {
|
public function testDeleteLinks() {
|
||||||
|
@ -588,7 +580,6 @@ class ModelDeleteTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testHabtmDeleteLinksWhenNoPrimaryKeyInJoinTable method
|
* testHabtmDeleteLinksWhenNoPrimaryKeyInJoinTable method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testHabtmDeleteLinksWhenNoPrimaryKeyInJoinTable() {
|
public function testHabtmDeleteLinksWhenNoPrimaryKeyInJoinTable() {
|
||||||
|
|
|
@ -146,7 +146,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testPkInHAbtmLinkModelArticleB
|
* testPkInHAbtmLinkModelArticleB
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPkInHabtmLinkModelArticleB() {
|
public function testPkInHabtmLinkModelArticleB() {
|
||||||
|
@ -158,7 +157,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* Tests that $cacheSources can only be disabled in the db using model settings, not enabled
|
* Tests that $cacheSources can only be disabled in the db using model settings, not enabled
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCacheSourcesDisabling() {
|
public function testCacheSourcesDisabling() {
|
||||||
|
@ -179,7 +177,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testPkInHabtmLinkModel method
|
* testPkInHabtmLinkModel method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPkInHabtmLinkModel() {
|
public function testPkInHabtmLinkModel() {
|
||||||
|
@ -207,7 +204,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDynamicBehaviorAttachment method
|
* testDynamicBehaviorAttachment method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDynamicBehaviorAttachment() {
|
public function testDynamicBehaviorAttachment() {
|
||||||
|
@ -592,7 +588,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDisplayField method
|
* testDisplayField method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDisplayField() {
|
public function testDisplayField() {
|
||||||
|
@ -609,7 +604,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testSchema method
|
* testSchema method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testSchema() {
|
public function testSchema() {
|
||||||
|
@ -720,7 +714,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDeconstructFields with datetime, timestamp, and date fields
|
* testDeconstructFields with datetime, timestamp, and date fields
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDeconstructFieldsDateTime() {
|
public function testDeconstructFieldsDateTime() {
|
||||||
|
@ -899,7 +892,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testTablePrefixSwitching method
|
* testTablePrefixSwitching method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testTablePrefixSwitching() {
|
public function testTablePrefixSwitching() {
|
||||||
|
@ -953,7 +945,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* Tests validation parameter order in custom validation methods
|
* Tests validation parameter order in custom validation methods
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testInvalidAssociation() {
|
public function testInvalidAssociation() {
|
||||||
|
@ -964,7 +955,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testLoadModelSecondIteration method
|
* testLoadModelSecondIteration method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testLoadModelSecondIteration() {
|
public function testLoadModelSecondIteration() {
|
||||||
|
@ -1028,7 +1018,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testPluginAssociations method
|
* testPluginAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testPluginAssociations() {
|
public function testPluginAssociations() {
|
||||||
|
@ -1153,7 +1142,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* Tests getAssociated method
|
* Tests getAssociated method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testGetAssociated() {
|
public function testGetAssociated() {
|
||||||
|
@ -1197,7 +1185,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testAutoConstructAssociations method
|
* testAutoConstructAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testAutoConstructAssociations() {
|
public function testAutoConstructAssociations() {
|
||||||
|
@ -1344,7 +1331,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testColumnTypeFetching method
|
* testColumnTypeFetching method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testColumnTypeFetching() {
|
public function testColumnTypeFetching() {
|
||||||
|
@ -1363,7 +1349,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testHabtmUniqueKey method
|
* testHabtmUniqueKey method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testHabtmUniqueKey() {
|
public function testHabtmUniqueKey() {
|
||||||
|
@ -1374,7 +1359,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testIdentity method
|
* testIdentity method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testIdentity() {
|
public function testIdentity() {
|
||||||
|
@ -1397,7 +1381,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testWithAssociation method
|
* testWithAssociation method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testWithAssociation() {
|
public function testWithAssociation() {
|
||||||
|
@ -1649,7 +1632,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testFindSelfAssociations method
|
* testFindSelfAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testFindSelfAssociations() {
|
public function testFindSelfAssociations() {
|
||||||
|
@ -1759,7 +1741,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testDynamicAssociations method
|
* testDynamicAssociations method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testDynamicAssociations() {
|
public function testDynamicAssociations() {
|
||||||
|
@ -1867,7 +1848,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
/**
|
/**
|
||||||
* testCreation method
|
* testCreation method
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testCreation() {
|
public function testCreation() {
|
||||||
|
@ -1987,7 +1967,6 @@ class ModelIntegrationTest extends BaseModelTest {
|
||||||
* testEscapeField to prove it escapes the field well even when it has part of the alias on it
|
* testEscapeField to prove it escapes the field well even when it has part of the alias on it
|
||||||
* @see ttp://cakephp.lighthouseapp.com/projects/42648-cakephp-1x/tickets/473-escapefield-doesnt-consistently-prepend-modelname
|
* @see ttp://cakephp.lighthouseapp.com/projects/42648-cakephp-1x/tickets/473-escapefield-doesnt-consistently-prepend-modelname
|
||||||
*
|
*
|
||||||
* @access public
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testEscapeField() {
|
public function testEscapeField() {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue