예제 #1
0
파일: WFLink.php 프로젝트: ardell/phocoa
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->label = NULL;
     $this->target = NULL;
     $this->title = NULL;
 }
예제 #2
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->maxLength = NULL;
     $this->size = NULL;
     $this->dieselSearchHelper = NULL;
 }
예제 #3
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->maxLength = NULL;
     $this->size = NULL;
     $this->nullPlaceholder = NULL;
 }
예제 #4
0
파일: WFForm.php 프로젝트: ardell/phocoa
 /**
  * Constructor.
  *
  * Sets up the smarty object for this module.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     if ($this->page->module()->invocation()->targetRootModule() and !$this->page->module()->invocation()->isRootInvocation()) {
         // invocation path of "root" module
         $this->action = WWW_ROOT . '/' . $this->page->module()->invocation()->rootInvocation()->invocationPath();
     } else {
         // invocation path of the current page, with the current invocation paramenters (these can be overridden by form variables of the same name)
         $this->action = WWW_ROOT . '/' . $this->page->module()->invocation()->modulePath() . '/' . $this->page->pageName() . $this->page->module()->invocation()->parametersAsPathInfo();
     }
     $this->method = WFForm::METHOD_POST;
     $this->target = '';
     $this->disableEnterKeySubmit = false;
     $this->defaultSubmitID = $this->calculatedDefaultSubmitID = NULL;
     $this->numberOfSubmitButtons = 0;
     $this->isAjax = false;
     // set up the extra form parameters we need to enable phocoa form detection and processing...
     $this->phocoaFormParameters = array();
     $this->phocoaFormParameters['__modulePath'] = $this->page->module()->invocation()->modulePath() . '/' . $this->page->pageName();
     $this->phocoaFormParameters['__formName'] = $this->id;
     // Calculate CSRF Protetion
     $csrfParams = WFForm::calculateCSRFParams();
     $this->phocoaFormParameters['instanceid'] = $csrfParams['instanceid'];
     $this->phocoaFormParameters['auth'] = $csrfParams['auth'];
 }
예제 #5
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->cols = 40;
     $this->rows = 10;
     $this->nullPlaceholder = NULL;
 }
예제 #6
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->value = NULL;
     $this->ellipsisAfterChars = NULL;
     $this->textAsHTML = false;
     $this->raw = false;
 }
예제 #7
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->menuItems = array();
     $this->skin = '';
     // check the existence of the www dir and throw and exception if it isn't there as people will need to install it.
     //if (!file_exists($projectRoot . $this->getWidgetWWWDir())) throw( new Exception("You need to install the hmenu files in " . $this->getWidgetWWWDir()) );
 }
예제 #8
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->numberOfUploadSlots = 5;
     $this->hasUpload = false;
     $this->uploads = array();
     $this->uploadErrors = array();
 }
예제 #9
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->maxLength = NULL;
     $this->size = NULL;
     $this->enabled = true;
     $this->preserveInput = false;
 }
예제 #10
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->setSelectedValue($id);
     $this->setSelected(false);
     $this->setLabel('');
     $this->labelPosition = 'right';
 }
예제 #11
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->value = NULL;
     $this->width = '100%';
     $this->height = '400';
     $this->CustomConfigurationsPath = 'Default';
     $this->ToolbarSet = NULL;
 }
예제 #12
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->checkedValue = 1;
     $this->uncheckedValue = 0;
     $this->setChecked(false);
     $this->groupMode = false;
     $this->label = '';
     $this->labelPosition = 'right';
     $this->title = '';
 }
예제 #13
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->value = NULL;
     $this->dieselSearchHelper = NULL;
     $this->facetNavOrder = array();
     $this->maxFacetsToShow = 5;
     $this->baseURL = NULL;
     $this->dpQueryStateParamName = 'dpQueryState';
     $this->facetNavHeight = '100px';
     $this->searchAction = 'search';
     $this->showLoadingMessage = true;
 }
예제 #14
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     if (strtolower($id) === 'submit') {
         throw new WFException("WFSubmit cannot have an ID of submit. It causes problems with javascript.");
     }
     parent::__construct($id, $page);
     $this->submitEvent = new WFClickEvent(WFAction::ServerAction());
     $this->setListener($this->submitEvent);
     $this->setAction($id);
     $this->label = "Submit";
     $this->imagePath = NULL;
     $this->duplicateSubmitMessage = NULL;
     $this->postSubmitLabel = NULL;
 }
예제 #15
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->arrayController = NULL;
     $this->widgetClass = '';
     $this->useUniqueNames = true;
     $this->widgetConfig = array();
     $this->processedWidgetConfig = false;
     $this->renderIteration = 0;
     $this->createdWidgets = array();
     $this->createdWidgetsChangeCount = 0;
     $this->simpleBindKeyPath = NULL;
     $this->prototype = NULL;
     $this->oneShotMode = false;
     $this->oneShotSeparatorHTML = '<br />';
 }
예제 #16
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->paginator = NULL;
     $this->maxJumpPagesToShow = 10;
 }
예제 #17
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->initializeWaitsForID = $this->id;
 }
예제 #18
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->breadcrumbSetup = NULL;
 }
예제 #19
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->baseDir = NULL;
     $this->width = NULL;
     $this->height = NULL;
     $this->border = '0';
     $this->align = NULL;
     $this->link = NULL;
     $this->linkTarget = NULL;
     $this->fitToBox = false;
     $this->srcWidth = $this->srcHeight = NULL;
     $this->filesystemPath = NULL;
     $this->filesystemBasePath = NULL;
     $this->dataSrc = NULL;
 }
예제 #20
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->tmpFileName = NULL;
     $this->mimeType = NULL;
     $this->originalFileName = NULL;
     $this->hasUpload = false;
 }
예제 #21
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->appceleratorDir = $this->getWidgetWWWDir();
     $this->debug = false;
 }
예제 #22
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->values = array();
 }
예제 #23
0
파일: WFSelect.php 프로젝트: ardell/phocoa
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->values = array();
     $this->multiple = false;
     $this->visibleItems = 1;
     $this->contentValues = array();
     $this->contentLabels = array();
     $this->width = NULL;
     $this->labelFormatter = NULL;
     $this->labelFormatterSkipFirst = false;
 }
예제 #24
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->canPushValueBinding = false;
 }
예제 #25
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->attributeID = NULL;
     $this->rangeCount = 0;
     $Integer = new JavaClass('java.lang.Integer');
     $this->maxHits = $Integer->MAX_VALUE;
     $this->maxRows = WFDieselFacet::UNLIMITED_ROWS;
     // unlimited by default
     $this->showItemCounts = true;
     $this->label = NULL;
     $this->sortByFrequency = true;
     $this->showAllText = 'Show All';
     $this->ellipsisAfterChars = 0;
     $this->fakeOpenEndedRange = false;
     $this->facetStyle = WFDieselFacet::STYLE_LIST;
     $this->treeRoot = NULL;
     $this->defaultTreePosition = NULL;
     $this->isTaxonomyAttribute = NULL;
     $this->isPopup = false;
     $this->popupSelections = array();
     $this->treeDataPath = null;
     $this->width = NULL;
     $this->height = NULL;
 }
예제 #26
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->invocationPath = NULL;
     $this->targetRootModule = true;
 }
예제 #27
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
 }
예제 #28
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->selectedRadio = NULL;
     $this->defaultValue = NULL;
 }
예제 #29
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->paginator = NULL;
     $this->loadOnSelect = true;
 }
예제 #30
0
 /**
  * Constructor.
  */
 function __construct($id, $page)
 {
     parent::__construct($id, $page);
     $this->tabs = array();
     $this->activeTab = NULL;
     $this->onePageMode = true;
     $this->defaultTabID = NULL;
     $this->debugShowAllTabs = false;
 }