@@ 55-63 (lines=9) @@ | ||
52 | * |
|
53 | * @return $this |
|
54 | */ |
|
55 | public function setUp($layoutOptions) |
|
56 | { |
|
57 | $this->layoutOptions = $this->verifyLayoutOptions($layoutOptions); |
|
58 | $this->layout = $this->determineLayout(null); |
|
59 | $this->setPageTitle(); |
|
60 | $this->layout->content = null; |
|
61 | ||
62 | return $this; |
|
63 | } |
|
64 | ||
65 | /** |
|
66 | * Change the selected layout to something else and ready it for content. |
|
@@ 72-79 (lines=8) @@ | ||
69 | * |
|
70 | * @return $this |
|
71 | */ |
|
72 | public function change($view) |
|
73 | { |
|
74 | $this->layout = $this->determineLayout($view); |
|
75 | $this->setPageTitle(); |
|
76 | $this->layout->content = null; |
|
77 | ||
78 | return $this; |
|
79 | } |
|
80 | ||
81 | /** |
|
82 | * Auto determine a logic page title. |