[eluser]John_Betong[/eluser]
duplicate of my previous post which I am not authorised to delete.
Quote:Really thanks :]
But another reply means another question :]
How can I set the variable as public? I know I can set a function as public, but variable…
Set your public variable in MY_Controller
Code:
class MY_Jokes extends Controller
{
public $atts = array(
'width' => '800',
'height' => '600',
'scrollbars' => 'yes',
'status' => 'yes',
'resizable' => 'yes',
'screenx' => '300',
'screeny' => '100',
'title' => 'email a friend'
);
public $advert_top;
public $advert_bottom;
public $adsence_blocking, $advert_tower, $analytics;
public $CACHED = TRUE; // default and toggle if a search