PHP Classes

File: tests/assert_templates/object.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas   Haanga   tests/assert_templates/object.php   Download  
File: tests/assert_templates/object.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: Haanga
Template engine to process Django style templates
Author: By
Last change: Update of tests/assert_templates/object.php
Date: 4 years ago
Size: 126 bytes
 

Contents

Class file image Download
<?php

$obj
= new Stdclass;
$obj->name = 'foo';
$obj->obj['name'] = 'bar';
$arr['obj'] = $obj;
$data = compact('obj', 'arr');