mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-06-09 16:23:34 +00:00
parent
d56cc43cc5
commit
f3b990bf0f
5 changed files with 5 additions and 5 deletions
lib/Cake/Console/Command/Task
|
@ -126,7 +126,7 @@ class ControllerTask extends BakeTask {
|
|||
protected function _interactive() {
|
||||
$this->interactive = true;
|
||||
$this->hr();
|
||||
$this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->path));
|
||||
$this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->getPath()));
|
||||
$this->hr();
|
||||
|
||||
if (empty($this->connection)) {
|
||||
|
|
|
@ -137,7 +137,7 @@ class FixtureTask extends BakeTask {
|
|||
protected function _interactive() {
|
||||
$this->DbConfig->interactive = $this->Model->interactive = $this->interactive = true;
|
||||
$this->hr();
|
||||
$this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->path));
|
||||
$this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->getPath()));
|
||||
$this->hr();
|
||||
|
||||
if (!isset($this->connection)) {
|
||||
|
|
|
@ -190,7 +190,7 @@ class ModelTask extends BakeTask {
|
|||
*/
|
||||
protected function _interactive() {
|
||||
$this->hr();
|
||||
$this->out(__d('cake_console', "Bake Model\nPath: %s", $this->path));
|
||||
$this->out(__d('cake_console', "Bake Model\nPath: %s", $this->getPath()));
|
||||
$this->hr();
|
||||
$this->interactive = true;
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ class TestTask extends BakeTask {
|
|||
$this->interactive = true;
|
||||
$this->hr();
|
||||
$this->out(__d('cake_console', 'Bake Tests'));
|
||||
$this->out(__d('cake_console', 'Path: %s', $this->path));
|
||||
$this->out(__d('cake_console', 'Path: %s', $this->getPath()));
|
||||
$this->hr();
|
||||
|
||||
if ($type) {
|
||||
|
|
|
@ -195,7 +195,7 @@ class ViewTask extends BakeTask {
|
|||
*/
|
||||
protected function _interactive() {
|
||||
$this->hr();
|
||||
$this->out(sprintf("Bake View\nPath: %s", $this->path));
|
||||
$this->out(sprintf("Bake View\nPath: %s", $this->getPath()));
|
||||
$this->hr();
|
||||
|
||||
$this->DbConfig->interactive = $this->Controller->interactive = $this->interactive = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue