| @@ 2011-2017 (lines=7) @@ | ||
| 2008 | ) |
|
| 2009 | ); |
|
| 2010 | ||
| 2011 | if ( 'data' === $context ) { |
|
| 2012 | self::$field_data = array( |
|
| 2013 | 'field' => $name, |
|
| 2014 | 'id' => $options['id'], |
|
| 2015 | 'autocomplete' => false, |
|
| 2016 | ); |
|
| 2017 | } |
|
| 2018 | ||
| 2019 | $simple = true; |
|
| 2020 | ||
| @@ 2263-2269 (lines=7) @@ | ||
| 2260 | $autocomplete = false; |
|
| 2261 | }//end if |
|
| 2262 | ||
| 2263 | if ( 'data' === $context ) { |
|
| 2264 | self::$field_data = array( |
|
| 2265 | 'field' => $name, |
|
| 2266 | 'id' => $options['id'], |
|
| 2267 | 'autocomplete' => $autocomplete, |
|
| 2268 | ); |
|
| 2269 | } |
|
| 2270 | ||
| 2271 | if ( $hierarchy && ! $autocomplete && ! empty( $results ) && $options['table_info']['object_hierarchical'] && ! empty( $options['table_info']['field_parent'] ) ) { |
|
| 2272 | $select_args = array( |
|