/** * Populate this object with default values * * @return void * @access public * @since 4/14/06 */ function populateWithDefaults() { parent::populateWithDefaults(); $this->updateNumRows(0); $this->updateNumColumns(1); $this->updateOverflowStyle('Paginate'); }
/** * Answer an array of the components that could possibly be added to this organizer. * * @param integer $cellIndex * @return ref array An array keyed by component Id * @access public * @since 4/11/06 */ function getVisibleComponentsForPossibleAdditionToCell($cellIndex) { // If this cell is in use, only reordering of components already // in this organizer is allowed (FixedOrganizer) if (in_array($this->getId() . '_cell:' . $cellIndex, $this->_director->getFilledTargetIds()) || is_object($this->getSubcomponentForCell($cellIndex))) { return $this->getSubcomponentsNotInCell($cellIndex); } else { return parent::getVisibleComponentsForPossibleAdditionToCell($cellIndex); } }