Posted by Meiγo on 11/23/05 20:26
i wouldn't use the variable report directly.
$validate->report->getReport();
i'd make:
$validate->getReport();
and in class validate, make a method:
function getReport(){
$this->report->getReport();
}
seems a little more OO to me
(well at least, at OO classes i learnt to make variables private)
Navigation:
[Reply to this message]
|