PHP Classes

File: examples/store_find.php

Recommend this page to a friend!
  Classes of Everton da Rosa   XtPHP   examples/store_find.php   Download  
File: examples/store_find.php
Role: Example script
Content type: text/plain
Description: Example script
Class: XtPHP
General purpose library of utility classes
Author: By
Last change:
Date: 10 years ago
Size: 387 bytes
 

Contents

Class file image Download
<?php

//Exemplo de busca em um STORE
require '../store.php';
require
'../utils.php';
require
'store.php';//O STORE

//store original
XtUtils::printr($store);


$store = XtStore::find($store, 'lano');//exibe apenas campos cujo conteúdo contém 'lano'

XtUtils::printr($store);

$store = XtStore::find($store, '2', array('cod'));//busca apenas co campo cod

XtUtils::printr($store);

?>