public function __construct($inID, $inTitle, $inWidth, $inFocus)
 {
     parent::__construct($inID);
     $this->mTitle = $inTitle;
     $this->mFocus = $inFocus;
     $this->mWidth = $inWidth;
 }
Example #2
0
 public function __construct($inID, Table_Sort $inDefaultSort, $inPageSize, $inAdjacentPages = 3)
 {
     parent::__construct($inID);
     $this->sort = $inDefaultSort;
     $this->start = 0;
     $this->pageSize = $inPageSize;
     $this->totalCount = 0;
     $this->adjacentPages = $inAdjacentPages;
     $this->scrollingHeight = null;
     $this->autoPagingThreshold = 0;
     $this->autoPagingPageSize = 0;
     $this->autoPagingScrollingHeight = null;
     $this->autoPagingActive = false;
     $this->originalPageSize = $inPageSize;
     $this->originalScrollingHeight = null;
 }
Example #3
0
 public function __construct($inID, $inMode = StallPanel::MODE_SYNC)
 {
     parent::__construct($inID);
     $this->mode = $inMode;
 }
Example #4
0
 /**
  * Add a child component
  * 
  * @param Component $newComponent
  * 
  * @return void
  */
 public function addComponent(Component $newComponent)
 {
     $this->_components[$newComponent->_localID] = $newComponent;
     $newComponent->_parent = $this;
     if ($this->_id !== null) {
         $newComponent->_id = $this->resolveChildID($newComponent->_localID);
         $newComponent->setChildIDs();
     } else {
         if ($this instanceof Page) {
             $newComponent->_id = $newComponent->_localID;
             $newComponent->setChildIDs();
         } else {
             $newComponent->_id = null;
         }
     }
     $newComponent->addedToParent();
 }
Example #5
0
 public function __construct($inID, $inUrl, $inHeight = 768)
 {
     $this->url = $inUrl;
     $this->height = $inHeight;
     parent::__construct($inID);
 }