Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL_GraduateBulletin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
UNL_GraduateBulletin
Commits
5bea5c94
Commit
5bea5c94
authored
12 years ago
by
Brett Bieber
Browse files
Options
Downloads
Patches
Plain Diff
Remove traces of DB_DataObject
parent
f70c2563
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/dataobject.ini
+0
-7
0 additions, 7 deletions
data/dataobject.ini
src/UNL/Catalog.php
+2
-26
2 additions, 26 deletions
src/UNL/Catalog.php
with
2 additions
and
33 deletions
data/dataobject.ini
deleted
100644 → 0
+
0
−
7
View file @
f70c2563
[DB_DataObject]
database
=
mysql://catalog:catalog@localhost/catalog
schema_location
=
/home/bbieber/workspace/bulletin/Catalog
class_location
=
/home/bbieber/workspace/bulletin/Catalog
require_prefix
=
/home/bbieber/workspace/bulletin/Catalog
class_prefix
=
UNL_Catalog_
generator_exclude_regex
=
/mw_.*/
This diff is collapsed.
Click to expand it.
src/UNL/Catalog.php
+
2
−
26
View file @
5bea5c94
...
...
@@ -58,18 +58,6 @@ class UNL_Catalog
$this
->
determineView
();
}
/**
* Returns an ORM object for a table within the catalog.
*
* @param string $table Table to grab.
*
* @return object mixed.
*/
public
function
factory
(
$table
)
{
return
DB_DataObject
::
factory
(
$table
);
}
/**
* Determines which view.. this is a pseudo controller for the frontend.
*/
...
...
@@ -109,18 +97,6 @@ class UNL_Catalog
}
}
/**
* Gets an MDB2_Driver_mysql object for raw interactions with the database.
*
* @return object MDB2_Driver_mysqli
*/
public
function
getDatabaseConnection
()
{
$c
=
$this
->
factory
(
'courses'
);
$db
=&
$c
->
getDatabaseConnection
();
return
$db
;
}
/**
* Displays search results based on $_GET['q'] parameter.
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment