* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class BaseVisitor extends BaseHubSystem {
+ /**
+ * Mode of the visitor (the first word of the concrete class' name)
+ */
+ private $visitorMode = 'invalid';
+
/**
* Protected constructor
*
$this->removeNumberFormaters();
$this->removeSystemArray();
}
+
+ /**
+ * Setter for visitor mode
+ *
+ * @param $visitorMode New visitor mode to set
+ * @return void
+ */
+ protected final function setVisitorMode ($visitorMode) {
+ $this->visitorMode = (string) $visitorMode;
+ }
+
+ /**
+ * Getter for visitor mode
+ *
+ * @return $visitorMode New visitor mode to set
+ */
+ public final function getVisitorMode () {
+ return $this->visitorMode;
+ }
}
// [EOF]