getCategorySetDefinition

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

getCategorySetDefinition

Previous pageReturn to chapter overviewNext page

Return categorySet definition.
 
App::__Def()->getCategorySetDefinition(Name);

 

 

Parameter

Type

Description

Name

Mandatory

Category Set name

 

See below example:

 

$info = App::__Def()->getCategorySetDefinition('blogpost');
 
/*

Return like
 
Array

(

    [version] => 0.1.0

    [lastupdate] => 2009-12-01

    [title] => Blog Category

    [admin_tab] => blog

    [base] => Array

        (

            [parameters] => Array

                (

                    [delete] => No

                )

 

        )

 

    [description] => Yes

    [image] => Array

        (

            [status] => No

            [type] => Single

        )

 

    [haschild] => Yes

    [generic] => Array

        (

            [status] => Yes

            [title] => Sort Order

        )

 

    [search] => Array

        (

            [status] => Yes

            [field-selected] => title

            [parma-link] => Array

                (

                    [type] => Relative

                    [uri] => blog-by-cat/[id]/[title]

                )

 

        )

 

)
*/