├── manual ├── robots.txt ├── images │ ├── dmz.png │ ├── arrow.gif │ ├── feed.png │ ├── dmzlogo.png │ ├── download.png │ ├── example.png │ ├── favicon.png │ ├── nestedsets.gif │ ├── searchlogo.png │ ├── donate_button.gif │ ├── nav_bg_darker.jpg │ ├── notice_icon.jpg │ ├── nav_toggle_darker.jpg │ └── nav_separator_darker.jpg ├── js │ └── rot13.js └── pages │ ├── toc.html │ ├── clear.html │ ├── exists.html │ ├── savingrelations.html │ ├── deletingrelations.html │ ├── validate.html │ ├── controllers.html │ ├── changelog │ ├── 1.2.html │ └── 1.3.html │ ├── roadmap.html │ ├── extensions │ ├── translate.html │ └── simplecache.html │ ├── advancedusage.html │ ├── _template.html │ ├── license.html │ ├── refreshall.html │ ├── examples.html │ ├── requirements.html │ ├── deleteall.html │ ├── extlist.html │ └── timestamp.html ├── .gitignore ├── examples ├── application │ ├── sql │ │ ├── data │ │ │ ├── category.csv │ │ │ ├── group.csv │ │ │ └── status.csv │ │ ├── postgre │ │ │ ├── groups.sql │ │ │ ├── categories.sql │ │ │ ├── bugs_categories.sql │ │ │ ├── dependencies_dependents.sql │ │ │ ├── statuses.sql │ │ │ ├── bugs_users.sql │ │ │ ├── comments.sql │ │ │ ├── users.sql │ │ │ └── bugs.sql │ │ ├── tabledroplist.txt │ │ ├── mysql │ │ │ ├── groups.sql │ │ │ ├── categories.sql │ │ │ ├── bugs_categories.sql │ │ │ ├── dependencies_dependents.sql │ │ │ ├── comments.sql │ │ │ ├── bugs_users.sql │ │ │ ├── statuses.sql │ │ │ ├── bugs.sql │ │ │ └── users.sql │ │ └── mysqli │ │ │ ├── groups.sql │ │ │ ├── categories.sql │ │ │ ├── bugs_categories.sql │ │ │ ├── dependencies_dependents.sql │ │ │ ├── comments.sql │ │ │ ├── bugs_users.sql │ │ │ ├── statuses.sql │ │ │ ├── bugs.sql │ │ │ └── users.sql │ ├── views │ │ ├── bugs │ │ │ ├── edit.php │ │ │ ├── search.php │ │ │ ├── list.php │ │ │ ├── paging.php │ │ │ └── view.php │ │ ├── users │ │ │ ├── edit.php │ │ │ ├── delete.php │ │ │ └── index.php │ │ ├── admin │ │ │ ├── init.php │ │ │ ├── index.php │ │ │ └── reset.php │ │ ├── login.php │ │ ├── welcome │ │ │ └── index.php │ │ ├── template_footer.php │ │ └── template_header.php │ ├── language │ │ └── english │ │ │ ├── model_group_lang.php │ │ │ ├── model_category_lang.php │ │ │ ├── model_comment_lang.php │ │ │ ├── model_status_lang.php │ │ │ ├── model_bug_lang.php │ │ │ └── model_user_lang.php │ ├── helpers │ │ └── utilities_helper.php │ ├── controllers │ │ ├── logout.php │ │ ├── welcome.php │ │ ├── login.php │ │ ├── users.php │ │ └── admin.php │ ├── models │ │ ├── comment.php │ │ ├── category.php │ │ ├── status.php │ │ ├── group.php │ │ ├── bug.php │ │ └── user.php │ ├── config │ │ ├── datamapper.php │ │ └── autoload.php │ └── libraries │ │ └── login_manager.php ├── img │ ├── bg.png │ ├── cc.png │ ├── favicon.png │ ├── profiler.png │ ├── header-logo.jpg │ └── icon │ │ ├── 16 │ │ ├── add.png │ │ ├── back.png │ │ ├── delete.png │ │ ├── edit.png │ │ ├── search.png │ │ ├── view.png │ │ ├── move_top.png │ │ ├── move_up.png │ │ ├── move_bottom.png │ │ └── move_down.png │ │ └── 64 │ │ ├── groups.png │ │ ├── users.png │ │ ├── database.png │ │ ├── statuses.png │ │ └── categories.png └── css │ └── style.css ├── application ├── views │ └── dmz_htmlform │ │ ├── section.php │ │ ├── form.php │ │ └── row.php ├── third_party │ └── datamapper │ │ ├── system │ │ ├── Lang.php │ │ ├── DB_driver.php │ │ └── Loader.php │ │ └── bootstrap.php ├── config │ └── datamapper.php ├── language │ ├── english │ │ └── datamapper_lang.php │ ├── ca │ │ └── datamapper_lang.php │ ├── nl │ │ └── datamapper_lang.php │ ├── es │ │ └── datamapper_lang.php │ ├── pt_BR │ │ └── datamapper_lang.php │ ├── fr │ │ └── datamapper_lang.php │ └── it │ │ └── datamapper_lang.php ├── datamapper │ ├── translate.php │ ├── simplecache.php │ └── csv.php ├── models │ └── _template.php └── helpers │ └── inflector_helper.php ├── README.md └── license.txt /manual/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Allow: / 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Eclipse project files 2 | .buildpath 3 | .project 4 | .settings/ -------------------------------------------------------------------------------- /examples/application/sql/data/category.csv: -------------------------------------------------------------------------------- 1 | "name" 2 | "Website" 3 | "Application" -------------------------------------------------------------------------------- /examples/application/sql/data/group.csv: -------------------------------------------------------------------------------- 1 | name 2 | Administrators 3 | Users 4 | Reporters -------------------------------------------------------------------------------- /examples/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/bg.png -------------------------------------------------------------------------------- /examples/img/cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/cc.png -------------------------------------------------------------------------------- /manual/images/dmz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/dmz.png -------------------------------------------------------------------------------- /manual/images/arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/arrow.gif -------------------------------------------------------------------------------- /manual/images/feed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/feed.png -------------------------------------------------------------------------------- /examples/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/favicon.png -------------------------------------------------------------------------------- /examples/img/profiler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/profiler.png -------------------------------------------------------------------------------- /manual/images/dmzlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/dmzlogo.png -------------------------------------------------------------------------------- /manual/images/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/download.png -------------------------------------------------------------------------------- /manual/images/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/example.png -------------------------------------------------------------------------------- /manual/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/favicon.png -------------------------------------------------------------------------------- /examples/img/header-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/header-logo.jpg -------------------------------------------------------------------------------- /examples/img/icon/16/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/add.png -------------------------------------------------------------------------------- /manual/images/nestedsets.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/nestedsets.gif -------------------------------------------------------------------------------- /manual/images/searchlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/searchlogo.png -------------------------------------------------------------------------------- /examples/application/views/bugs/edit.php: -------------------------------------------------------------------------------- 1 | render_form($form_fields, $url); 4 | 5 | ?> -------------------------------------------------------------------------------- /examples/application/views/users/edit.php: -------------------------------------------------------------------------------- 1 | render_form($form_fields, $url); 4 | 5 | ?> -------------------------------------------------------------------------------- /examples/img/icon/16/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/back.png -------------------------------------------------------------------------------- /examples/img/icon/16/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/delete.png -------------------------------------------------------------------------------- /examples/img/icon/16/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/edit.png -------------------------------------------------------------------------------- /examples/img/icon/16/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/search.png -------------------------------------------------------------------------------- /examples/img/icon/16/view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/view.png -------------------------------------------------------------------------------- /examples/img/icon/64/groups.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/64/groups.png -------------------------------------------------------------------------------- /examples/img/icon/64/users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/64/users.png -------------------------------------------------------------------------------- /manual/images/donate_button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/donate_button.gif -------------------------------------------------------------------------------- /manual/images/nav_bg_darker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/nav_bg_darker.jpg -------------------------------------------------------------------------------- /manual/images/notice_icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/notice_icon.jpg -------------------------------------------------------------------------------- /examples/img/icon/16/move_top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/move_top.png -------------------------------------------------------------------------------- /examples/img/icon/16/move_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/move_up.png -------------------------------------------------------------------------------- /examples/img/icon/64/database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/64/database.png -------------------------------------------------------------------------------- /examples/img/icon/64/statuses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/64/statuses.png -------------------------------------------------------------------------------- /examples/img/icon/16/move_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/move_bottom.png -------------------------------------------------------------------------------- /examples/img/icon/16/move_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/16/move_down.png -------------------------------------------------------------------------------- /examples/img/icon/64/categories.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/examples/img/icon/64/categories.png -------------------------------------------------------------------------------- /manual/images/nav_toggle_darker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/nav_toggle_darker.jpg -------------------------------------------------------------------------------- /manual/images/nav_separator_darker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/P2GR/datamapper/HEAD/manual/images/nav_separator_darker.jpg -------------------------------------------------------------------------------- /application/views/dmz_htmlform/section.php: -------------------------------------------------------------------------------- 1 |
Create an administrative account for yourself.
2 | render_form( 5 | $form_fields, 6 | 'admin/init/save'); 7 | 8 | ?> 9 | -------------------------------------------------------------------------------- /examples/application/sql/postgre/bugs_categories.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE "bugs_categories" ( 2 | "id" serial NOT NULL PRIMARY KEY, 3 | "bug_id" integer NOT NULL, 4 | "category_id" integer NOT NULL 5 | ); -------------------------------------------------------------------------------- /examples/application/sql/tabledroplist.txt: -------------------------------------------------------------------------------- 1 | # Join Tables 2 | bugs_categories 3 | bugs_users 4 | dependencies_dependents 5 | 6 | # Model Tables 7 | bugs 8 | categories 9 | comments 10 | groups 11 | statuses 12 | users -------------------------------------------------------------------------------- /examples/application/sql/postgre/dependencies_dependents.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE "dependencies_dependents" ( 2 | "id" serial NOT NULL PRIMARY KEY, 3 | "dependency_id" integer NOT NULL, 4 | "dependent_id" integer NOT NULL 5 | ); -------------------------------------------------------------------------------- /examples/application/sql/mysql/groups.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `groups` ( 2 | `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, 3 | `name` character varying(20) NOT NULL, 4 | PRIMARY KEY (`id`), 5 | UNIQUE INDEX name (`name` ASC) 6 | ) ENGINE = InnoDB; -------------------------------------------------------------------------------- /examples/application/sql/mysqli/groups.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `groups` ( 2 | `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, 3 | `name` character varying(20) NOT NULL, 4 | PRIMARY KEY (`id`), 5 | UNIQUE INDEX name (`name` ASC) 6 | ) ENGINE = InnoDB; -------------------------------------------------------------------------------- /examples/application/sql/mysql/categories.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `categories` ( 2 | `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, 3 | `name` character varying(40) NOT NULL, 4 | PRIMARY KEY (`id`), 5 | UNIQUE INDEX name (`name` ASC) 6 | ) ENGINE = InnoDB; -------------------------------------------------------------------------------- /examples/application/sql/mysqli/categories.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `categories` ( 2 | `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, 3 | `name` character varying(40) NOT NULL, 4 | PRIMARY KEY (`id`), 5 | UNIQUE INDEX name (`name` ASC) 6 | ) ENGINE = InnoDB; -------------------------------------------------------------------------------- /examples/application/sql/postgre/statuses.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE "statuses" ( 2 | "id" serial NOT NULL PRIMARY KEY, 3 | "name" character varying(40) NOT NULL, 4 | "closed" smallint DEFAULT 0 NOT NULL, 5 | "sortorder" integer DEFAULT 0 NOT NULL 6 | ); -------------------------------------------------------------------------------- /examples/application/views/admin/index.php: -------------------------------------------------------------------------------- 1 |Manage User Accounts
2 | Add, edit, and delete users from this section.
Are you sure you want to delete the user name); ?>?
2 | 8 | -------------------------------------------------------------------------------- /examples/application/views/login.php: -------------------------------------------------------------------------------- 1 |Welcome to the Squash Bug Tracker. Please log in.
4 | render_form(array( 7 | 'username', 8 | 'password' 9 | ), 10 | 'login', 11 | array( 12 | 'save_button' => 'Log In', 13 | 'reset_button' => 'Clear' 14 | ) 15 | ); 16 | 17 | ?> 18 |Welcome to the Squash Bug Tracker.
5 |The database has not yet been created. Please click on the link below if you want to have the database automatically created.
4 | 5 | 6 |
7 | Click here to automatically the database.
8 |
9 | This will be created on the db->dbdriver; ?> database “db->database; ?>”.
10 |
11 | Procede with caution: Any existing Squash Bug Tracker tables in this database will be erased!
12 |
There was an error saving the form.
21 |