hello
is it a good practice to use private properties in codeigniter controllers ?
for example
<?php
class X_controller extends Controller{
private $data;
function __construct(){
parent::Controller();
$this->data = "xx"
}
function index(){
//use $this->data somewhere here ?
}
}