Cytat
Parse error: parse error, unexpected T_VAR in C:\Documents and Settings\Administrator\Moje dokumenty\Xampp\xampplite\htdocs\testy\library\model.class.php on line 6
To błąd, a to klasa:
<?php class pf_model { var $aKey; var $aData; var $path; protected function _construct() { } public function assign($aKey,$aData) { $this->Vars[$aKey] = $aData; } public function getTplPath() { $path = $this->Vars['tpath']; return $this->path; } public function loadTpl($aKey,$aData) { $this->Vars['tplname'] = $aData; $$this->Vars['tplname'] = include($this->Vars['tpath']); return $$this->Vars['tplname']; } public function getVars() { return $this->Vars; } } ?>
Nie wiem w czym błąd ;/ ... Pomóżcie.