Procedural File: Portlet.php

Source Location: /CORE/system/api/portlet/Portlet.php

Page Details

BIGACE - a PHP and MySQL based Web CMS.
Copyright (C) Kevin Papst.

BIGACE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

BIGACE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

For further information visit http://www.bigace.de.

Classes
Class Description
Portlet A Portlet is a small piece of Logic, normally displayed by a HTML snippet.
Constants
PORTLET_TYPE_BOOLEAN  [line 51]

PORTLET_TYPE_BOOLEAN = 30

Boolean is a MUST value that will can choosen by a SelectBox.


[ Top ]

PORTLET_TYPE_HTML  [line 56]

PORTLET_TYPE_HTML = 40

HTML behaves like

, but keeps all TAGs.


[ Top ]

PORTLET_TYPE_INT  [line 39]

PORTLET_TYPE_INT = 20

An int value is always numeric.


[ Top ]

PORTLET_TYPE_INT_OPTIONAL  [line 47]

PORTLET_TYPE_INT_OPTIONAL = 25

Behaves like

, but might also be empty.


[ Top ]

PORTLET_TYPE_INT_POSITIVE  [line 43]

PORTLET_TYPE_INT_POSITIVE = 22

An int value that must be greater or equal 0.


[ Top ]

PORTLET_TYPE_LANGUAGE  [line 68]

PORTLET_TYPE_LANGUAGE = 60

Defines a Language ID.


[ Top ]

PORTLET_TYPE_LANGUAGE_OPTIONAL  [line 72]

PORTLET_TYPE_LANGUAGE_OPTIONAL = 65

Defines an optional Language ID. Must not be filled with a value.


[ Top ]

PORTLET_TYPE_MENUID  [line 60]

PORTLET_TYPE_MENUID = 50

Menu ID must be a Number that might be negative.


[ Top ]

PORTLET_TYPE_MENUID_OPTIONAL  [line 64]

PORTLET_TYPE_MENUID_OPTIONAL = 55

This can be an empty Value. Otherwise it behaves like:


[ Top ]

PORTLET_TYPE_STRING  [line 28]

PORTLET_TYPE_STRING = 10

The default type of a Portlet Parameter. A String.


[ Top ]

PORTLET_TYPE_TEXT  [line 35]

PORTLET_TYPE_TEXT = 15

Defines the value as a Text.

Text can be empty, is optional, and can be a mix of Character and Numbers. Text will call

on its value.


[ Top ]