PluginProbe
ShiftController Employee Shift Scheduling / 4.9.59
ShiftController Employee Shift Scheduling v4.9.59
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | hc3/request.php +4 -11 trunk4.9.59 View file →
@@ -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