Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.58 KB | None | 0 0
  1. public function actionView(){
  2.         $this->model->_GET = array("PARAM_1");
  3.         $data = $this->model->fetch("*", "where nama_class = :PARAM_1");
  4.         $this->view(
  5.             array("content" => "view.php", "title_layout"=>"Dokumentasi" ),
  6.             array(
  7.                 "data" => $data,
  8.                 "properties" => RO::model("properties")->fetchAll("*","where id_class = $data[id] order by visibility, properties"),
  9.                 "method" => RO::model("method")->fetchAll("*","where id_class = $data[id] order by visibility, method")
  10.             )
  11.         );
  12.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement