Adding new reference type retrieval
This commit is contained in:
parent
164ed62a48
commit
4d55711190
@ -178,6 +178,11 @@ class AjaxController extends AbstractController
|
|||||||
'wlc' => ReferenceController::retrieveWLC($ref),
|
'wlc' => ReferenceController::retrieveWLC($ref),
|
||||||
'lbc' => ReferenceController::retrieveLBC($ref),
|
'lbc' => ReferenceController::retrieveLBC($ref),
|
||||||
'creed' => ReferenceController::retrieveCreed($data->book),
|
'creed' => ReferenceController::retrieveCreed($data->book),
|
||||||
|
'39a' => ReferenceController::retrieve39a($ref),
|
||||||
|
'1hc' => ReferenceController::retrieve1HC($ref),
|
||||||
|
'2hc' => ReferenceController::retrieve2HC($ref),
|
||||||
|
'sd' => ReferenceController::retrieveSD($ref),
|
||||||
|
'agc' => ReferenceController::retrieveAGC($ref),
|
||||||
'note' => ReferenceController::retrieveNote($user)
|
'note' => ReferenceController::retrieveNote($user)
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -220,7 +225,13 @@ class AjaxController extends AbstractController
|
|||||||
'cd' => 'Dort',
|
'cd' => 'Dort',
|
||||||
'wcf' => 'Westminster/Confessions',
|
'wcf' => 'Westminster/Confessions',
|
||||||
'wsc' => 'Westminster/Shorter Catechism',
|
'wsc' => 'Westminster/Shorter Catechism',
|
||||||
'wlc' => 'Westminster/Larger Catechism'
|
'wlc' => 'Westminster/Larger Catechism',
|
||||||
|
'lbc' => 'London',
|
||||||
|
'39a' => '39 Articles',
|
||||||
|
'1hc' => '1 Helvetic Catechism',
|
||||||
|
'2hc' => '2 Helvetic Catechism',
|
||||||
|
'sd' => 'Savor Declaration',
|
||||||
|
'agc' => 'Augsburg Confession'
|
||||||
};
|
};
|
||||||
|
|
||||||
$ret = file_put_contents(dirname(dirname(__DIR__))."/references/{$path}/{$data->file}", $data->text);
|
$ret = file_put_contents(dirname(dirname(__DIR__))."/references/{$path}/{$data->file}", $data->text);
|
||||||
|
Loading…
Reference in New Issue
Block a user