original_string: public function getUploadedFiles()
      {
          if ($c = $this->model) {
              $a = explode(',', $this->value);
              $b = array();
              foreach ($a as $val) {
                  if ($val) {
                      $b[] = $val;
                  }
              }
              $files = implode(',', filter_var_array($b, FILTER_VALIDATE_INT));
              if ($files) {
                  $c->addCondition('id', 'in', ($files ? $files : 0));
                  $data = $c->getRows(array(
                      'id',
                      'url',
                      'thumb_url',
                      $this->getOriginalFilenameFieldName(),
                      $this->getFilesizeFieldName()
                  ));
              } else {
                  $data = array();
              }
  
              return $this->formatFiles($data);
          }
      }
code: public function getUploadedFiles()
      {
          if ($c = $this->model) {
              $a = explode(',', $this->value);
              $b = array();
              foreach ($a as $val) {
                  if ($val) {
                      $b[] = $val;
                  }
              }
              $files = implode(',', filter_var_array($b, FILTER_VALIDATE_INT));
              if ($files) {
                  $c->addCondition('id', 'in', ($files ? $files : 0));
                  $data = $c->getRows(array(
                      'id',
                      'url',
                      'thumb_url',
                      $this->getOriginalFilenameFieldName(),
                      $this->getFilesizeFieldName()
                  ));
              } else {
                  $data = array();
              }
  
              return $this->formatFiles($data);
          }
      }
code_tokens: public function getUploadedFiles ( ) { if ( $ c = $ this -> model ) { $ a = explode ( ',' , $ this -> value ) ; $ b = array ( ) ; foreach ( $ a as $ val ) { if ( $ val ) { $ b [ ] = $ val ; } } $ files = implode ( ',' , filter_var_array ( $ b , FILTER_VALIDATE_INT ) ) ; if ( $ files ) { $ c -> addCondition ( 'id' , 'in' , ( $ files ? $ files : 0 ) ) ; $ data = $ c -> getRows ( array ( 'id' , 'url' , 'thumb_url' , $ this -> getOriginalFilenameFieldName ( ) , $ this -> getFilesizeFieldName ( ) ) ) ; } else { $ data = array ( ) ; } return $ this -> formatFiles ( $ data ) ; } }
docstring: those can be done in flash thingie as well
docstring_tokens: those can be done in flash thingie as well