PHP Classes

File: resources/test1.php

Recommend this page to a friend!
  Classes of Bruno Henrique Ferreira de Oliveira   PHP Beans Brazilian Feijoada   resources/test1.php   Download  
File: resources/test1.php
Role: Class source
Content type: text/plain
Description: Test 1.
Class: PHP Beans Brazilian Feijoada
Encapsulate several objects in one like Java Beans
Author: By
Last change: uploading files
Date: 7 years ago
Size: 448 bytes
 

Contents

Class file image Download
?<?php

require_once __DIR__.'/beans.php';

test1::aaa();

class
test1 {

public function
__construct(){
$this->att1['user']['login']="bbb";
$this->att1['user']['senha']="aaa";
$this->att2['aaa']="134545";
}

public static function
aaa(){
$beans=new beans();
$beans->DAO("mydb.sql");
}

#ManagedBean
public $att1=array();

#ManagedBean
public $att2=array();

#ManagedBean
public $att3=4.56;

public
$att4=false;

private
$not1="not share";

}

?>