Documentation


SEARCH

TABLE OF CONTENT

    1. Getting started 2. Basic concepts 3. Request dispatching 4. Context container 5. Dual MVC 6. Component model: 7. Security 8. Configuration 9. Session handling 10. I18n 11. Cache 12. Logging 13. Error handling 14. Advanced Topics 15. API reference

      Tutorials: Frequently Asqued Questions

      See also:


      Class: __AreaComponent


      Class Overview

      Area can be used to enclose one of more components.


      Area components are usefull to show or hidden all the enclosed components at the same time by just making the area visible or not.

      Area tag is "area"

      i.e.

      1.    <comp:area name="my_area">
      2.  
      3.      <comp:label name="your_name_label" text="Your name:"/>
      4.      <comp:inputbox name="your_name"/>
      5.      <br>
      6.      <comp:label name="your_email" text="Your email:"/>
      7.  
      8.    </comp:area>

      As in this example, we can show or hidden all the enclosed components by just making visible the "my_area" component:

      1.    //hidden all the components enclosed in my_area:
      2.    $my_area $this->getComponent('my_area');
      3.    $my_area->setVisible(false);


      See the area component in action here: http://www.lionframework.org/components/area.html


      Author:  Antonio Parraga Navarro
      Version:  1.3
      Copyright:  Copyright (c) 2009 Antonio Parraga Navarro
      __UIComponent
         |
         --__UIContainer
            |
            --__AreaComponent
      [ Top ]

      Inherited Properties, Constants, and Methods

      Inherited Properties Inherited Methods Inherited Constants

      Inherited From __UIContainer

      Inherited From __UIComponent

      Inherited From __UIContainer

      Inherited From __UIComponent


      [ Top ]

      Properties

      Methods