関数
Item::__construct( Aivec\Welcart\Extensions\Wishlist\Master $master )
Sets up Item
Sets up Item
(Master) (必須)
ファイル: src/API/Item.php
public function __construct(Master $master) { $this->master = $master; $this->guards = new Validation($master); }
使用するアイテム #使用するアイテム | 説明 |
---|---|
src/API/Validation.php: Validation::__construct() | Sets up |
使用されるアイテム | 説明 |
---|---|
src/Routes/Redirect.php: Redirect::handleAddToWishlistRedirectOnLogin() | If the user attempted to add an item to their wishlist and was redirected to the login page, add that item after a successful login and redirect to the wishlist page. |
src/Routes/Rest.php: Rest::declareRoutes() | Declares routes |