PHP Classes

File: tests/assert_templates/loop_object.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas   Haanga   tests/assert_templates/loop_object.php   Download  
File: tests/assert_templates/loop_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/loop_object.php
Date: 4 years ago
Size: 133 bytes
 

Contents

Class file image Download
<?php

$obj
= new stdclass;
$obj->foo = 'bar';
$obj->nombre = 'crodas';

$objects = array($obj);

$data = compact('obj', 'objects');