Ubiquity/controllers/crud/CRUDMessage.php 1 location
|
@@ 110-117 (lines=8) @@
|
| 107 |
|
return $this; |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
public function parseContent($keyValues){ |
| 111 |
|
$msg=$this->_message; |
| 112 |
|
foreach ($keyValues as $key=>$value){ |
| 113 |
|
$msg=str_replace("{".$key."}", $value, $msg); |
| 114 |
|
} |
| 115 |
|
$this->_message=$msg; |
| 116 |
|
return $this; |
| 117 |
|
} |
| 118 |
|
|
| 119 |
|
} |
| 120 |
|
|
Ubiquity/utils/flash/FlashMessage.php 1 location
|
@@ 83-90 (lines=8) @@
|
| 80 |
|
$this->title = $title; |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
public function parseContent($keyValues){ |
| 84 |
|
$msg=$this->content; |
| 85 |
|
foreach ($keyValues as $key=>$value){ |
| 86 |
|
$msg=str_replace("{".$key."}", $value, $msg); |
| 87 |
|
} |
| 88 |
|
$this->content=$msg; |
| 89 |
|
return $this; |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
|
| 93 |
|
} |