2009年2月27日星期五

Re: [fw-mvc] Exception with HeadLink

I resolved this by adding the following snippet to
/Zend/View/Helper/Placeholder/Container/Abstract.php


/**
* Sort the array by key
*
* @return array
*/
public function ksort()
{
$items = $this->getArrayCopy();
return ksort($items);
}


Regards,
Jay M. Keith


On Fri, Feb 27, 2009 at 9:36 AM, Jay M. Keith <googlator@gmail.com> wrote:
> After looking through the issue tracker, it's a known bug.
>
> http://framework.zend.com/issues/browse/ZF-5883
>
> It appears to also affect, HeadLink, HeadScript, HeadMeta, and HeadStyle.
>
> Regards,
> Jay M. Keith
>
> On Fri, Feb 27, 2009 at 9:33 AM,  <m@il.wolf-u.li> wrote:
>> You probably ran into this:
>> http://weierophinney.net/matthew/archives/206-Zend-Framework-1.7.5-Released-Important-Note-Regarding-Zend_View.html
>>
>> Fix is also described there.
>>
>> Hope this helps
>> Uli
>>
>> On Fri, 27 Feb 2009 09:28:42 -0600, "Jay M. Keith" <googlator@gmail.com>
>> wrote:
>>> I recently upgraded some code from 1.6.x series to 1.7.5 and came up
>>> with some issues related to the HeadLink view helper.
>>
>

没有评论: