. . .

Correct way to access components in your modules

Published: October 26, 2010

On This Page

    You can also configure modules’ components in the main config file

     

    'modules'=>array(
        'my'=>array(
            'components'=>array(
                'foo'=>array(
                    'class'=>'FooComponent',
                    'a'=>'hello',
                ),
            ),
        ),
    ),

     

    Don't forget to share this post

      Let's Build Digital Excellence Together


      • Cost Efficient Solutions.
      • Minimal Timelines.
      • Effective Communication.
      • High Quality Standards.
      • Lifetime Support.
      • Transparent Execution.
      • 24/7 Availability.
      • Scalable Teams.

      Join Our 200+ Happy Clients Across Globe


      Free Consultation.

        Do you need tech help of your startup/business? Experts from our team will get in touch with you.

        Please do not post jobs/internships inquiries here.