@@ 63-77 (lines=15) @@ | ||
60 | /** |
|
61 | * {@inheritdoc} |
|
62 | */ |
|
63 | public function run() |
|
64 | { |
|
65 | foreach ($this->runSteps as $action) { |
|
66 | $action(); |
|
67 | ||
68 | $notifyAction = $action; |
|
69 | if (is_array($action)) { |
|
70 | $notifyAction = $action[1]; |
|
71 | } |
|
72 | ||
73 | $this->notifyAction('bfw_modules_install_run_'.$notifyAction); |
|
74 | } |
|
75 | ||
76 | $this->notifyAction('bfw_modules_install_finish'); |
|
77 | } |
|
78 | ||
79 | /** |
|
80 | * Install all modules in the order of the dependency tree. |
@@ 350-364 (lines=15) @@ | ||
347 | * |
|
348 | * @return void |
|
349 | */ |
|
350 | public function run() |
|
351 | { |
|
352 | foreach ($this->runSteps as $action) { |
|
353 | $action(); |
|
354 | ||
355 | $notifyAction = $action; |
|
356 | if (is_array($action)) { |
|
357 | $notifyAction = $action[1]; |
|
358 | } |
|
359 | ||
360 | $this->notifyAction('apprun_'.$notifyAction); |
|
361 | } |
|
362 | ||
363 | $this->notifyAction('bfw_run_finish'); |
|
364 | } |
|
365 | ||
366 | /** |
|
367 | * Connect to memcache(d) server with the class declared in config file |