Welcome Guest, Not a member yet? Register   Sign In
Starting with CodeIgniter setup: suggestions & best practices
#99

[eluser]pisio[/eluser]
Code:
class data extends CI_Model{

public function __call($name, $arguments) {
$this->$name = $arguments;
}

public function __get($name) {
return $this->$name;
}

}

$this->data->pisio =  "  isnt it ? ";

print_r($this->data->pisio);
I think that will be good idea in new version of CI.
It will be more fast and clean code with mysql(active records ) relation and view.
And I think : Option to auto-load php interfaces will be too good idea.


when will the new version come out?


Messages In This Thread
Starting with CodeIgniter setup: suggestions & best practices - by El Forum - 11-27-2012, 04:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB