mirror of
https://github.com/kennethreitz-archive/wp-mustache.git
synced 2026-06-05 23:50:19 +00:00
14 lines
307 B
PHP
14 lines
307 B
PHP
<?php
|
|
|
|
class Sections extends Mustache {
|
|
public $start = "It worked the first time.";
|
|
|
|
public function middle() {
|
|
return array(
|
|
array('item' => "And it worked the second time."),
|
|
array('item' => "As well as the third."),
|
|
);
|
|
}
|
|
|
|
public $final = "Then, surprisingly, it worked the final time.";
|
|
} |