コード例 #1
0
ファイル: LoginCheck.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     $this->defineAttribute('cssClass', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('text', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('allowGroups', false, '', COMPONENT_TYPE_STRING);
     parent::init();
 }
コード例 #2
0
ファイル: AddEntityButton.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('label', true, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('routeUrl', false, '', COMPONENT_TYPE_STRING);
     parent::init();
 }
コード例 #3
0
ファイル: ShowExif.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('imageId', true, 0, COMPONENT_TYPE_INTEGER);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #4
0
ファイル: PdfButton.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('label', false, __T('GLZ_PRINT_PDF'), COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #5
0
ファイル: SiteTreeView.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 public function init()
 {
     $this->defineAttribute('addLabel', false, '{i18n:glizycms.Add Page}', COMPONENT_TYPE_STRING);
     $this->defineAttribute('title', false, '{i18n:glizycms.Site Structure}', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #6
0
ファイル: NavigationMenu.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('attributeToSelect', false, 'id', COMPONENT_TYPE_STRING);
     $this->defineAttribute('selectLink', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('cssClass', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('nestedCssClass', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('depth', false, '+1', COMPONENT_TYPE_STRING);
     $this->defineAttribute('flat', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('forceLink', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('showPath', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('maxPathDepth', false, NULL, COMPONENT_TYPE_INTEGER);
     $this->defineAttribute('selectParent', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('startFrom', true, '*', COMPONENT_TYPE_STRING);
     $this->defineAttribute('startFromDepth', false, NULL, COMPONENT_TYPE_INTEGER);
     $this->defineAttribute('showOnlyChilds', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('drawAllChilds', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('type', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('title', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('headingTitle', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('headingCssClass', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('wrapTag', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('wrapTagCssClass', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('omitId', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('openFirstLevel', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('cssCurrent', false, 'current', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
     $this->addEventListener(GLZ_EVT_SITEMAP_UPDATE, $this);
 }
コード例 #7
0
ファイル: Datagrid.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('cssClass', false, 'odd,even', COMPONENT_TYPE_STRING);
     $this->defineAttribute('label', false, '', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #8
0
ファイル: FilterValue.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('name', true, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('value', true, '', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #9
0
 function init()
 {
     parent::init();
     /* Togliere elemento dall' array per disabilitare nel back-end*/
     $this->buttonListBase = array("Twitter", "Linkedin", "Facebook", "Google-plus", "E-mail", "Facebook-like");
     $this->dimList = array("xs" => __T('extra small'), "sm" => __T('small'), "md" => __T('medium'), "lg" => __T('large'));
     $this->shareButtons = movio_modules_sharingButtons_views_SharingButton::getSharingButtonList();
 }
コード例 #10
0
ファイル: DocumentGraph.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('entityTypeId', false, null, COMPONENT_TYPE_INTEGER);
     $this->defineAttribute('documentId', false, null, COMPONENT_TYPE_INTEGER);
     $this->defineAttribute('addGraphJsLibs.js', false, true, COMPONENT_TYPE_BOOLEAN);
     parent::init();
 }
コード例 #11
0
ファイル: NoImage.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('height', false, NULL, COMPONENT_TYPE_INTEGER);
     $this->defineAttribute('width', false, NULL, COMPONENT_TYPE_INTEGER);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #12
0
ファイル: MessageBox.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     $this->defineAttribute('cssClass', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('type', false, 'ALL', COMPONENT_TYPE_STRING);
     $this->defineAttribute('message', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('showEmpty', false, false, COMPONENT_TYPE_BOOLEAN);
     parent::init();
 }
コード例 #13
0
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('filter', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('copyCheckbox', false, true, COMPONENT_TYPE_BOOLEAN);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #14
0
ファイル: DBdebug.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('value', false, true, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('connect', false, 0, COMPONENT_TYPE_INTEGER);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #15
0
ファイル: FilterEntityType.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('label', false, '{i18n:Filter by type}', COMPONENT_TYPE_STRING);
     $this->defineAttribute('dataGridAjaxId', true, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('fieldNumber', true, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('recordClassName', true, '', COMPONENT_TYPE_STRING);
     parent::init();
 }
コード例 #16
0
ファイル: SearchBox.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     $this->defineAttribute('label', false, __T('GLZ_SEARCH_LABEL'), COMPONENT_TYPE_STRING);
     $this->defineAttribute('buttonLabel', false, __T('GLZ_SEARCH_BUTTON'), COMPONENT_TYPE_STRING);
     $this->defineAttribute('cssClass', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('searchPageId', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('title', false, __T('GLZ_SEARCH_BUTTON'), COMPONENT_TYPE_STRING);
     parent::init();
 }
コード例 #17
0
ファイル: CSS.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     parent::init();
     // define the custom attributes
     $this->defineAttribute('src', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('folder', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('inline', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('editableRegion', false, 'head', COMPONENT_TYPE_STRING);
 }
コード例 #18
0
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('cssClass', false, 'languages', COMPONENT_TYPE_STRING);
     $this->defineAttribute('separator', false, 'none', COMPONENT_TYPE_STRING);
     // none, start, end
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #19
0
ファイル: EntireGraph.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('entityTypeId', false, null, COMPONENT_TYPE_INTEGER);
     $this->defineAttribute('generateLinks', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('addGraphJsLibs.js', false, true, COMPONENT_TYPE_BOOLEAN);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #20
0
ファイル: Modifier.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     $this->defineAttribute('attribute', true, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('value', true, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('target', true, NULL, COMPONENT_TYPE_OBJECT);
     $this->defineAttribute('reprocess', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('preprocess', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->doLater($this, 'preProcess');
     parent::init();
 }
コード例 #21
0
ファイル: ConfigValue.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('key', true, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('value', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('action', false, 'get', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     $this->doLater($this, 'preProcess');
     parent::init();
 }
コード例 #22
0
ファイル: OutputFilter.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('tag', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('filter', true, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('mode', false, 'PRE', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
     $this->doLater($this, '_setOutputFilter');
 }
コード例 #23
0
ファイル: RecordDetailEx.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     $this->defineAttribute('dataProvider', true, NULL, COMPONENT_TYPE_OBJECT);
     $this->defineAttribute('idName', false, 'id', COMPONENT_TYPE_STRING);
     $this->defineAttribute('getRelations', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('routeUrl', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('query', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('createModelComponents', false, true, COMPONENT_TYPE_BOOLEAN);
     parent::init();
 }
コード例 #24
0
ファイル: GoogleMap.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('cssClass', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('label', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('adm:required', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('adm:requiredMessage', false, NULL, COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #25
0
ファイル: JSscript.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('src', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('folder', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('type', false, 'text/javascript', COMPONENT_TYPE_STRING);
     $this->defineAttribute('inline', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('editableRegion', false, 'head', COMPONENT_TYPE_STRING);
     $this->defineAttribute('extension', false, 'js', COMPONENT_TYPE_STRING);
     parent::init();
 }
コード例 #26
0
ファイル: FilePicker.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('pageId', true, 'MediaStorageBrowser', COMPONENT_TYPE_STRING);
     $this->defineAttribute('title', false, 'Seleziona Media', COMPONENT_TYPE_STRING);
     $this->defineAttribute('onlyFolder', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('onlyFirstLevel', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('customPath', false, '', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #27
0
ファイル: Graph.php プロジェクト: GruppoMeta/Movio
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('entityTypeId', false, null, COMPONENT_TYPE_INTEGER);
     $this->defineAttribute('generateLinks', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('addGraphJsLibs.js', false, true, COMPONENT_TYPE_BOOLEAN);
     // call the superclass for validate the attributes
     parent::init();
     $this->language = $this->_application->isAdmin() ? $this->_application->getEditingLanguage() : $this->_application->getLanguage();
     $this->localeService = $this->_application->retrieveProxy('movio.modules.ontologybuilder.service.LocaleService');
 }
コード例 #28
0
ファイル: DataDictionary.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     $this->defineAttribute('recordClassName', true, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('query', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('queryParams', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('field', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('skipEmpty', false, true, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('delimiter', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('useCache', false, false, COMPONENT_TYPE_BOOLEAN);
     parent::init();
 }
コード例 #29
0
ファイル: ListItem.php プロジェクト: GruppoMeta/Movio
 /**
  * Init
  *
  * @return	void
  * @access	public
  */
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('key', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('options', false, NULL, COMPONENT_TYPE_STRING);
     $this->defineAttribute('selected', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('value', true, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('acl', false, '', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }
コード例 #30
0
 /**
  * Init
  *
  * @return    void
  * @access    public
  */
 function init()
 {
     $this->defineAttribute('addWrapDiv', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('cssClass', false, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('cssClassCurrent', false, 'current', COMPONENT_TYPE_STRING);
     $this->defineAttribute('forceLink', false, true, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('addQueryString', false, false, COMPONENT_TYPE_BOOLEAN);
     $this->defineAttribute('routeUrl', false, 'moduleAction', COMPONENT_TYPE_STRING);
     // call the superclass for validate the attributes
     parent::init();
 }