예제 #1
0
 /**
  * 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
 function init()
 {
     // define the custom attributes
     $this->defineAttribute('label', true, '', COMPONENT_TYPE_STRING);
     $this->defineAttribute('routeUrl', false, '', COMPONENT_TYPE_STRING);
     parent::init();
 }
예제 #3
0
 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 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
 /**
  * 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
 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
 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
 /**
  * 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
 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
 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
 /**
  * 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
 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 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
 /**
  * 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
 /**
  * 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();
 }