From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- .../samples/day2/blog/protected/pages/Contact.php | 58 +++++++++++----------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'demos/blog-tutorial/samples/day2/blog/protected/pages') diff --git a/demos/blog-tutorial/samples/day2/blog/protected/pages/Contact.php b/demos/blog-tutorial/samples/day2/blog/protected/pages/Contact.php index b6ce575e..77d7374a 100644 --- a/demos/blog-tutorial/samples/day2/blog/protected/pages/Contact.php +++ b/demos/blog-tutorial/samples/day2/blog/protected/pages/Contact.php @@ -1,30 +1,30 @@ -IsValid) // check if input validation is successful - { - // obtain the user name, email, feedback from the textboxes - $name = $this->Name->Text; - $email = $this->Email->Text; - $feedback = $this->Feedback->Text; - - // send an email to administrator with the above information - $this->mailFeedback($name, $email, $feedback); - } - } - - protected function mailFeedback($name, $email, $feedback) - { - // implementation of sending the feedback email - } -} - +IsValid) // check if input validation is successful + { + // obtain the user name, email, feedback from the textboxes + $name = $this->Name->Text; + $email = $this->Email->Text; + $feedback = $this->Feedback->Text; + + // send an email to administrator with the above information + $this->mailFeedback($name, $email, $feedback); + } + } + + protected function mailFeedback($name, $email, $feedback) + { + // implementation of sending the feedback email + } +} + ?> \ No newline at end of file -- cgit v1.2.3