Modules\Doptor\CompanyInfo\Controllers\CompanyBranchController::show PHP Метод

show() публичный Метод

Display the specified resource.
public show ( integer $id )
$id integer
    public function show($id)
    {
        $company_branch_model = $this->module_namespace . "Models\\CompanyBranch";
        $company_branch = $company_branch_model::findOrFail($id);
        $this->layout->title = "Showing Entry in {$this->module_name}";
        $this->layout->content = View::make("{$this->module_alias}::branches.{$this->type}.show")->with('title', "Showing Entry in {$this->module_name}")->with('company', $company_branch);
    }