Codegrounds /fuel/packages/oil/views/scaffolding/crud/actions/view.php

Language PHP Lines 7
MD5 Hash 660f2a1ffe677513b771fee89ce7427b
Repository https://bitbucket.org/trujka/codegrounds.git View Raw File View Project SPDX
1
2
3
4
5
6
		is_null($id) and Response::redirect('<?php echo $uri ?>');

		$data['<?php echo $singular_name ?>'] = Model_<?php echo $model_name ?>::find_by_pk($id);

		$this->template->title = "<?php echo ucfirst($singular_name) ?>";
		$this->template->content = View::forge('<?php echo $view_path ?>/view', $data);
Back to Top