PHP Classes

File: tests/redirect.php

Recommend this page to a friend!
  Classes of Ali YILMAZ  >  Mind Framework  >  tests/redirect.php  >  Download  
File: tests/redirect.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Mind Framework
Framework that implements several design patterns
Author: By
Last change:
Date: 3 months ago
Size: 1,375 bytes


Class file image Download

require_once '../src/Mind.php';

$Mind = new Mind();

// $Mind->redirect();
// $Mind->redirect('contact');
// $Mind->redirect('');
// $Mind->redirect('', 5);
// $Mind->redirect('contact', 5);
// $Mind->redirect('', 5);
$Mind->redirect('', 20, '.example1 #redirect-time');

<link rel="shortcut icon" href="#">

<form class="example1" action="">
    <h5>INPUT TEXT</h5>
    <input type="text" id="redirect-time">
    <textarea id="redirect-time"></textarea>
    <span id="redirect-time"></span>
    <i id="redirect-time"></i>
    <input type="checkbox" id="redirect-time">
    <label for="redirect-time"> I have a bike</label>

        <option id="redirect-time">Redirect time</option>

    <h5>MULTI OPTION</h5>
    <select name="fruit" multiple>
        <option value ="none">Nothing</option>
        <option value ="guava" id="redirect-time">Guava</option>
        <option value ="lychee">Lychee</option>
        <option value ="papaya">Papaya</option>
        <option value ="watermelon">Watermelon</option>


For more information send a message to info at phpclasses dot org.