Search the Community
Showing results for tags 'user'.
-
Hi to all, Somewhere in the book Larry shows how to write a simple progress indicator for the user. It counts the %99 of time remaining until a task is complete. It might have been during an AJAX call. That's my purpose. If anyone can find this and provide the page number, please reply. I can find it in the index or by skimming. And I never miss a chance to say thanks again Larry. With your help, I am coding AJAX with little web app experience. Your books are phenomenal! Thanks in advance, CanuckCoder
-
version 0.5 Page 113 Quoting from the book: "The view files generated by Gii have comments at the top of them that indicate the variables that were passed to the view file. For protected/views/site/index.php, that’s: <?php /* @var $this SiteController */ For protected/views/user/create.php, you’ll see: <?php /* @var $this UserController */ /* @var $model User */ " My question: What actual variables are passed? Is SiteController a variable? Is UserController a variable? What exactly does "$model User" mean? Thanks.