ı var Denetleyici init() ortak tarzların bir listesi:Zend Framework: HeadLink yardımcı itibaren bir stil yoketmek nasıl
$this->view->headLink()->setStylesheet('/style/style.css');
$this->view->headLink()->appendStylesheet('/style/style2.css');
$this->view->headLink()->appendStylesheet('/style/style3.css');
$this->view->headLink()->appendStylesheet('/style/forms.css');
$this->view->headLink()->appendStylesheet('/style/ie_patches.css','all','lte IE 7');
ne gerek gelen stil birini kaldırmak için bir yoldur Daha sonra bu denetleyicinin eylemlerinden birine yığılır.
$headLinkContainer = $this->view->headLink()->getContainer();
unset($headLinkContainer[1]);
Bu eserler:
Eğer bir eylem yapabileceği '/style/style2.css' kaldırmak istiyorsanız Örneğin, aşağıdaki gibi yardımına, bahane İngilizcem
çalışıyor, thx! – Zippp