| @@ 1726-1732 (lines=7) @@ | ||
| 1723 | ) |
|
| 1724 | ); |
|
| 1725 | ||
| 1726 | if ( 'data' === $context ) { |
|
| 1727 | self::$field_data = array( |
|
| 1728 | 'field' => $name, |
|
| 1729 | 'id' => $options['id'], |
|
| 1730 | 'autocomplete' => false, |
|
| 1731 | ); |
|
| 1732 | } |
|
| 1733 | ||
| 1734 | $simple = true; |
|
| 1735 | ||
| @@ 1989-1995 (lines=7) @@ | ||
| 1986 | $autocomplete = false; |
|
| 1987 | } |
|
| 1988 | ||
| 1989 | if ( 'data' === $context ) { |
|
| 1990 | self::$field_data = array( |
|
| 1991 | 'field' => $name, |
|
| 1992 | 'id' => $options['id'], |
|
| 1993 | 'autocomplete' => $autocomplete, |
|
| 1994 | ); |
|
| 1995 | } |
|
| 1996 | ||
| 1997 | if ( $hierarchy && ! $autocomplete && ! empty( $results ) && $options['table_info']['object_hierarchical'] && ! empty( $options['table_info']['field_parent'] ) ) { |
|
| 1998 | $select_args = array( |
|