PHP Classes

File: tests/columnClear.php

Recommend this page to a friend!
  Classes of Ali YILMAZ   Mind Framework   tests/columnClear.php   Download  
File: tests/columnClear.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: 1 year ago
Size: 357 bytes
 

Contents

Class file image Download
<?php
require_once ('../src/Mind.php');

$Mind = new Mind();

echo
'<br>';

if(
$Mind->columnClear('users', 'username')){
    echo
'Sütun temizlendi.';
} else {
    echo
'Sütun temizlenemedi.';
}

echo
'<br>';

if(
$Mind->columnClear('users', array('_token', 'created_at'))){
    echo
'Sütunlar temizlendi.';
} else {
    echo
'Sütunlar temizlenemedi.';
}