Return InformationSet definition.
App::__Def()->getInformationSetDefinition(Name);
Parameter |
Type |
Description |
---|---|---|
Name |
Mandatory |
InformationSet name |
See below example:
$info = App::__Def()->getInformationSetDefinition('blogpost');
/*
Return like
Array
(
[base] => Array
(
[mode] => db
[version] => 0.1.0
[lastupdate] => 2009-12-01
[title] => Blog Post
[admin_tab] => blog
[parameters] => Array
(
[delete] => No
[view] => No
)
[generic_field] => Array
(
[max_entry] => Array
(
[limit] =>
[message] =>
)
)
[search] => Array
(
[status] => Yes
[field-selected] => title
[field-description] => description
[parma-link] => Array
(
[type] => Relative
[uri] => blog-by-post/[id]/[title]
)
)
)
[fields] => Array
(
[title] => Array
(
[title] => Title
[searchable] => Yes
[selected] =>
[hints] =>
[type] => inputTag
[validation] => Array
(
[0] => Array
(
[type] => notEmpty
[message] => Please enter a blog title
[list] => Array
(
)
[options] => Array
(
)
)
)
[tag-attributes] => Array
(
[id] => title
[class] => app_input
)
[db-attributes] => Array
(
[type] => varchar
[length] => 255
[null] => NOT NULL
[default] =>
)
)
[category] => Array
(
[title] => Category
[searchable] => No
[selected] =>
[hints] =>
[type] => categoryTag
[category_type] => blog-cat
[validation] => Array
(
[0] => Array
(
[type] => notEmpty
[message] => Please select a category
[list] => Array
(
)
[options] => Array
(
)
)
)
[parameters] => Array
(
[parent_start] => 0
[inputType] => selectTag
[auto_link] => Yes
)
[tag-attributes] => Array
(
[id] => category
)
[db-attributes] => Array
(
[type] => varchar
[length] => 255
[null] => NOT NULL
[default] =>
)
)
[description] => Array
(
[title] => Description
[searchable] => Yes
[selected] =>
[hints] =>
[type] => textareaTag
[validation] => Array
(
[0] => Array
(
[type] => notEmpty
[message] => Please enter post
[list] => Array
(
)
[options] => Array
(
)
)
)
[tag-attributes] => Array
(
[id] => description
[class] => app_input
[rows] => 20
)
[db-attributes] => Array
(
[type] => text
[length] =>
[null] => NOT NULL
[default] =>
)
)
[status] => Array
(
[title] => Status
[searchable] => No
[selected] => Public
[hints] =>
[type] => radioTag
[validation] => Array
(
[0] => Array
(
[type] => inList
[message] => Please select a status
[list] => Array
(
[0] => Public
[1] => Private
)
[options] => Array
(
)
)
)
[options] => Array
(
[Public] => Public
[Private] => Private
)
[parameters] => Array
(
)
[tag-attributes] => Array
(
[id] => status
[class] => app_input
)
[db-attributes] => Array
(
[type] => enum
[length] => 'Public','Private'
[null] => NOT NULL
[default] =>
)
)
)
)
*/