PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
vafpress-framework
/
classes
/
control
/
field
<?php class VP_Control_Field_Upload extends VP_Control_Field { public function __construct() { parent::__construct(); } public static function withArray($arr = array(), $class_name = null) { if(is_null($class_name)) $instance = new self(); else $instance = new $class_name; $instance->_basic_make($arr); return $instance; } public function _setup_data() { $preview = VP_Util_Res::get_preview_from_url($this->get_value()); $this->add_data('preview', $preview); parent::_setup_data(); } public function render($is_compact = false) { $this->_setup_data(); $this->add_data('is_compact', $is_compact); return VP_View::instance()->load('control/upload', $this->get_data()); } } /** * EOF */
[+]
..
[-] html.php
[edit]
[-] color.php
[edit]
[+]
item
[-] checkbox.php
[edit]
[-] upload.php
[edit]
[-] fontawesome.php
[edit]
[-] checkimage.php
[edit]
[-] toggle.php
[edit]
[-] sorter.php
[edit]
[-] slider.php
[edit]
[-] notebox.php
[edit]
[-] radioimage.php
[edit]
[-] textbox.php
[edit]
[-] wpeditor.php
[edit]
[-] radiobutton.php
[edit]
[-] textarea.php
[edit]
[-] codeeditor.php
[edit]
[-] select.php
[edit]
[-] multiselect.php
[edit]
[-] date.php
[edit]