3069 Posts in 868 Topics by 650 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 777 Views |
-
A little bit of help understanding the templates / code php pages?

28 June 2009 at 11:06pm
Hi there,
Been working with SS for a couple of days now and I'm getting on fine, but despite reading the tutorial I don't quite understand whats *happening* on the template code pages (where you create the page class etc):
<?php
/**
* Defines the Page(NoFlash) page type
*/class PageNoFlash extends Page {
static $db = array(
);
static $has_one = array(
);}
class PageNoFlash_Controller extends Page_Controller {
}
?>Don't get me wrong, I've created a few of these pages and added int he basics such as an icon etc, but I don't like plodding along using it without fully understanding what the existing code is doing and what is actually happening... can anyone explain it in dummy terms please?!?! Thanks! L
-
Re: A little bit of help understanding the templates / code php pages?

13 July 2009 at 7:33am Last edited: 13 July 2009 7:34am
Hi Linsey,
this is a bit hard to explain, you question is a bit unspecific. What do you already know about OOP and ORM?
| 777 Views | ||
|
Page:
1
|
Go to Top |


