mentors

mentors Commit Details


Date:2014-06-03 00:17:24 (10 years 6 months ago)
Author:Right Or Wrong
Branch:develop, master
Commit:2b6e3c8ff2ce2927784b2188f4ac469bac2cf4cf
Parents: bd2dea613cce9991c5b395705f0ea739bcc1be30
Message:added mentors controller

Changes:

File differences

app/controllers/MentorManagementController.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
namespace App\Controller;
class MentorManagementController extends \BaseController {
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
{
return View::make('mentor.home');
}
/**
* Show the form for creating a new resource.
*
* @return Response
*/
public function create()
{
//
}
/**
* Store a newly created resource in storage.
*
* @return Response
*/
public function store()
{
//
}
/**
* Display the specified resource.
*
* @param int $id
* @return Response
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return Response
*/
public function edit($id)
{
//
}
/**
* Update the specified resource in storage.
*
* @param int $id
* @return Response
*/
public function update($id)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return Response
*/
public function destroy($id)
{
//
}
}
app/routes.php
1616
1717
1818
19
1920
return View::make('hello');
});
Route::resource('mentors', 'MentorManagementController');
app/views/mentor/home.blade.php
1
2
3
<?php
echo 'This is a test for the mentors page';
vendor/autoload.php
44
55
66
7
7
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInite4e3eb106a63a7e39b4baf325e8b1d7e::getLoader();
return ComposerAutoloaderInitf4e434e72bd9e45c8507ed13e1f3348d::getLoader();
vendor/composer/autoload_classmap.php
66
77
88
9
910
1011
1112
$baseDir = dirname($vendorDir);
return array(
'App\\Controller\\MentorManagementController' => $baseDir . '/app/controllers/MentorManagementController.php',
'BaseController' => $baseDir . '/app/controllers/BaseController.php',
'Boris\\Boris' => $vendorDir . '/d11wtq/boris/lib/Boris/Boris.php',
'Boris\\CLIOptionsHandler' => $vendorDir . '/d11wtq/boris/lib/Boris/CLIOptionsHandler.php',
vendor/composer/autoload_real.php
22
33
44
5
5
66
77
88
......
1919
2020
2121
22
22
2323
24
24
2525
2626
2727
......
4949
5050
5151
52
52
5353
5454
5555
5656
5757
5858
59
59
6060
6161
6262
// autoload_real.php @generated by Composer
class ComposerAutoloaderInite4e3eb106a63a7e39b4baf325e8b1d7e
class ComposerAutoloaderInitf4e434e72bd9e45c8507ed13e1f3348d
{
private static $loader;
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInite4e3eb106a63a7e39b4baf325e8b1d7e', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitf4e434e72bd9e45c8507ed13e1f3348d', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInite4e3eb106a63a7e39b4baf325e8b1d7e', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitf4e434e72bd9e45c8507ed13e1f3348d', 'loadClassLoader'));
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
$includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $file) {
composerRequiree4e3eb106a63a7e39b4baf325e8b1d7e($file);
composerRequiref4e434e72bd9e45c8507ed13e1f3348d($file);
}
return $loader;
}
}
function composerRequiree4e3eb106a63a7e39b4baf325e8b1d7e($file)
function composerRequiref4e434e72bd9e45c8507ed13e1f3348d($file)
{
require $file;
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.07197s using 13 queries.