@@ 259-265 (lines=7) @@ | ||
256 | */ |
|
257 | public function renderElement($element) |
|
258 | { |
|
259 | if( is_string($element) ) |
|
260 | { |
|
261 | if( ($e = $this[$element]) === null && ($e = $this->getButtons()->itemAt($element)) === null ) |
|
262 | return $element; |
|
263 | else |
|
264 | $element = $e; |
|
265 | } |
|
266 | if( $element->getVisible() ) |
|
267 | { |
|
268 | if( $element instanceof CFormInputElement ) |
@@ 37-43 (lines=7) @@ | ||
34 | */ |
|
35 | public function renderElement($element) |
|
36 | { |
|
37 | if(is_string($element)) |
|
38 | { |
|
39 | if(($e=$this[$element])===null && ($e=$this->getButtons()->itemAt($element))===null) |
|
40 | return $element; |
|
41 | else |
|
42 | $element=$e; |
|
43 | } |
|
44 | if($element->getVisible()) |
|
45 | { |
|
46 | if($element instanceof CFormInputElement) |