<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Field; class Video extends AbstractField { const MODE_DEFAULT = 'default'; const MODE_RAW = 'raw'; protected $width = 80; protected function setup() { $this->addVariables(array('category' => 'video', 'mode' => self::MODE_DEFAULT, 'server' => modstart_admin_url('data/file_manager/video'))); } public function server($J1_hF) { $this->addVariables(array('server' => $J1_hF)); return $this; } public function mode($ybhyk) { $this->addVariables(array('mode' => $ybhyk)); return $this; } }