function bookModeUser($mode, $userID) { $al = new adlink(""); $Vs = array(); $Vs = $al->backVideoList($mode, $userID); $this->VBars = array(); foreach ($Vs as $v) { $vb = new videobar("VBar" . $this->_fullname . count($this->VBars)); $vb->bookInfo($v); $vb->bookMode($mode); $this->VBars[] = $vb; } }