@@ 32-50 (lines=19) @@ | ||
29 | * @return n/a |
|
30 | */ |
|
31 | ||
32 | function __construct() { |
|
33 | ||
34 | // vars |
|
35 | $this->name = 'text'; |
|
36 | $this->label = __("Text",'acf'); |
|
37 | $this->defaults = array( |
|
38 | 'default_value' => '', |
|
39 | 'maxlength' => '', |
|
40 | 'placeholder' => '', |
|
41 | 'prepend' => '', |
|
42 | 'append' => '', |
|
43 | 'readonly' => 0, |
|
44 | 'disabled' => 0, |
|
45 | ); |
|
46 | ||
47 | ||
48 | // do not delete! |
|
49 | parent::__construct(); |
|
50 | } |
|
51 | ||
52 | ||
53 | /* |
@@ 32-50 (lines=19) @@ | ||
29 | * @return n/a |
|
30 | */ |
|
31 | ||
32 | function __construct() { |
|
33 | ||
34 | // vars |
|
35 | $this->name = 'textarea'; |
|
36 | $this->label = __("Text Area",'acf'); |
|
37 | $this->defaults = array( |
|
38 | 'default_value' => '', |
|
39 | 'new_lines' => '', |
|
40 | 'maxlength' => '', |
|
41 | 'placeholder' => '', |
|
42 | 'readonly' => 0, |
|
43 | 'disabled' => 0, |
|
44 | 'rows' => '' |
|
45 | ); |
|
46 | ||
47 | ||
48 | // do not delete! |
|
49 | parent::__construct(); |
|
50 | } |
|
51 | ||
52 | ||
53 | /* |