public/wordpress/wp-content/plugins/backupbuddy/pluginbuddy/classes/form.php
/*	pluginbuddy_form->start()
	 *	
	 *	Starts the form output.  Automatically runs under normal circumstances so usually should not need to be called directly.
	 *	
	 *	@param		string		$name			Name / slug for this form item.
	 *	@param		string		$value			Value for this form item.
	 *	@param		string		$rules			(optional) Rules to validate this form item against.
	 *	@return		null
	 */


Starts the form output.  Automatically runs under normal circumstances so usually should not need to be called directly.

@param          string          $name                   Name / slug for this form item.
@param          string          $value                  Value for this form item.
@param          string          $rules                  (optional) Rules to validate this form item against.
@return         null
Starts the form output . Automatically runs under normal circumstances so usually should not need to be called directly . @param string $name Name / slug for this form item . @param string $value Value for this form item . @param string $rules ( optional ) Rules to validate this form item against . @return null
public function start() {
		$this->_started = true;
		if ( false !== stristr( $this->_additional_query_string, 'http' ) ) {
			$action_url = $this->_additional_query_string;
		} else {
			if ( pb_backupbuddy::page_url() != '' ) {
				$action_url = pb_backupbuddy::page_url() . '&' . $this->_additional_query_string;
			} else {
				$action_url = '?' . $this->_additional_query_string;
			}
		}
		$return = '<form method="post" action="' . $action_url . '" class="pb_form pb_form ' . $this->_prefix . $this->_form_name . '_form" id="' . $this->_prefix . $this->_form_name . '_form">';
		$return .= '<input type="hidden" name="' . $this->_prefix . '" value="' . $this->_form_name . '">';
		return $return;
	}
public function start ( ) { $ this -> _started = true ; if ( false !== stristr ( $ this -> _additional_query_string , 'http' ) ) { $ action_url = $ this -> _additional_query_string ; } else { if ( pb_backupbuddy :: page_url ( ) != '' ) { $ action_url = pb_backupbuddy :: page_url ( ) . '&' . $ this -> _additional_query_string ; } else { $ action_url = '?' . $ this -> _additional_query_string ; } } $ return = '<form method="post" action="' . $ action_url . '" class="pb_form pb_form ' . $ this -> _prefix . $ this -> _form_name . '_form" id="' . $ this -> _prefix . $ this -> _form_name . '_form">' ; $ return .= '<input type="hidden" name="' . $ this -> _prefix . '" value="' . $ this -> _form_name . '">' ; return $ return ; }
pluginbuddy_form->start()
pluginbuddy_form - > start ()