| @@ -81,14 +81,8 @@ | ||
| 81 | 81 | $this->setParams[ $k ] = $v; |
| 82 | 82 | return $this; |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | - public function setSlug( $slug ) | |
| 86 | - { | |
| 87 | - $this->uri->setSlug( $slug ); | |
| 88 | - return $this; | |
| 89 | - } | |
| 90 | - | |
| 91 | 85 | public function getSlug() |
| 92 | 86 | { |
| 93 | 87 | $hca = $this->post->get('hca'); |
| 94 | 88 | if( $hca ){ |
| @@ -129,15 +123,14 @@ | ||
| 129 | 123 | } |
| 130 | 124 | |
| 131 | 125 | public function isPrintView() |
| 132 | 126 | { |
| 133 | - $ret = false; | |
| 127 | + $return = FALSE; | |
| 134 | 128 | $params = $this->getParams(); |
| 135 | 129 | if( array_key_exists('print', $params) && ($params['print']) ){ |
| 136 | - $ret = true; | |
| 130 | + $return = TRUE; | |
| 137 | 131 | } |
| 138 | - | |
| 139 | - return $ret; | |
| 132 | + return $return; | |
| 140 | 133 | } |
| 141 | 134 | |
| 142 | 135 | public function getMethod() |
| 143 | 136 | { |
| @@ -194,9 +187,9 @@ | ||
| 194 | 187 | |
| 195 | 188 | protected function _cleanInputKeys( $str ) |
| 196 | 189 | { |
| 197 | 190 | if ( ! preg_match("/^[a-z0-9:_\/\-\~]+$/i", $str)){ |
| 198 | - exit('Disallowed Key Characters on: ' . '"' . esc_html($str) . '"' . '<br>'); | |
| 191 | + exit('Disallowed Key Characters on: ' . '"' . $str . '"' . '<br>'); | |
| 199 | 192 | } |
| 200 | 193 | return $str; |
| 201 | 194 | } |
| 202 | 195 | |