#5764: HtmlHelper::tableCells bug when using TD options in first cell
--------------------------------------+-------------------------------------
    Reporter:  sneeka2                |         Owner:         
        Type:  Enhancement            |        Status:  new    
    Priority:  Low                    |     Milestone:  1.2.x.x
   Component:  Helpers                |       Version:  RC3    
    Severity:  Minor                  |    Resolution:         
    Keywords:  htmlhelper tablecells  |   Php_version:  n/a    
Cake_version:                         |  
--------------------------------------+-------------------------------------
Changes (by AD7six):

  * type:  Bug => Enhancement

Comment:

 The nested array format :

 {{{
 array(
   array('row1cell1', 'row1cell2', ..),
   array('row2cell1', 'row2cell2', ..),
 )

 }}}

 Is how this method is designed to work. For convenience it accepts a 1d
 array, and assumes what you pass is a single row of n cells, instead of n
 rows of a single (malformed) cell.

 using the 1 dimensional array format combined with passing options for the
 first cell creates ambiguity and is the reason for the described behavior.
 As it does not affect the functionality of the method (you can use the
 more verbose format to avoid the ambiguity) moving to enhancement for
 later review.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5764#comment:1>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
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 [email protected]
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 Dev... CakePHP : The Rapid Development Framework for PHP
    • Re: [CakePHP : The ... CakePHP : The Rapid Development Framework for PHP

Reply via email to