Пример #1
0
 public function addUserBook(\Sb\Db\Model\UserBook $userBook)
 {
     $this->__load();
     return parent::addUserBook($userBook);
 }
Пример #2
0
 public function setBook(\Sb\Db\Model\Book $book)
 {
     $this->book = $book;
     $book->addUserBook($this);
 }