getThemeInfo

Navigation:  Development > Architecture and Standard > App Factory > __Def >

getThemeInfo

Previous pageReturn to chapter overviewNext page

Provide system theme information.
 
App::__Def()->getThemeInfo(Theme Name);

 

 

Parameter

Description

Theme Name

Name of the theme to get information.

 

See below example:

 

$info = App::__Def()->getThemeInfo('rainbow');
 
/*
Return 
Array
(
    [name] => Rainbow
    [author] => Reazaul Karim
    [author_uri] => http://reazulk.wordpress.com
    [description] => The theme created based on 960 CSS Framework. Easy and simple to customize.
    [image] => logo.jpg
    [callback] => Development_View_Rainbow_Definition_Register
    [settings] => themesettings.xml
    [hooks] => Array
        (
            [header] => Array
                (
                    [title] => Header
                    [list] => Array
                        (
                            [template_header_A] => Header A
                            [template_header_B] => Header B
                        )
 
                )
 
            [footer] => Array
                (
                    [title] => Footer
                    [list] => Array
                        (
                            [template_footer_menu] => Footer Menu
                            [template_footer_A] => Footer Point A
                            [template_footer_B] => Footer Point B
                        )
 
                )
 
            [leftcol] => Array
                (
                    [title] => Left Column
                    [list] => Array
                        (
                            [template_left_column_A] => Left Column Section A
                            [template_left_column_B] => Left Column Section B
                            [template_left_column_C] => Left Column Section C
                            [template_left_column_D] => Left Column Section D
                        )
 
                )
 
            [homepage] => Array
                (
                    [title] => Home Page
                    [list] => Array
                        (
                            [home_page_banner_top] => Home Page Banner Top
                            [home_page_banner_bottom] => Home Page Banner Bottom
                            [home_content_area_A] => Home Content Area A
                            [home_content_area_B] => Home Content Area B
                        )
 
                )
 
        )
 
    [components] => Array
        (
            [auto] => Array
                (
                    [install] => Array
                        (
                        )
 
                    [uninstall] => Array
                        (
                        )
 
                )
 
        )
 
)
*/