Skip to content
Snippets Groups Projects
Commit 0ed3cf91 authored by Peter Rotich's avatar Peter Rotich
Browse files

Add 'asVar' function - returns staff's name

parent fba73c87
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,10 @@ class Staff {
return $this->load();
}
function asVar() {
return $this->getName();
}
function getHastable() {
return $this->ht;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment