@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | public function render($container = null) |
43 | 43 | { |
44 | - $config = new \Zend\Config\Config( $this->getServiceLocator()->getServiceLocator()->get('Config') ); |
|
44 | + $config = new \Zend\Config\Config($this->getServiceLocator()->getServiceLocator()->get('Config')); |
|
45 | 45 | return $config->get('app')->get('logo'); |
46 | 46 | } |
47 | 47 |
@@ -40,8 +40,8 @@ |
||
40 | 40 | 'appfavicon' => 'UIComponents\View\Helper\Utilities\AppFavicon', |
41 | 41 | 'applogo' => 'UIComponents\View\Helper\Utilities\AppLogo', |
42 | 42 | |
43 | - 'framework' => 'UIComponents\View\Helper\Utilities\Framework', |
|
44 | - 'template' => 'UIComponents\View\Helper\Utilities\Framework', |
|
43 | + 'framework' => 'UIComponents\View\Helper\Utilities\Framework', |
|
44 | + 'template' => 'UIComponents\View\Helper\Utilities\Framework', |
|
45 | 45 | ]; |
46 | 46 | |
47 | 47 | } |
@@ -72,23 +72,23 @@ |
||
72 | 72 | return $collection; |
73 | 73 | } |
74 | 74 | |
75 | - /** |
|
76 | - * retrieve UI framework id/name |
|
77 | - * @return string the $framework |
|
78 | - */ |
|
79 | - public function getFramework() { |
|
80 | - return $this->framework; |
|
81 | - } |
|
75 | + /** |
|
76 | + * retrieve UI framework id/name |
|
77 | + * @return string the $framework |
|
78 | + */ |
|
79 | + public function getFramework() { |
|
80 | + return $this->framework; |
|
81 | + } |
|
82 | 82 | |
83 | - /** |
|
84 | - * set UI framework id/name |
|
85 | - * @param string $framework |
|
86 | - * @return \UIComponents\View\Helper\Utilities\Framework |
|
87 | - */ |
|
88 | - public function setFramework($framework) { |
|
89 | - $this->framework = $framework; |
|
90 | - return $this; |
|
91 | - } |
|
83 | + /** |
|
84 | + * set UI framework id/name |
|
85 | + * @param string $framework |
|
86 | + * @return \UIComponents\View\Helper\Utilities\Framework |
|
87 | + */ |
|
88 | + public function setFramework($framework) { |
|
89 | + $this->framework = $framework; |
|
90 | + return $this; |
|
91 | + } |
|
92 | 92 | |
93 | 93 | |
94 | 94 |
@@ -38,10 +38,10 @@ discard block |
||
38 | 38 | * @param string $framework [optional] framework classnames collection to relate to |
39 | 39 | * @return \Zend\Config\Config |
40 | 40 | */ |
41 | - public function __invoke( $framework = null ) |
|
41 | + public function __invoke($framework = null) |
|
42 | 42 | { |
43 | 43 | if ($framework !== null) { |
44 | - $classname = $this->NS . "\\" . $framework; |
|
44 | + $classname = $this->NS."\\".$framework; |
|
45 | 45 | if (!class_exists($classname)) { |
46 | 46 | throw new \Zend\View\Exception\InvalidArgumentException(sprintf( |
47 | 47 | $this->translate("Invalid framework collection '%s' specified"), |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public function getCollection() |
63 | 63 | { |
64 | - $classname = $this->NS . "\\" . $this->framework; |
|
64 | + $classname = $this->NS."\\".$this->framework; |
|
65 | 65 | if (!class_exists($classname)) { |
66 | 66 | throw new \Zend\View\Exception\InvalidArgumentException(sprintf( |
67 | 67 | $this->translate("Invalid framework collection '%s' specified"), |
@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | public function render($short = null) |
44 | 44 | { |
45 | - $config = new \Zend\Config\Config( $this->getServiceLocator()->getServiceLocator()->get('Config') ); |
|
45 | + $config = new \Zend\Config\Config($this->getServiceLocator()->getServiceLocator()->get('Config')); |
|
46 | 46 | if ($short === true) { |
47 | 47 | return $config->get('app')->get('short_title'); |
48 | 48 | } |
@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | public function render($container = null) |
43 | 43 | { |
44 | - $config = new \Zend\Config\Config( $this->getServiceLocator()->getServiceLocator()->get('Config') ); |
|
44 | + $config = new \Zend\Config\Config($this->getServiceLocator()->getServiceLocator()->get('Config')); |
|
45 | 45 | return $config->get('app')->get('favicon'); |
46 | 46 | } |
47 | 47 |
@@ -21,14 +21,14 @@ discard block |
||
21 | 21 | */ |
22 | 22 | abstract class ClassnameCollectionAbstract { |
23 | 23 | |
24 | - /** @var string $framework framework names, these classnames are related to */ |
|
25 | - public $framework = "Bootstrap"; |
|
24 | + /** @var string $framework framework names, these classnames are related to */ |
|
25 | + public $framework = "Bootstrap"; |
|
26 | 26 | |
27 | - /** @var string $version framework version, these classnames are related to */ |
|
28 | - public $version = "3.3.0"; |
|
27 | + /** @var string $version framework version, these classnames are related to */ |
|
28 | + public $version = "3.3.0"; |
|
29 | 29 | |
30 | - /** @var array $size generic sizes */ |
|
31 | - public $size = array( |
|
30 | + /** @var array $size generic sizes */ |
|
31 | + public $size = array( |
|
32 | 32 | "xs" => "xs", |
33 | 33 | "s" => "s", |
34 | 34 | "m" => "m", |
@@ -36,9 +36,9 @@ discard block |
||
36 | 36 | "xl" => "xl", |
37 | 37 | ); |
38 | 38 | |
39 | - /** @var array $column generic column classname */ |
|
39 | + /** @var array $column generic column classname */ |
|
40 | 40 | public $column = "columns"; |
41 | - /** @var array $columnsize column sizes classnames*/ |
|
41 | + /** @var array $columnsize column sizes classnames*/ |
|
42 | 42 | public $columnsize = array( |
43 | 43 | "xs" => "col-xs-", |
44 | 44 | "s" => "col-s-", |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | "xl" => "col-xl-", |
48 | 48 | ); |
49 | 49 | |
50 | - /** @var array $status status related classnames */ |
|
50 | + /** @var array $status status related classnames */ |
|
51 | 51 | public $status = array( |
52 | 52 | "default" => "default", |
53 | 53 | "info" => "info", |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | "error" => "error", |
58 | 58 | ); |
59 | 59 | |
60 | - /** @var array $panel panel related classnames */ |
|
60 | + /** @var array $panel panel related classnames */ |
|
61 | 61 | public $panel = array( |
62 | 62 | "prefix" => "panel-", |
63 | 63 | "wrapper" => "panel", |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | "footer" => "panel-footer", |
67 | 67 | ); |
68 | 68 | |
69 | - /** @var array $control control related classnames */ |
|
69 | + /** @var array $control control related classnames */ |
|
70 | 70 | public $control = array( |
71 | 71 | "button" => array( |
72 | 72 | "prefix" => "btn-", |
@@ -77,18 +77,18 @@ discard block |
||
77 | 77 | ), |
78 | 78 | ); |
79 | 79 | |
80 | - /** @var array $form form generation related classnames */ |
|
80 | + /** @var array $form form generation related classnames */ |
|
81 | 81 | public $form = array( |
82 | 82 | "formgroup" => array( |
83 | 83 | "wrapper" => "form-group", |
84 | 84 | ), |
85 | 85 | ); |
86 | 86 | |
87 | - /** @var array $table table related classnames */ |
|
87 | + /** @var array $table table related classnames */ |
|
88 | 88 | public $table = array( |
89 | 89 | ); |
90 | 90 | |
91 | - /** @var array $widget widgets' classnames */ |
|
91 | + /** @var array $widget widgets' classnames */ |
|
92 | 92 | public $widget = array( |
93 | 93 | "navigation" => array( |
94 | 94 | "wrapper" => "navbar navbar-inverse", |
@@ -113,12 +113,12 @@ discard block |
||
113 | 113 | ), |
114 | 114 | ); |
115 | 115 | |
116 | - /** |
|
117 | - * create classname collection object |
|
118 | - * @see \Zend\Config\Config |
|
119 | - */ |
|
120 | - public function __contruct() { |
|
121 | - return new \Zend\Config\Config( get_object_vars($this) ); |
|
122 | - } |
|
116 | + /** |
|
117 | + * create classname collection object |
|
118 | + * @see \Zend\Config\Config |
|
119 | + */ |
|
120 | + public function __contruct() { |
|
121 | + return new \Zend\Config\Config( get_object_vars($this) ); |
|
122 | + } |
|
123 | 123 | |
124 | 124 | } |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * @see \Zend\Config\Config |
119 | 119 | */ |
120 | 120 | public function __contruct() { |
121 | - return new \Zend\Config\Config( get_object_vars($this) ); |
|
121 | + return new \Zend\Config\Config(get_object_vars($this)); |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | } |
@@ -21,13 +21,13 @@ discard block |
||
21 | 21 | */ |
22 | 22 | class Bootstrap3 extends ClassnameCollectionAbstract { |
23 | 23 | |
24 | - /** @var string $framework framework names, these classnames are related to */ |
|
25 | - public $framework = "Bootstrap"; |
|
24 | + /** @var string $framework framework names, these classnames are related to */ |
|
25 | + public $framework = "Bootstrap"; |
|
26 | 26 | |
27 | - /** @var string $version framework version, these classnames are related to */ |
|
28 | - public $version = "3.3.0"; |
|
27 | + /** @var string $version framework version, these classnames are related to */ |
|
28 | + public $version = "3.3.0"; |
|
29 | 29 | |
30 | - /** @var array $size generic sizes */ |
|
30 | + /** @var array $size generic sizes */ |
|
31 | 31 | public $size = array( |
32 | 32 | "xs" => "xs", |
33 | 33 | "s" => "s", |
@@ -36,9 +36,9 @@ discard block |
||
36 | 36 | "xl" => "xl", |
37 | 37 | ); |
38 | 38 | |
39 | - /** @var array $column generic column classname */ |
|
39 | + /** @var array $column generic column classname */ |
|
40 | 40 | public $column = "columns"; |
41 | - /** @var array $columnsize column sizes classnames*/ |
|
41 | + /** @var array $columnsize column sizes classnames*/ |
|
42 | 42 | public $columnsize = array( |
43 | 43 | "xs" => "col-xs-", |
44 | 44 | "s" => "col-s-", |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | "xl" => "col-xl-", |
48 | 48 | ); |
49 | 49 | |
50 | - /** @var array $status status related classnames */ |
|
50 | + /** @var array $status status related classnames */ |
|
51 | 51 | public $status = array( |
52 | 52 | "default" => "default", |
53 | 53 | "info" => "info", |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | "error" => "error", |
58 | 58 | ); |
59 | 59 | |
60 | - /** @var array $panel panel related classnames */ |
|
60 | + /** @var array $panel panel related classnames */ |
|
61 | 61 | public $panel = array( |
62 | 62 | "prefix" => "panel-", |
63 | 63 | "wrapper" => "panel", |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | "footer" => "panel-footer", |
67 | 67 | ); |
68 | 68 | |
69 | - /** @var array $control control related classnames */ |
|
69 | + /** @var array $control control related classnames */ |
|
70 | 70 | public $control = array( |
71 | 71 | "button" => array( |
72 | 72 | "prefix" => "btn-", |
@@ -77,18 +77,18 @@ discard block |
||
77 | 77 | ), |
78 | 78 | ); |
79 | 79 | |
80 | - /** @var array $form form generation related classnames */ |
|
80 | + /** @var array $form form generation related classnames */ |
|
81 | 81 | public $form = array( |
82 | 82 | "formgroup" => array( |
83 | 83 | "wrapper" => "form-group", |
84 | 84 | ), |
85 | 85 | ); |
86 | 86 | |
87 | - /** @var array $table table related classnames */ |
|
87 | + /** @var array $table table related classnames */ |
|
88 | 88 | public $table = array( |
89 | 89 | ); |
90 | 90 | |
91 | - /** @var array $widget widgets' classnames */ |
|
91 | + /** @var array $widget widgets' classnames */ |
|
92 | 92 | public $widget = array( |
93 | 93 | "navigation" => array( |
94 | 94 | "wrapper" => "navbar navbar-inverse", |
@@ -21,13 +21,13 @@ discard block |
||
21 | 21 | */ |
22 | 22 | class Foundation6 extends ClassnameCollectionAbstract { |
23 | 23 | |
24 | - /** @var string $framework framework names, these classnames are related to */ |
|
25 | - public $framework = "Foundation"; |
|
24 | + /** @var string $framework framework names, these classnames are related to */ |
|
25 | + public $framework = "Foundation"; |
|
26 | 26 | |
27 | - /** @var string $version framework version, these classnames are related to */ |
|
28 | - public $version = "6.1.2"; |
|
27 | + /** @var string $version framework version, these classnames are related to */ |
|
28 | + public $version = "6.1.2"; |
|
29 | 29 | |
30 | - /** @var array $size generic sizes */ |
|
30 | + /** @var array $size generic sizes */ |
|
31 | 31 | public $size = array( |
32 | 32 | "xs" => "tiny", |
33 | 33 | "s" => "small", |
@@ -36,9 +36,9 @@ discard block |
||
36 | 36 | "xl" => "xlarge", |
37 | 37 | ); |
38 | 38 | |
39 | - /** @var array $column generic column classname */ |
|
39 | + /** @var array $column generic column classname */ |
|
40 | 40 | public $column = "columns"; |
41 | - /** @var array $columnsize column sizes classnames*/ |
|
41 | + /** @var array $columnsize column sizes classnames*/ |
|
42 | 42 | public $columnsize = array( |
43 | 43 | "xs" => "tiny-", |
44 | 44 | "s" => "small-", |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | "xl" => "xlargel-", |
48 | 48 | ); |
49 | 49 | |
50 | - /** @var array $status status related classnames */ |
|
50 | + /** @var array $status status related classnames */ |
|
51 | 51 | public $status = array( |
52 | 52 | "default" => "", |
53 | 53 | "info" => "info", |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | "error" => "alert", |
58 | 58 | ); |
59 | 59 | |
60 | - /** @var array $panel panel related classnames */ |
|
60 | + /** @var array $panel panel related classnames */ |
|
61 | 61 | public $panel = array( |
62 | 62 | "prefix" => "panel-", |
63 | 63 | "wrapper" => "panel", |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | "footer" => "panel-footer", |
67 | 67 | ); |
68 | 68 | |
69 | - /** @var array $control control related classnames */ |
|
69 | + /** @var array $control control related classnames */ |
|
70 | 70 | public $control = array( |
71 | 71 | "button" => array( |
72 | 72 | "prefix" => "button-", |
@@ -77,18 +77,18 @@ discard block |
||
77 | 77 | ), |
78 | 78 | ); |
79 | 79 | |
80 | - /** @var array $form form generation related classnames */ |
|
80 | + /** @var array $form form generation related classnames */ |
|
81 | 81 | public $form = array( |
82 | 82 | "formgroup" => array( |
83 | 83 | "wrapper" => "form-group", |
84 | 84 | ), |
85 | 85 | ); |
86 | 86 | |
87 | - /** @var array $table table related classnames */ |
|
87 | + /** @var array $table table related classnames */ |
|
88 | 88 | public $table = array( |
89 | 89 | ); |
90 | 90 | |
91 | - /** @var array $widget widgets' classnames */ |
|
91 | + /** @var array $widget widgets' classnames */ |
|
92 | 92 | public $widget = array( |
93 | 93 | "navigation" => array( |
94 | 94 | "wrapper" => "top-bar", |
@@ -144,6 +144,5 @@ |
||
144 | 144 | return $this->router->assemble(array(), array('name' => 'zfcuser')); |
145 | 145 | } |
146 | 146 | } |
147 | - |
|
148 | - */ |
|
147 | + */ |
|
149 | 148 | } |