'id', 'keyword' => 'keyword', 'lang' => 'lang', 'replacement' => 'replacement', 'id_fk_category_glossary' => 'idFkCategoryGlossary', 'location' => 'location' ); protected $id; private $keyword; private $lang; private $replacement; private $idFkCategoryGlossary; private $location; // -- Konstruktor -- function __construct( $idFkGlossary = null, $keyword = null, $lang = null, $replacement = null, $idFkCategoryGlossary = null, $location = null){ $this->id = $idFkGlossary; $this->keyword = $keyword; $this->lang = $lang; $this->replacement = $replacement; $this->idFkCategoryGlossary = $idFkCategoryGlossary; $this->location = $location; } // -- Get-y i Set-y -- public function getId(){ return $this->id; } public function setId($idFkGlossary){ $this->id = $idFkGlossary; } public function getKeyword(){ return $this->keyword; } public function setKeyword($keyword){ $this->keyword = $keyword; } public function getLang(){ return $this->lang; } public function setLang($lang){ $this->lang = $lang; } public function getReplacement(){ return $this->replacement; } public function setReplacement($replacement){ $this->replacement = $replacement; } public function getIdFkCategoryGlossary(){ return $this->idFkCategoryGlossary; } public function setIdFkCategoryGlossary($idFkCategoryGlossary){ $this->idFkCategoryGlossary = $idFkCategoryGlossary; } public function getLocation(){ return $this->location; } public function setLocation($location){ $this->location = $location; } /** * Pobiera nazwę tabeli reprezentującej obiekt w SQL * @return string */ public function GetTableName(){ return self::$tableName; } /** * Pobiera nazwę klucza głównego tabeli * @return string */ public function GetClassTablePK() { return self::$classTablePK; } /** * Pobiera tablice mapującą pola klasy na pola tabeli * @return array */ public function GetFields(){ return self::$fields; } /** * Pobiera nazwę klasy * @return string */ public function GetClassName(){ return self::$className; } } ?>