6 * @copyright (c) P.Pollet 2007 under GPL
33 /* full constructor */
34 public function roleRecord($error='',$id=0,$name='',$shortname='',$description='',$sortorder=0){
38 $this->shortname=$shortname ;
39 $this->description=$description ;
40 $this->sortorder=$sortorder ;
43 public function getError(){
47 public function getId(){
51 public function getName(){
55 public function getShortname(){
56 return $this->shortname;
59 public function getDescription(){
60 return $this->description;
63 public function getSortorder(){
64 return $this->sortorder;
68 public function setError($error){
72 public function setId($id){
76 public function setName($name){
80 public function setShortname($shortname){
81 $this->shortname=$shortname;
84 public function setDescription($description){
85 $this->description=$description;
88 public function setSortorder($sortorder){
89 $this->sortorder=$sortorder;