Location: PHPKode > projects > The Fresh Toolkit > fresh-0.1.213/code_templates/views/PropelCRUDFFormView.tpl
<?php
class /*$actionName*/InputView extends SmartyView
{
    function execute ()
    {
        $context = $this->getContext();
    	$request = $context->getRequest();
        $user = $context->getUser();
        $Fresh = &$request->getAttribute('FreshController');
        $this->setAttribute('mojaviTranslator', $Fresh->getMojaviTranslator($context));
        
        $form = $request->getAttribute('form');
        $this->setAttribute('form',$form); 
        $this->setAttribute('pkstring',$request->getAttribute('pkstring')); 
        $this->setAttribute('ExpStatus',$user->getAttribute($form["name"].'ExpStatus'));    
        $this->setTemplate('/*$actionName*/Input.tpl');
    }
}
?>
Return current item: The Fresh Toolkit