Automatically adding a breadcrumbs section

I have an admin module, and I’m adding the option ‘Admin’ => ‘/admin’, to every breadcrumb in every view inside admin, but is there a more standard generic way of specifying that every breadcrumb inside the module have this option, in the same way they automatically have the Home option?

I use the beforeControllerAction :




<?php

class AdminModule extends CWebModule

{

    public function init()

    {

        $this->layoutPath = Yii::getPathOfAlias('application.views.layouts');

    }


    public function beforeControllerAction(CController $controller, CAction $action)

    {

        if (parent::beforeControllerAction($controller,$action)) {

            $controller->breadcrumbs = array(

                'Admin panel'=>array('/admin'),

            );

            return true;

        }

        else {

            return false;

        }

    }

}