Re: [CakePHP : The Rapid Development Framework for PHP] #5750: Configure::write() Only Supports Keys 3 Levels Deep

2009-07-24 Thread CakePHP : The Rapid Development Framework for PHP
#5750: Configure::write() Only Supports Keys 3 Levels Deep
-+--
Reporter:  pr1001| Owner: 
Type:  Enhancement   |Status:  closed 
Priority:  Low   | Milestone:  1.3.x.x
   Component:  Config|   Version: 
Severity:  Minor |Resolution:  fixed  
Keywords:  configure, write, key, depth  |   Php_version:  PHP 5  
Cake_version:|  
-+--
Changes (by gwoo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 fixed in
 http://code.cakephp.org/commits/view/0fc5ce0e7565e5a5926389a72e35ca18aa654bba

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5750: Configure::write() Only Supports Keys 3 Levels Deep

2009-07-03 Thread CakePHP : The Rapid Development Framework for PHP
#5750: Configure::write() Only Supports Keys 3 Levels Deep
-+--
Reporter:  pr1001| Owner: 
Type:  Enhancement   |Status:  new
Priority:  Low   | Milestone:  1.3.x.x
   Component:  Config|   Version: 
Severity:  Minor |Resolution: 
Keywords:  configure, write, key, depth  |   Php_version:  PHP 5  
Cake_version:|  
-+--
Comment (by farhadi):

 Well, I used Set insert/extract/remove where applicable.

 Can you take a look at it:
 
http://thechaw.com/forks/farhadi/cakephp/commits/view/4f99d98174515a1a337ed4d4e91645d2e60bd303

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5750: Configure::write() Only Supports Keys 3 Levels Deep

2009-07-02 Thread CakePHP : The Rapid Development Framework for PHP
#5750: Configure::write() Only Supports Keys 3 Levels Deep
-+--
Reporter:  pr1001| Owner: 
Type:  Enhancement   |Status:  new
Priority:  Low   | Milestone:  1.3.x.x
   Component:  Config|   Version: 
Severity:  Minor |Resolution: 
Keywords:  configure, write, key, depth  |   Php_version:  PHP 5  
Cake_version:|  
-+--
Comment (by gwoo):

 your patch should use Set::extract() see Session for an example.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5750: Configure::write() Only Supports Keys 3 Levels Deep

2009-07-01 Thread CakePHP : The Rapid Development Framework for PHP
#5750: Configure::write() Only Supports Keys 3 Levels Deep
-+--
Reporter:  pr1001| Owner: 
Type:  Enhancement   |Status:  new
Priority:  Low   | Milestone:  1.3.x.x
   Component:  Config|   Version: 
Severity:  Minor |Resolution: 
Keywords:  configure, write, key, depth  |   Php_version:  PHP 5  
Cake_version:|  
-+--
Comment (by farhadi):

 I have just fixed this issue in here:
 
http://thechaw.com/forks/farhadi/cakephp/commits/view/3c1b01dc72c2bce5eb1cf435accc923c0dfb375d

 Can somebody review and apply this to the project?

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #5750: Configure::write() Only Supports Keys 3 Levels Deep

2008-11-13 Thread CakePHP : The Rapid Development Framework for PHP
#5750: Configure::write() Only Supports Keys 3 Levels Deep
-+--
Reporter:  pr1001| Owner: 
Type:  Enhancement   |Status:  new
Priority:  Low   | Milestone:  1.2.x.x
   Component:  Config|   Version:  RC3
Severity:  Minor |Resolution: 
Keywords:  configure, write, key, depth  |   Php_version:  PHP 5  
Cake_version:|  
-+--
Changes (by renan.saddam):

  * type:  Bug => Enhancement

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



[CakePHP : The Rapid Development Framework for PHP] #5750: Configure::write() Only Supports Keys 3 Levels Deep

2008-11-13 Thread CakePHP : The Rapid Development Framework for PHP
#5750: Configure::write() Only Supports Keys 3 Levels Deep
-+--
Reporter:  pr1001|  Type:  Bug   
  Status:  new   |  Priority:  Low   
   Milestone:  1.2.x.x   | Component:  Config
 Version:  RC3   |  Severity:  Minor 
Keywords:  configure, write, key, depth  |   Php_version:  PHP 5 
Cake_version:|  
-+--
 == Problem ==
 This code works:
 {{{
 Configure::write('Depth1.Depth2.Depth3', 'XX');
 Configure::read('Depth1.Depth2.Depth3');
 }}}
 While this does not:
 {{{
 Configure::write('Depth1.Depth2.Depth3.Depth4', 'YY');
 Configure::read('Depth1.Depth2.Depth3.Depth4');
 }}}

 == Cause ==
 In lines [http://api.cakephp.org/configure_8php-source.html#l00257 257] to
 [http://api.cakephp.org/configure_8php-source.html#l00268 268] of
 [http://api.cakephp.org/configure_8php-source.html configure.php] there
 are only cases for 2 and for 3 levels of depth, with anything else
 considered as 1 level of depth:

 {{{
 switch (count($name)) {
 case 3:
 $_this->{$name[0]}[$name[1]][$name[2]] = $value;
 break;
 case 2:
 $_this->{$name[0]}[$name[1]] = $value;
 break;
 default:
 $_this->{$name[0]} = $value;
 break;
 }
 }}}


 == Solution? ==
 I'm not sure this is even a bug, so perhaps the only change needed is to
 add a note about this to the documentation.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---