form::hidden PHP Method

hidden() public static method

public static hidden ( $name, $value = '', $attributes = [] )
    public static function hidden($name, $value = '', $attributes = array())
    {
        return static::input('hidden', $name, $value, $attributes);
    }

Usage Example

 public function gui()
 {
     if ($this->status) {
         echo '<p class="message">' . __('Content successfully imported.') . '</p>';
     }
     echo '<h3>' . __('Import from a feed') . '</h3>' . '<p>' . sprintf(__('This will import a feed (RSS or Atom) a as new content in the current blog: %s.'), '<strong>' . html::escapeHTML($this->core->blog->name) . '</strong>') . '</p>' . '<form action="' . $this->getURL(true) . '" method="post">' . '<fieldset>' . $this->core->formNonce() . form::hidden(array('do'), 1) . '<p><label>' . __('Feed URL:') . ' ' . form::field('feed_url', 40, 300, html::escapeHTML($this->feed_url)) . '</label></p>' . '<p><input type="submit" value="' . __('Send') . '" /></p>' . '</fieldset>' . '</form>';
 }
All Usage Examples Of form::hidden