function setValueForKey($v, $k) { try { return parent::setValueForKey($v, $k); } catch (WFUndefinedKeyException $e) { return $this->decoratedObject->setValueForKey($v, $k); } }
function __construct() { parent::__construct(); $this->content = NULL; $this->decorators = NULL; $this->class = 'WFDictionary'; $this->automaticallyPreparesContent = true; }
public function destroy($vars = array()) { parent::destroy(array('module', 'template', 'delegate', 'instances')); }
public function valueForKeyPath($keyPath) { return WFObject::valueForTargetAndKeyPath($keyPath, $this); }
public function destroy($vars = array()) { parent::destroy(array('invocation', 'requestPage', 'responsePage')); $this->__sharedInstances = NULL; }
function __construct() { parent::__construct(); $this->bindToObject = NULL; $this->bindToKeyPath = NULL; $this->valueTransformer = NULL; $this->placeholders = array(); $this->options = array(); $this->bindingSetup = NULL; $this->bindLocalProperty = NULL; }
public function __construct($opts = array()) { parent::__construct(); $this->options = array_merge(array(self::OPT_MODEL_ADAPTER => 'Propel'), $opts); }
function valueForUndefinedKey($key) { if ($this->hasVirtualColumn($key)) { return $this->getVirtualColumn($key); } // default implementation will throw parent::valueForUndefinedKey($key); }
function __construct() { parent::__construct(); $this->dieselSearch = NULL; $this->widgets = array(); $this->effectiveDQL = NULL; $this->restrictDQL = NULL; $this->simpleQueryString = NULL; $this->simpleQueryMode = "any"; $this->attributeQueries = array(); $this->attributeQueryLogicalOperators = array(); $this->showAllOnBlankQuery = true; $this->showAllDPQL = 'doctype=xml'; $this->loadTheseColumnsFromIndex = array("item_id"); }
function __construct($errorMessage = NULL, $errorCode = NULL) { parent::__construct(); $this->errorCode = $errorCode; $this->errorMessage = $errorMessage; }
function __construct() { parent::__construct(); $this->authorizationInfoClass = WFWebApplication::sharedWebApplication()->authorizationInfoClass(); $this->authorizationInfo = NULL; $this->authorizationDelegate = NULL; // is session authorization info initialized? if (empty($_SESSION[WFAuthorizationManager::SESSION_NAMESPACE][WFAuthorizationManager::SESSION_KEY_VERSION]) or $_SESSION[WFAuthorizationManager::SESSION_NAMESPACE][WFAuthorizationManager::SESSION_KEY_VERSION] < WFAuthorizationManager::VERSION) { // SESSION authorization info doesn't exist; initialize to least-privileged state // initialize $this->init(); } else { // SESSION authorization does exist; restore from session $this->authorizationInfo = $_SESSION[WFAuthorizationManager::SESSION_NAMESPACE][WFAuthorizationManager::SESSION_KEY_AUTHORIZATION_INFO]; // update recent-auth time if it's within the window if (time() - $_SESSION[WFAuthorizationManager::SESSION_NAMESPACE][WFAuthorizationManager::SESSION_KEY_RECENT_LOGIN_TIME] < WFAuthorizationManager::RECENT_LOGIN_SECS) { $_SESSION[WFAuthorizationManager::SESSION_NAMESPACE][WFAuthorizationManager::SESSION_KEY_RECENT_LOGIN_TIME] = time(); } } }
function __construct() { parent::__construct(); $this->reversible = false; }
function __construct() { parent::__construct(); $this->itemCount = NULL; $this->currentItems = NULL; $this->currentPage = WFPaginator::PAGINATOR_FIRST_PAGE; $this->pageSize = WFPaginator::PAGINATOR_PAGESIZE_ALL; $this->dataDelegate = NULL; $this->itemPhraseSingular = "Item"; $this->itemPhrasePlural = "Items"; $this->sortOptions = array(); $this->sortKeys = array(); $this->defaultSortKeys = array(); $this->mode = WFPaginator::MODE_URL; $this->paginatorStateParameterID = 'paginatorState'; $this->hasReadParameterStateFromParams = false; $this->alternativeParams = array(); $this->submitID = NULL; }
public static function exposedProperties() { $items = parent::exposedProperties(); return array_merge($items, array('enabled')); }