function __construct(&$c) { parent::__construct($c); $this->setRequired(array('ftp_username', 'ftp_password')); }
function __construct(&$c) { parent::__construct($c); $this->setDef(null, array('dbhost' => array('name' => _('DB Host'), 'type' => VAR_TYPE_STRING, 'form_type' => FORM_TYPE_TEXT, 'required' => true), 'dbname' => array('name' => _('DB name'), 'type' => VAR_TYPE_STRING, 'form_type' => FORM_TYPE_TEXT, 'required' => true), 'dbuname' => array('name' => _('DB Username'), 'type' => VAR_TYPE_STRING, 'form_type' => FORM_TYPE_PASSWORD, 'required' => true), 'dbpass' => array('name' => _('DB Password'), 'type' => VAR_TYPE_STRING, 'form_type' => FORM_TYPE_TEXT, 'required' => true), 'prefix' => array('name' => _('Database table prefix'), 'type' => VAR_TYPE_STRING, 'form_type' => FORM_TYPE_RADIO, 'required' => true))); }
function __construct(&$c) { parent::__construct($c); $this->setRequired(array('repository_url')); }
function __construct(&$c) { parent::__construct($c); $this->setRequired(); }
function __construct(&$c) { parent::__construct($c); $this->form['root_path'] = array('type' => VAR_TYPE_STRING); $this->setRequired(array('ftp_username', 'ftp_password', 'root_path')); }
function __construct(&$c) { parent::__construct($c); $this->setRequired(array('target_package')); }