@@ -23,9 +23,9 @@ |
||
23 | 23 | class SettingsController extends BaseActionController |
24 | 24 | { |
25 | 25 | |
26 | - /** |
|
27 | - * @var array|\Admin\Model\SettingsTable |
|
28 | - */ |
|
26 | + /** |
|
27 | + * @var array|\Admin\Model\SettingsTable |
|
28 | + */ |
|
29 | 29 | protected $settingsTable; |
30 | 30 | |
31 | 31 | /** |
@@ -82,11 +82,11 @@ |
||
82 | 82 | array( |
83 | 83 | 'name' => 'facebook', |
84 | 84 | 'attributes' => array( |
85 | - 'type' => 'url', |
|
86 | - ), |
|
87 | - 'options' => array( |
|
88 | - 'label' => 'Facebook', |
|
89 | - ), |
|
85 | + 'type' => 'url', |
|
86 | + ), |
|
87 | + 'options' => array( |
|
88 | + 'label' => 'Facebook', |
|
89 | + ), |
|
90 | 90 | ) |
91 | 91 | ); |
92 | 92 | $this->add( |
@@ -76,10 +76,10 @@ |
||
76 | 76 | array( |
77 | 77 | 'name' => 'reset', |
78 | 78 | 'attributes' => array( |
79 | - 'type' => 'reset', |
|
80 | - 'value' => 'reset', |
|
81 | - 'id' => 'resetbutton', |
|
82 | - ), |
|
79 | + 'type' => 'reset', |
|
80 | + 'value' => 'reset', |
|
81 | + 'id' => 'resetbutton', |
|
82 | + ), |
|
83 | 83 | 'options' => array( |
84 | 84 | 'label' => 'reset', |
85 | 85 | ), |
@@ -215,7 +215,7 @@ |
||
215 | 215 | public function getClient() |
216 | 216 | { |
217 | 217 | /** |
218 | - * @var \Admin\Model\ClientsTable $clients |
|
218 | + * @var \Admin\Model\ClientsTable $clients |
|
219 | 219 | */ |
220 | 220 | if ($this->client_id) { |
221 | 221 | $clients = \Application\Module::getService('AdminClientsTable'); |
@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * set user's object property data |
50 | - * |
|
50 | + * |
|
51 | 51 | * @param array $data |
52 | 52 | * @param boolean $forceEncryptPassword |
53 | 53 | * @return \Admin\Entity\User |
@@ -33,14 +33,14 @@ |
||
33 | 33 | public function __invoke( $resource ) |
34 | 34 | { |
35 | 35 | /** |
36 | - * @var Zend\Permissions\Acl\Acl $acl |
|
36 | + * @var Zend\Permissions\Acl\Acl $acl |
|
37 | 37 | **/ |
38 | 38 | $acl = $this->view->navigation()->getAcl(); |
39 | 39 | if (empty($resource) || !$acl->hasResource($resource) ) { |
40 | 40 | return true; |
41 | 41 | } |
42 | 42 | /** |
43 | - * @var \Admin\Entity\User $user |
|
43 | + * @var \Admin\Entity\User $user |
|
44 | 44 | **/ |
45 | 45 | $user = $this->view->zfcUserIdentity(); // ->getIdentity(); |
46 | 46 | if ($user) { // ($this->getAuthService()->hasIdentity()) { |
@@ -33,14 +33,14 @@ |
||
33 | 33 | public function __invoke( $resource ) |
34 | 34 | { |
35 | 35 | /** |
36 | - * @var \Zend\Permissions\Acl\Acl $acl |
|
36 | + * @var \Zend\Permissions\Acl\Acl $acl |
|
37 | 37 | **/ |
38 | 38 | $acl = $this->view->navigation()->getAcl(); |
39 | 39 | if (empty($resource) || !$acl->hasResource($resource) ) { |
40 | 40 | return true; |
41 | 41 | } |
42 | 42 | /** |
43 | - * @var \Admin\Entity\User $user |
|
43 | + * @var \Admin\Entity\User $user |
|
44 | 44 | **/ |
45 | 45 | $user = $this->view->zfcUserIdentity(); // ->getIdentity(); |
46 | 46 | if ($user) { // ($this->getAuthService()->hasIdentity()) { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | $tableQueries = array(); |
79 | 79 | foreach ($tables as $table) { //while ($table = $tables->current()) { |
80 | 80 | $tableName = $table["Tables_in_".$config["db"]["database"]]; |
81 | - // describe tables |
|
81 | + // describe tables |
|
82 | 82 | $tableSql = $db->query("SHOW CREATE TABLE `" . $tableName . "`;"); |
83 | 83 | $tableCreate = $tableSql->execute(); |
84 | 84 | $tableSpec = $tableCreate->current(); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | trait ControllerTranslatorTrait { |
24 | 24 | |
25 | - /** |
|
25 | + /** |
|
26 | 26 | * |
27 | 27 | * @var \Zend\I18n\Translator\Translator |
28 | 28 | */ |