I suggest to create a view helper to scan and load all stylesheets :)


Em 01/11/2010 20:14, Jurian Sluiman escreveu:
Or chain the methods, which is even less code:

<?= $this->headLink()
                ->appendStylesheet('/css/common.css');
                ->appendStylesheet('/css/header.css');
                ->appendStylesheet('/css/footer.css');
                ->appendStylesheet('/css/content.css');
                ->appendStylesheet('/css/data.css');
                ->appendStylesheet('/css/navigation.css');
                ->appendStylesheet('/css/manage.css') ?>
<?= $this->headScript() ?>

Regards, Jurian

Reply via email to