Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changing name of Tropo class file.

  • Loading branch information...
commit 216b173f2a23fbc6c929ad94fcf023864f00efcf 1 parent 6180447
Mark Headd mheadd authored danyork committed
4 readme.markdown
View
@@ -9,7 +9,7 @@ Usage
Answer the phone, say something, and hang up.
<?php
- require 'TropoClasses.php';
+ require 'tropo.class.php';
$tropo = new Tropo();
// Use Tropo's text to speech to say a phrase.
@@ -22,7 +22,7 @@ Answer the phone, say something, and hang up.
Asking for input.
<?php
- require 'TropoClasses.php';
+ require 'tropo.class.php';
$tropo = new Tropo();
$tropo->ask('What is your favorite programming language?', array(
2  samples/get_zip_code.php
View
@@ -1,7 +1,7 @@
<?php
// Include Tropo classes.
-require('TropoClasses.php');
+require('tropo.class.php');
// Include Limonade framework.
require('path/to/limonade/lib/limonade.php');
2  samples/hello_world.php
View
@@ -5,7 +5,7 @@
*/
// Include Tropo classes.
-require('TropoClasses.php');
+require('tropo.class.php');
$tropo = new Tropo();
$tropo->Say("Hello World!");
2  samples/outbound_call.php
View
@@ -1,5 +1,5 @@
<?php
-include_once 'TropoClasses.php';
+include_once 'tropo.class.php';
$token = 'your token here';
$number = 'the number you would like to dial';
2  samples/recordingdemo.php
View
@@ -1,5 +1,5 @@
<?php
-require_once 'TropoClasses.php';
+require_once 'tropo.class.php';
// KLogger is a logging class from
// http://codefury.net/projects/klogger/
2  tests/AskTest.php
View
@@ -1,6 +1,6 @@
<?php
require_once 'PHPUnit/Framework.php';
-require_once 'TropoClasses.php';
+require_once 'tropo.class.php';
class AskTest extends PHPUnit_Framework_TestCase
{
2  tests/CallTest.php
View
@@ -1,6 +1,6 @@
<?php
require_once 'PHPUnit/Framework.php';
-require_once 'TropoClasses.php';
+require_once 'tropo.class.php';
class CallTest extends PHPUnit_Framework_TestCase
{
2  tests/ConferenceTest.php
View
@@ -1,6 +1,6 @@
<?php
require_once 'PHPUnit/Framework.php';
-require_once 'TropoClasses.php';
+require_once 'tropo.class.php';
class ConferenceTest extends PHPUnit_Framework_TestCase
{
2  tests/HangupTest.php
View
@@ -1,6 +1,6 @@
<?php
require_once 'PHPUnit/Framework.php';
-require_once 'TropoClasses.php';
+require_once 'tropo.class.php';
class HangupTest extends PHPUnit_Framework_TestCase
{
2  tests/MessageTest.php
View
@@ -1,6 +1,6 @@
<?php
require_once 'PHPUnit/Framework.php';
-require_once 'TropoClasses.php';
+require_once 'tropo.class.php';
class MessageTest extends PHPUnit_Framework_TestCase
{
2  tests/RecordTest.php
View
@@ -1,6 +1,6 @@
<?php
require_once 'PHPUnit/Framework.php';
-require_once 'TropoClasses.php';
+require_once 'tropo.class.php';
class RecordTest extends PHPUnit_Framework_TestCase
{
2  tests/StartRecordingTest.php
View
@@ -1,6 +1,6 @@
<?php
require_once 'PHPUnit/Framework.php';
-require_once 'TropoClasses.php';
+require_once 'tropo.class.php';
class StartRecordingTest extends PHPUnit_Framework_TestCase
{
4 TropoClasses.php → tropo.class.php
View
@@ -196,7 +196,7 @@ public function conference($conference, Array $params=NULL) {
* like this...
*
* <?php
- * include_once 'TropoClasses.php';
+ * include_once 'tropo.class.php';
* $token = 'your-token-here';
* $tropo = new Tropo();
* $number = 'some number you got from a database';
@@ -206,7 +206,7 @@ public function conference($conference, Array $params=NULL) {
* Your Tropo application looks like this...
*
* <?php
- * include_once 'TropoClasses.php';
+ * include_once 'tropo.class.php';
* $tropo = new Tropo();
* if ($session->getParams("action") == "create") {
* $tropo->call($session->getParams("dial"));
Please sign in to comment.
Something went wrong with that request. Please try again.