コード例 #1
0
ファイル: BookReviews.php プロジェクト: berliozd/cherbouquin
 function __construct($paginatedList, $bookId, $pageNumber = 1)
 {
     parent::__construct();
     $this->paginatedList = $paginatedList;
     $this->bookId = $bookId;
     $this->pageNumber = $pageNumber;
 }
コード例 #2
0
ファイル: PushedBooks.php プロジェクト: berliozd/cherbouquin
 function __construct($books, $nbBooksShownByDefault, $boh)
 {
     parent::__construct();
     $this->books = $books;
     $this->nbBooksShownByDefault = $nbBooksShownByDefault;
     $this->boh = $boh;
 }
コード例 #3
0
 function __construct($user, $userSettings, $isFriend)
 {
     parent::__construct();
     $this->user = $user;
     $this->userSettings = $userSettings;
     $this->isFriend = $isFriend;
 }
コード例 #4
0
 function __construct($userBooks, $nbBooksShownByDefault, $showingConnectedUserBook)
 {
     parent::__construct();
     $this->userBooks = $userBooks;
     $this->nbBooksShownByDefault = $nbBooksShownByDefault;
     $this->showingConnectedUserBook = $showingConnectedUserBook;
 }
コード例 #5
0
 function __construct($imageUrlToPin, $textToPin, $request)
 {
     parent::__construct();
     $this->imageUrlToPin = $imageUrlToPin;
     $this->textToPin = $textToPin;
     $this->request = $request;
 }
コード例 #6
0
ファイル: BookList.php プロジェクト: berliozd/cherbouquin
 function __construct($key, $booksTableView, $cssClass)
 {
     parent::__construct();
     $this->key = $key;
     $this->booksTableView = $booksTableView;
     $this->cssClass = $cssClass;
 }
コード例 #7
0
ファイル: UserBook.php プロジェクト: berliozd/cherbouquin
 function __construct(\Sb\Db\Model\UserBook $userBook, $addMode)
 {
     parent::__construct();
     $this->userBook = $userBook;
     $this->lendings = $userBook->getLendings();
     $this->borrowings = $userBook->getBorrowings();
     $this->addMode = $addMode;
 }
コード例 #8
0
 function __construct(User $otherUser, $otherUserFriendsAddedEvents)
 {
     parent::__construct();
     if ($otherUserFriendsAddedEvents) {
         $this->otherUserFriendsAddedEvents = array_slice($otherUserFriendsAddedEvents, 0, 5);
     }
     $this->otherUser = $otherUser;
 }
コード例 #9
0
 function __construct(User $user, $allCurrentlyReadingUserBooks, $isCurrentConnectedUser)
 {
     parent::__construct();
     // Getting only first 5 items
     $this->currentlyReadingUserBooks = array_slice($allCurrentlyReadingUserBooks, 0, 5);
     $this->isCurrentConnectedUser = $isCurrentConnectedUser;
     $this->user = $user;
 }
コード例 #10
0
 function __construct($books, $title, $coverFlipId, $css)
 {
     parent::__construct();
     $this->books = $books;
     $this->title = $title;
     $this->coverFlipId = $coverFlipId;
     $this->css = $css;
 }
コード例 #11
0
 function __construct($lendings, $userBook, $connectedUserId)
 {
     parent::__construct();
     $this->lendings = $lendings;
     $this->connectedUserId = $connectedUserId;
     $this->userBook = $userBook;
     $this->book = $userBook->getBook();
 }
コード例 #12
0
 function __construct($mainPageName, $showingConnectedUserBook, \Sb\Db\Model\UserBook $userBook = null)
 {
     parent::__construct();
     if ($userBook) {
         $this->userBook = $userBook;
     }
     $this->mainPageName = $mainPageName;
     $this->showingConnectedUserBook = $showingConnectedUserBook;
 }
コード例 #13
0
ファイル: BookSearch.php プロジェクト: berliozd/cherbouquin
 function __construct($shownResults, $pagerLinks, $firstItemIdx, $lastItemIdx, $nbItemsTot)
 {
     parent::__construct();
     $this->shownResults = $shownResults;
     $this->pagerLinks = $pagerLinks;
     $this->firstItemIdx = $firstItemIdx;
     $this->lastItemIdx = $lastItemIdx;
     $this->nbItemsTot = $nbItemsTot;
 }
コード例 #14
0
ファイル: UserProfile.php プロジェクト: berliozd/cherbouquin
 function __construct($user, $userSettings, $addStatus, $addLinks, $isOtherUser)
 {
     parent::__construct();
     $this->user = $user;
     $this->userSettings = $userSettings;
     $this->addStatus = $addStatus;
     $this->addLinks = $addLinks;
     $this->isOtherUser = $isOtherUser;
 }
コード例 #15
0
 function __construct($showingConnectedUserBook, \Sb\Db\Model\UserBook $userBook = null)
 {
     parent::__construct();
     if ($userBook) {
         $this->userBook = $userBook;
         $this->book = $userBook->getBook();
         $this->user = $userBook->getUser();
     }
     $this->showingConnectedUserBook = $showingConnectedUserBook;
 }
コード例 #16
0
 function __construct($action, $tags, $selectedTagId, $searchLabel, $pageKey, $searchTerm, $initUrl)
 {
     $this->action = $action;
     $this->tags = $tags;
     $this->selectedTagId = $selectedTagId;
     $this->searchLabel = $searchLabel;
     $this->pageKey = $pageKey;
     $this->searchTerm = $searchTerm;
     $this->initUrl = $initUrl;
     parent::__construct();
 }
コード例 #17
0
ファイル: Book.php プロジェクト: berliozd/cherbouquin
 function __construct(\Sb\Db\Model\Book $book, $addButtons, $addReviews, $addHiddenFields, $booksAlsoLiked = null, $booksWithSameTags = null, $reviewedUserBooks = null, $isInForm = true, $addRecommendations = false)
 {
     parent::__construct();
     $this->book = $book;
     $this->addButtons = $addButtons;
     $this->addReviews = $addReviews;
     $this->addHiddenFields = $addHiddenFields;
     $this->isInForm = $isInForm;
     $this->addRecommendations = $addRecommendations;
     $this->booksAlsoLiked = $booksAlsoLiked;
     $this->booksWithSameTags = $booksWithSameTags;
     $this->reviewedUserBooks = $reviewedUserBooks;
 }
コード例 #18
0
ファイル: LendingForm.php プロジェクト: berliozd/cherbouquin
 function __construct($lendings, $borrowings, $userBook, $connectedUserId)
 {
     parent::__construct();
     $this->connectedUserId = $connectedUserId;
     $this->userBook = $userBook;
     $this->book = $userBook->getBook();
     foreach ($lendings as $lending) {
         if ($lending->getState() != \Sb\Lending\Model\LendingState::IN_ACTIVE) {
             $this->activeLending = $lending;
         }
     }
     foreach ($borrowings as $borrowing) {
         if ($borrowing->getState() != \Sb\Lending\Model\LendingState::IN_ACTIVE) {
             $this->activeBorrowing = $borrowing;
         }
     }
 }
コード例 #19
0
ファイル: BookTable.php プロジェクト: berliozd/cherbouquin
 function __construct($key, $shownResults, $pagerLinks, $firstItemIdx, $lastItemIdx, $nbItemsTot, $listOptions, $friendLibrary, $searchValue, $authorsFirstLetters, $titlesFirstLetters, $filteringType, $filter)
 {
     parent::__construct();
     $this->key = $key;
     $this->shownResults = $shownResults;
     $this->listOptions = $listOptions;
     $this->pagerLinks = $pagerLinks;
     $this->firstItemIdx = $firstItemIdx;
     $this->lastItemIdx = $lastItemIdx;
     $this->nbItemsTot = $nbItemsTot;
     $this->friendLibrary = $friendLibrary;
     $this->searchValue = $searchValue;
     $this->authorsFirstLetters = $authorsFirstLetters;
     $this->titlesFirstLetters = $titlesFirstLetters;
     $this->filteringType = $filteringType;
     $this->filter = $filter;
 }
コード例 #20
0
 /**
  *
  * @param Array of ChronicleViewModelLight $chronicles
  */
 function __construct($chronicles, $title)
 {
     parent::__construct();
     $this->chronicles = $chronicles;
     $this->title = $title;
 }
コード例 #21
0
ファイル: GooglePlus.php プロジェクト: berliozd/cherbouquin
 function __construct()
 {
     parent::__construct();
 }
コード例 #22
0
 function __construct(User $user, $events)
 {
     parent::__construct();
     $this->user = $user;
     $this->events = $events;
 }
コード例 #23
0
 function __construct(UserBook $userbook)
 {
     parent::__construct();
     $this->book = $userbook->getBook();
     $this->userbook = $userbook;
 }
コード例 #24
0
 function __construct($groupUsers)
 {
     parent::__construct();
     $this->groupUsers = $groupUsers;
 }
コード例 #25
0
ファイル: SearchForm.php プロジェクト: berliozd/cherbouquin
 function __construct($showSearchTermDef = true)
 {
     $this->showSearchTermDef = $showSearchTermDef;
     parent::__construct();
 }
コード例 #26
0
 function __construct($userbooks)
 {
     parent::__construct();
     $this->userbooks = $userbooks;
 }
コード例 #27
0
ファイル: BookShelf.php プロジェクト: berliozd/cherbouquin
 function __construct($books, $title)
 {
     parent::__construct();
     $this->books = $books;
     $this->title = $title;
 }
コード例 #28
0
 function __construct($activeItem)
 {
     parent::__construct();
     $this->activeItem = $activeItem;
 }
コード例 #29
0
ファイル: Ad.php プロジェクト: berliozd/cherbouquin
 function __construct($label, $code)
 {
     $this->label = $label;
     $this->code = $code;
     parent::__construct();
 }
コード例 #30
0
ファイル: UserEvent.php プロジェクト: berliozd/cherbouquin
 function __construct(UserEventModel $userEvent, $showOwner)
 {
     $this->userEvent = $userEvent;
     $this->showOwner = $showOwner;
     parent::__construct();
 }