Entry 773

Class PHP

   

Submitted by Azema on May 15, 2008 at 2:16 p.m.
Language: PHP. Code size: 441 bytes.

<?php
/**
 * Test Highlight code PHP
 *
 */

class TestClass extend Controller_Action
{
    public function indexAction()
    {
        $var = array(my_var);
        foreach ($var as $theVar) {
            echo $theVar;
        }
        exit 0;
    }

    private function hideFunction ($hide = true) {
        if ($hide) {
            $style = "style='display: none;'";
        }
        return $style;
    }
}

?>

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).