Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apps.acj
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franklin
apps.acj
Commits
bab1caa6
Commit
bab1caa6
authored
Mar 16, 2024
by
Manoj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
3724a3e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
QuestionController.php
admin/application/controllers/QuestionController.php
+2
-2
No files found.
admin/application/controllers/QuestionController.php
View file @
bab1caa6
...
...
@@ -63,7 +63,7 @@ class QuestionController extends CI_Controller
public
function
viewQuestion
()
{
$view_data
[
'records'
]
=
$this
->
mcommon
->
records_all
(
'question'
);
$view_data
[
'records'
]
=
$this
->
mcommon
->
records_all
(
'question'
,
array
(
'exam_type'
,
1
)
);
$view_data
[
'exam_type'
]
=
$this
->
mcommon
->
records_all
(
'exam_type'
,
array
(
'status'
,
1
));
$view_data
[
'academic_year'
]
=
$this
->
mcommon
->
records_all
(
'accadamic_year'
,
array
(
'status'
,
1
));
$view_data
[
'question_category'
]
=
$this
->
mcommon
->
records_all
(
'question_category'
,
array
(
'status'
,
1
));
...
...
@@ -222,7 +222,7 @@ class QuestionController extends CI_Controller
public
function
viewEssayQuestion
()
{
$view_data
[
'records'
]
=
$this
->
mcommon
->
records_all
(
'question'
);
$view_data
[
'records'
]
=
$this
->
mcommon
->
records_all
(
'question'
,
array
(
'exam_type'
,
2
)
);
$view_data
[
'exam_type'
]
=
$this
->
mcommon
->
records_all
(
'exam_type'
,
array
(
'status'
,
1
));
$view_data
[
'academic_year'
]
=
$this
->
mcommon
->
records_all
(
'accadamic_year'
,
array
(
'status'
,
1
));
$view_data
[
'question_category'
]
=
$this
->
mcommon
->
records_all
(
'question_category'
,
array
(
'status'
,
1
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment