From 36c9e00a20f8e036a7b4abb2ae47405b0ca19387 Mon Sep 17 00:00:00 2001 From: wei <> Date: Tue, 19 Sep 2006 03:34:03 +0000 Subject: Update shebang to use /usr/bin/env --- demos/quickstart/protected/pages/GettingStarted/CommandLine.page | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'demos/quickstart/protected/pages') diff --git a/demos/quickstart/protected/pages/GettingStarted/CommandLine.page b/demos/quickstart/protected/pages/GettingStarted/CommandLine.page index 7d439fac..c2050246 100644 --- a/demos/quickstart/protected/pages/GettingStarted/CommandLine.page +++ b/demos/quickstart/protected/pages/GettingStarted/CommandLine.page @@ -72,18 +72,20 @@ PHP-Shell - Version 0.3.1 >> Then we will get an instance of the Prado blog application, and from -that instance we want an instance of the 'data' module. +that instance we want an instance of the 'data' module. Notice that +a semicolon at the end of the line supresses the output. >> $app = Prado::getApplication(); >> $db = $app->getModule('data'); -Lastly, we want to use the data module to query for a post with ID=1. +Lastly, we want to use the data module to query for a post with ID=1. Notice that +we leave out the semicolon to show the results. >> $db->queryPostByID(1) -There should not be any errors and you should see the following. +There should not be any errors and you should see the following. PostRecord#1 ( -- cgit v1.2.3