Amacım bu şekilde elde edebilirsiniz gibi görünmüyor, çünkü tamamen farklı bir açıdan this problem saldırmak için çalışıyorum.
Ben HeadScript View Helper olarak madde yığının üzerinde döngü istiyorum, ve buna değişiklikler yapmak. The documentation Bu ve diğer görünümü yardımcıları bazıları için bu açıklamayı yapar:
HeadScript overrides each of append(), offsetSet(), prepend(), and set() to enforce usage of the special methods as listed above. Internally, it stores each item as a stdClass token, which it later serializes using the itemToString() method. This allows you to perform checks on the items in the stack, and optionally modify these items by simply modifying the object returned.
Peki, nerede bu "nesne döndü" dir? Ben burada bulmacanın bir parçası eksik.
Yardımlarınız için teşekkürler!