Skip to content

Commit b3a4750

Browse files
Merge pull request #254 from jeffswartz/docs-corrections
Docs corrections
2 parents 91d71b7 + e5a6714 commit b3a4750

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,13 +228,13 @@ $archives = $archiveList->getItems();
228228
$totalCount = $archiveList->totalCount();
229229
```
230230

231-
For composed archives, you can change the layout dynamically, using the `updateArchiveLayout($archiveId, $layoutType)` method:
231+
For composed archives, you can change the layout dynamically, using the `setArchiveLayout($archiveId, $layoutType)` method:
232232

233233
```php
234234
use OpenTok\OpenTok;
235235

236-
$layout Layout::getPIP(); // Or use another get method of the Layout class.
237-
$opentok->updateArchiveLayout($archiveId, $layout);
236+
$layout = Layout::getPIP(); // Or use another get method of the Layout class.
237+
$opentok->setArchiveLayout($archiveId, $layout);
238238
```
239239

240240
You can set the initial layout class for a client's streams by setting the `layout` option when

src/OpenTok/Layout.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
/**
88
* Defines the object passed in as the $layout parameter of the
9-
* OpenTok->updateArchiveLayout() and OpenTok->updateArchiveLayout() methods.
9+
* OpenTok->setArchiveLayout() and OpenTok->updateBroadcastLayout() methods.
1010
* <p>
1111
* To instantiate a Layout object, call one of the static methods of the Layout class:
1212
* <code>getBestFit()</code>, <code>getPIP()</code>, <code>getVerticalPresentation()</code>,
13-
* <code>getHorizontalPresentation()</code>,or <code>createCustom()</code>.
13+
* <code>getHorizontalPresentation()</code>, or <code>createCustom()</code>.
1414
* <p>
15-
* See <a href="OpenTok.html#method_updateArchiveLayout">OpenTok->updateArchiveLayout()</a>,
16-
* <a href="OpenTok.html#method_updateBroadcastLayout">OpenTok->updateBroadcastLayout()</a>,
15+
* See <a href="OpenTok.OpenTok.html#method_setArchiveLayout">OpenTok->setArchiveLayout()</a>,
16+
* <a href="OpenTok.OpenTok.html#method_updateBroadcastLayout">OpenTok->updateBroadcastLayout()</a>,
1717
* <a href="https://tokbox.com/developer/guides/archiving/layout-control.html">Customizing
1818
* the video layout for composed archives</a>, and
1919
* <a href="https://tokbox.com/developer/guides/broadcast/live-streaming/#configuring-video-layout-for-opentok-live-streaming-broadcasts">Configuring

src/OpenTok/Stream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
/**
66
* Represents a stream in an OpenTok session.
77
* <p>
8-
* See <a href="OpenTok.html#method_getStream">OpenTok.getStream()</a> and
9-
* <a href="OpenTok.html#method_listStreams">OpenTok.listStreams()</a>.
8+
* See <a href="OpenTok.OpenTok.html#method_getStream">OpenTok.getStream()</a> and
9+
* <a href="OpenTok.OpenTok.html#method_listStreams">OpenTok.listStreams()</a>.
1010
*
1111
* @property String $id
1212
* The stream ID.

src/OpenTok/StreamList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace OpenTok;
44

55
/**
6-
* An object, returned by the <a href="OpenTok.html#method_listStreams">OpenTok.listStreams()</a>
6+
* An object, returned by the <a href="OpenTok.OpenTok.html#method_listStreams">OpenTok.listStreams()</a>
77
* method, representing a list of streams in an OpenTok session.
88
*/
99
class StreamList

0 commit comments

Comments
 (0)