@@ -29,28 +29,28 @@ |
||
| 29 | 29 | |
| 30 | 30 | class ActionFactory implements IActionFactory { |
| 31 | 31 | |
| 32 | - /** |
|
| 33 | - * @param string $icon |
|
| 34 | - * @param string $name |
|
| 35 | - * @param string $href |
|
| 36 | - * @return ILinkAction |
|
| 37 | - */ |
|
| 38 | - public function newLinkAction($icon, $name, $href) { |
|
| 39 | - $action = new LinkAction(); |
|
| 40 | - $action->setName($name); |
|
| 41 | - $action->setIcon($icon); |
|
| 42 | - $action->setHref($href); |
|
| 43 | - return $action; |
|
| 44 | - } |
|
| 32 | + /** |
|
| 33 | + * @param string $icon |
|
| 34 | + * @param string $name |
|
| 35 | + * @param string $href |
|
| 36 | + * @return ILinkAction |
|
| 37 | + */ |
|
| 38 | + public function newLinkAction($icon, $name, $href) { |
|
| 39 | + $action = new LinkAction(); |
|
| 40 | + $action->setName($name); |
|
| 41 | + $action->setIcon($icon); |
|
| 42 | + $action->setHref($href); |
|
| 43 | + return $action; |
|
| 44 | + } |
|
| 45 | 45 | |
| 46 | - /** |
|
| 47 | - * @param string $icon |
|
| 48 | - * @param string $name |
|
| 49 | - * @param string $email |
|
| 50 | - * @return ILinkAction |
|
| 51 | - */ |
|
| 52 | - public function newEMailAction($icon, $name, $email) { |
|
| 53 | - return $this->newLinkAction($icon, $name, 'mailto:' . $email); |
|
| 54 | - } |
|
| 46 | + /** |
|
| 47 | + * @param string $icon |
|
| 48 | + * @param string $name |
|
| 49 | + * @param string $email |
|
| 50 | + * @return ILinkAction |
|
| 51 | + */ |
|
| 52 | + public function newEMailAction($icon, $name, $email) { |
|
| 53 | + return $this->newLinkAction($icon, $name, 'mailto:' . $email); |
|
| 54 | + } |
|
| 55 | 55 | |
| 56 | 56 | } |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * @return ILinkAction |
| 51 | 51 | */ |
| 52 | 52 | public function newEMailAction($icon, $name, $email) { |
| 53 | - return $this->newLinkAction($icon, $name, 'mailto:' . $email); |
|
| 53 | + return $this->newLinkAction($icon, $name, 'mailto:'.$email); |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | } |