projects
/
core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
33779a3
)
Visitor instances can now be stored in all objects for speeding up the code.
author
Roland Häder
<roland@mxchange.org>
Wed, 20 Apr 2011 01:52:56 +0000
(
01:52
+0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 20 Apr 2011 01:52:56 +0000
(
01:52
+0000)
inc/classes/main/class_BaseFrameworkSystem.php
patch
|
blob
|
history
diff --git
a/inc/classes/main/class_BaseFrameworkSystem.php
b/inc/classes/main/class_BaseFrameworkSystem.php
index 9c1cf4ca8ce05f6277bb79c3bf323a92de74a010..e34ebe98e548d660bc7c33f483f57a26a7398818 100644
(file)
--- a/
inc/classes/main/class_BaseFrameworkSystem.php
+++ b/
inc/classes/main/class_BaseFrameworkSystem.php
@@
-153,6
+153,11
@@
class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
*/
private $handlerInstance = null;
*/
private $handlerInstance = null;
+ /**
+ * Visitor handler instance
+ */
+ private $visitorInstance = null;
+
/**
* The real class name
*/
/**
* The real class name
*/
@@
-1642,6
+1647,25
@@
class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
return $this->handlerInstance;
}
return $this->handlerInstance;
}
+ /**
+ * Setter for visitor instance
+ *
+ * @param $visitorInstance A Visitor instance
+ * @return void
+ */
+ protected final function setVisitorInstance (Visitor $visitorInstance) {
+ $this->visitorInstance = $visitorInstance;
+ }
+
+ /**
+ * Getter for visitor instance
+ *
+ * @return $visitorInstance A Visitor instance
+ */
+ protected final function getVisitorInstance () {
+ return $this->visitorInstance;
+ }
+
/**
* Setter for raw package Data
*
/**
* Setter for raw package Data
*