├── assets ├── js │ ├── diretivas │ │ ├── for_range.js │ │ ├── tarefa1.js │ │ ├── velse.js │ │ ├── vif.js │ │ ├── vshow.js │ │ ├── for_array.js │ │ ├── tarefa2.js │ │ └── for_array_object.js │ ├── second │ │ └── index.js │ ├── interatividade │ │ ├── von.js │ │ ├── propriedade_computada.js │ │ ├── calculadora.js │ │ └── tarefa.js │ ├── first_test_vue.js │ ├── test_bootstrap_ajax_axios_vue.js │ ├── test_bootstrap_ajax_resource_vue.js │ ├── test_bootstrap_vue.js │ └── test_bulma_vue.js └── css │ ├── starter-template.css │ └── bootstrap-vue.min.css ├── system ├── fonts │ ├── texb.ttf │ └── index.html ├── .htaccess ├── index.html ├── core │ ├── index.html │ ├── compat │ │ └── index.html │ ├── Model.php │ └── Controller.php ├── database │ ├── index.html │ └── drivers │ │ ├── index.html │ │ ├── cubrid │ │ ├── index.html │ │ └── cubrid_utility.php │ │ ├── ibase │ │ ├── index.html │ │ └── ibase_utility.php │ │ ├── mssql │ │ ├── index.html │ │ └── mssql_utility.php │ │ ├── mysql │ │ └── index.html │ │ ├── mysqli │ │ └── index.html │ │ ├── oci8 │ │ ├── index.html │ │ └── oci8_utility.php │ │ ├── odbc │ │ ├── index.html │ │ ├── odbc_utility.php │ │ └── odbc_forge.php │ │ ├── pdo │ │ ├── index.html │ │ ├── subdrivers │ │ │ ├── index.html │ │ │ └── pdo_odbc_forge.php │ │ ├── pdo_forge.php │ │ └── pdo_utility.php │ │ ├── sqlite │ │ ├── index.html │ │ └── sqlite_utility.php │ │ ├── sqlsrv │ │ ├── index.html │ │ └── sqlsrv_utility.php │ │ ├── postgre │ │ ├── index.html │ │ └── postgre_utility.php │ │ └── sqlite3 │ │ ├── index.html │ │ └── sqlite3_utility.php ├── helpers │ ├── index.html │ ├── language_helper.php │ ├── email_helper.php │ ├── path_helper.php │ ├── xml_helper.php │ ├── number_helper.php │ ├── typography_helper.php │ ├── directory_helper.php │ └── array_helper.php ├── language │ ├── index.html │ └── english │ │ ├── index.html │ │ ├── number_lang.php │ │ ├── pagination_lang.php │ │ ├── migration_lang.php │ │ ├── unit_test_lang.php │ │ ├── profiler_lang.php │ │ ├── ftp_lang.php │ │ ├── calendar_lang.php │ │ ├── upload_lang.php │ │ ├── email_lang.php │ │ ├── imglib_lang.php │ │ └── db_lang.php └── libraries │ ├── index.html │ ├── Cache │ ├── index.html │ └── drivers │ │ └── index.html │ ├── Session │ ├── index.html │ ├── drivers │ │ └── index.html │ └── SessionHandlerInterface.php │ └── Javascript │ └── index.html ├── user_guide ├── objects.inv ├── _static │ ├── up.png │ ├── down.png │ ├── file.png │ ├── minus.png │ ├── plus.png │ ├── ci-icon.ico │ ├── comment.png │ ├── up-pressed.png │ ├── ajax-loader.gif │ ├── down-pressed.png │ ├── comment-bright.png │ ├── comment-close.png │ ├── images │ │ └── ci-icon.ico │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ └── fontawesome-webfont.woff │ ├── js │ │ └── oldtheme.js │ ├── css │ │ ├── citheme.css │ │ └── badge_only.css │ └── pygments.css ├── _images │ ├── smile.gif │ └── appflowchart.gif ├── _downloads │ └── ELDocs.tmbundle.zip └── .buildinfo ├── application ├── views │ ├── template │ │ ├── footer.php │ │ └── header.php │ ├── second.php │ ├── errors │ │ ├── cli │ │ │ ├── error_404.php │ │ │ ├── error_general.php │ │ │ ├── error_db.php │ │ │ ├── index.html │ │ │ ├── error_php.php │ │ │ └── error_exception.php │ │ ├── index.html │ │ └── html │ │ │ ├── index.html │ │ │ ├── error_php.php │ │ │ ├── error_exception.php │ │ │ ├── error_general.php │ │ │ ├── error_db.php │ │ │ └── error_404.php │ ├── index.html │ ├── interatividade │ │ ├── von.php │ │ ├── propriedade_computada.php │ │ ├── tarefa.php │ │ └── calculadora.php │ ├── diretivas │ │ ├── for_range.php │ │ ├── for_array.php │ │ ├── tarefa2.php │ │ ├── vshow.php │ │ ├── for_array_object.php │ │ ├── vif.php │ │ ├── velse.php │ │ └── tarefa1.php │ ├── first.php │ ├── bulma.php │ ├── home.php │ ├── welcome_message.php │ ├── bootstrap_ajax_axios.php │ ├── bootstrap_ajax_resource.php │ └── bootstrap.php ├── .htaccess ├── index.html ├── cache │ └── index.html ├── config │ ├── index.html │ ├── hooks.php │ ├── profiler.php │ ├── memcached.php │ ├── routes.php │ ├── doctypes.php │ ├── foreign_chars.php │ ├── migration.php │ └── smileys.php ├── core │ ├── index.html │ └── MY_Controller.php ├── helpers │ ├── index.html │ └── assets_helper.php ├── hooks │ └── index.html ├── language │ ├── index.html │ └── english │ │ └── index.html ├── logs │ └── index.html ├── models │ └── index.html ├── controllers │ ├── index.html │ ├── First.php │ ├── Bulma.php │ ├── Second.php │ ├── Home.php │ ├── Bootstrap.php │ ├── Interatividade.php │ └── Diretivas.php ├── libraries │ └── index.html └── third_party │ └── index.html ├── readme.rst ├── .htaccess ├── .editorconfig ├── .gitignore ├── composer.json ├── LICENSE └── license.txt /assets/js/diretivas/for_range.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | }) -------------------------------------------------------------------------------- /system/fonts/texb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/system/fonts/texb.ttf -------------------------------------------------------------------------------- /user_guide/objects.inv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/objects.inv -------------------------------------------------------------------------------- /user_guide/_static/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/up.png -------------------------------------------------------------------------------- /user_guide/_images/smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_images/smile.gif -------------------------------------------------------------------------------- /user_guide/_static/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/down.png -------------------------------------------------------------------------------- /user_guide/_static/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/file.png -------------------------------------------------------------------------------- /user_guide/_static/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/minus.png -------------------------------------------------------------------------------- /user_guide/_static/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/plus.png -------------------------------------------------------------------------------- /user_guide/_static/ci-icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/ci-icon.ico -------------------------------------------------------------------------------- /user_guide/_static/comment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/comment.png -------------------------------------------------------------------------------- /user_guide/_static/up-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/up-pressed.png -------------------------------------------------------------------------------- /application/views/template/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /user_guide/_images/appflowchart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_images/appflowchart.gif -------------------------------------------------------------------------------- /user_guide/_static/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/ajax-loader.gif -------------------------------------------------------------------------------- /user_guide/_static/down-pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/down-pressed.png -------------------------------------------------------------------------------- /assets/js/diretivas/tarefa1.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | gender: '', 5 | name: '', 6 | } 7 | }) -------------------------------------------------------------------------------- /assets/js/diretivas/velse.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | message: 'Greetings your Majesty!' 5 | } 6 | }) -------------------------------------------------------------------------------- /assets/js/diretivas/vif.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | message: 'Greetings your Majesty!' 5 | } 6 | }) -------------------------------------------------------------------------------- /assets/js/diretivas/vshow.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | message: 'Greetings your Majesty!' 5 | } 6 | }) -------------------------------------------------------------------------------- /assets/js/second/index.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | message: 'Greetings your Majesty!' 5 | } 6 | }) -------------------------------------------------------------------------------- /user_guide/_static/comment-bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/comment-bright.png -------------------------------------------------------------------------------- /user_guide/_static/comment-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/comment-close.png -------------------------------------------------------------------------------- /user_guide/_static/images/ci-icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/images/ci-icon.ico -------------------------------------------------------------------------------- /user_guide/_static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /user_guide/_downloads/ELDocs.tmbundle.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_downloads/ELDocs.tmbundle.zip -------------------------------------------------------------------------------- /user_guide/_static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /user_guide/_static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /system/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /user_guide/_static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcelod/CIVueJS/HEAD/user_guide/_static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /assets/css/starter-template.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 5rem; 3 | } 4 | .starter-template { 5 | padding: 3rem 1.5rem; 6 | text-align: center; 7 | } 8 | -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /readme.rst: -------------------------------------------------------------------------------- 1 | ################### 2 | CodeIgniter + Vue.JS 3 | ################### 4 | 5 | Test project to use Codeigniter and VueJS, more specifically for Vue learning. -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | # === URL Rewrite === # 2 | RewriteEngine on 3 | RewriteCond %{REQUEST_FILENAME} !-f 4 | RewriteCond %{REQUEST_FILENAME} !-d 5 | RewriteRule ^(.*)$ index.php/$1 [L] -------------------------------------------------------------------------------- /application/views/second.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |

{{ message }}

6 | 7 | 8 | 9 |
-------------------------------------------------------------------------------- /application/views/errors/cli/error_404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/fonts/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/hooks/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/models/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/core/compat/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/controllers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/third_party/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/cli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/cubrid/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/ibase/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mysql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mysqli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Javascript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/postgre/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/js/diretivas/for_array.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | stories: [ 5 | "Eu bati meu carro hoje!", 6 | "Ontem, alguém roubou minha mala!", 7 | "Alguém comeu meu chocolate...", 8 | ] 9 | } 10 | }) -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /assets/js/diretivas/tarefa2.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | about_me: { 5 | name : 'Marcelo Diniz', 6 | height: '1,83m', 7 | weigh: '99kg', 8 | eyeColor: 'Castanho claro', 9 | favoriteFood: 'Lazanha' 10 | } 11 | } 12 | }) -------------------------------------------------------------------------------- /user_guide/.buildinfo: -------------------------------------------------------------------------------- 1 | # Sphinx build info version 1 2 | # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. 3 | config: 6f3ba58b1dd576d54e27497e167a9dfb 4 | tags: 645f666f9bcd5a90fca523b33c5a78b7 5 | -------------------------------------------------------------------------------- /application/views/template/header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Teste Codeigniter + Vue.JS 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /application/views/interatividade/von.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 | 8 | 9 |
10 | 11 |
12 | {{ $data }}
13 | 
14 | 15 |
-------------------------------------------------------------------------------- /application/controllers/First.php: -------------------------------------------------------------------------------- 1 | data['js'] = load_js('first_test_vue'); 9 | 10 | $this->data['title'] = 'Teste Codeigniter + Vue'; 11 | 12 | $this->render(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /application/views/diretivas/for_range.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |

Tabuada do 7

6 | 7 | 12 | 13 | 14 |
15 | 16 |
17 | {{ $data }}
18 | 
19 | 20 |
-------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file 2 | root = true 3 | 4 | # Unix-style newlines with a newline ending every file 5 | [*] 6 | end_of_line = lf 7 | insert_final_newline = true 8 | 9 | # Matches multiple files with brace expansion notation 10 | # Set default charset 11 | [*] 12 | charset = utf-8 13 | 14 | # Tab indentation (no size specified) 15 | indent_style = tab 16 | -------------------------------------------------------------------------------- /assets/js/diretivas/for_array_object.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | stories: [ 5 | { 6 | plot : "Eu bati meu carro hoje!", 7 | writer: "Marcelo" 8 | }, 9 | { 10 | plot : "Ontem, alguém roubou minha mala!", 11 | writer: "Thomas" 12 | }, 13 | { 14 | plot : "Alguém comeu meu chocolate...", 15 | writer: "Vanessa" 16 | }, 17 | ] 18 | } 19 | }) -------------------------------------------------------------------------------- /application/views/diretivas/for_array.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |

Vamos ouvir algumas histórias!

6 | 7 | 12 | 13 | 14 |
15 | 16 |
17 | {{ $data }}
18 | 
19 | 20 |
-------------------------------------------------------------------------------- /application/views/diretivas/tarefa2.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |

Este sou eu!!!

6 | 7 | 12 | 13 | 14 |
15 | 16 |
17 | {{ $data }}
18 | 
19 | 20 |
-------------------------------------------------------------------------------- /application/views/diretivas/vshow.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |

You must send a message for help!

6 | 7 | 8 | 9 | 12 | 13 |
14 | 15 |
16 | {{ $data }}
17 | 
18 | 19 |
-------------------------------------------------------------------------------- /application/controllers/Bulma.php: -------------------------------------------------------------------------------- 1 | data['css'] = load_css('bulma.min'); 9 | $this->data['js'] = load_js('test_bulma_vue'); 10 | 11 | // $this->data['menu'] = $this->load->view('template/bulma_menu', [], true); 12 | 13 | $this->render(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /application/views/diretivas/for_array_object.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |

Vamos ouvir algumas histórias!

6 | 7 | 12 | 13 | 14 |
15 | 16 |
17 | {{ $data }}
18 | 
19 | 20 |
-------------------------------------------------------------------------------- /application/controllers/Second.php: -------------------------------------------------------------------------------- 1 | data['title'] = 'Teste Codeigniter + Vue (The Majesty of Vue)'; 11 | } 12 | 13 | public function index() 14 | { 15 | $this->data['js'] = load_js('second/index'); 16 | 17 | parent::index(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /application/config/hooks.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | 5 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | 19 |
20 | {{ $data }}
21 | 
22 | 23 | -------------------------------------------------------------------------------- /application/controllers/Home.php: -------------------------------------------------------------------------------- 1 | data['css'] = load_css([ 9 | 'bootstrap4.min', 10 | 'bootstrap-vue.min', 11 | 'starter-template', 12 | ]); 13 | 14 | $this->data['js'] = load_js([ 15 | 'polyfill.min', 16 | 'bootstrap-vue' 17 | ]); 18 | 19 | $this->data['title'] = 'Teste Codeigniter + Vue + Bootstrap'; 20 | 21 | $this->render(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /assets/js/interatividade/calculadora.js: -------------------------------------------------------------------------------- 1 | new Vue({ 2 | el: '#app', 3 | data: { 4 | a: 0, 5 | b: 0, 6 | c: 0, 7 | operator: '+' 8 | }, 9 | 10 | methods: { 11 | calculate: function() { 12 | switch (this.operator) { 13 | case "+": 14 | this.c = this.a + this.b 15 | break; 16 | 17 | case "-": 18 | this.c = this.a - this.b 19 | break; 20 | 21 | case "*": 22 | this.c = this.a * this.b 23 | break; 24 | 25 | case "/": 26 | this.c = this.a / this.b 27 | break; 28 | } 29 | } 30 | } 31 | }) -------------------------------------------------------------------------------- /application/config/profiler.php: -------------------------------------------------------------------------------- 1 | array( 15 | 'hostname' => '127.0.0.1', 16 | 'port' => '11211', 17 | 'weight' => '1', 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /application/views/diretivas/velse.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 | 10 | 11 | 15 | 16 | 17 | 18 | 21 | 22 |
23 | 24 |
25 | {{ $data }}
26 | 
27 | 28 |
-------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | application/cache/* 4 | !application/cache/index.html 5 | 6 | application/logs/* 7 | !application/logs/index.html 8 | 9 | !application/*/.htaccess 10 | 11 | composer.lock 12 | 13 | user_guide_src/build/* 14 | user_guide_src/cilexer/build/* 15 | user_guide_src/cilexer/dist/* 16 | user_guide_src/cilexer/pycilexer.egg-info/* 17 | /vendor/ 18 | 19 | # IDE Files 20 | #------------------------- 21 | /nbproject/ 22 | .idea/* 23 | 24 | ## Sublime Text cache files 25 | *.tmlanguage.cache 26 | *.tmPreferences.cache 27 | *.stTheme.cache 28 | *.sublime-workspace 29 | *.sublime-project 30 | /tests/tests/ 31 | /tests/results/ 32 | -------------------------------------------------------------------------------- /application/views/interatividade/propriedade_computada.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |
6 | 7 | 8 | 9 | 15 | 16 | 17 | 18 |
19 | 20 |

Resultado: {{ a }} {{ operator }} {{ b }} = {{ c }}

21 | 22 |
23 | 24 |
25 | {{ $data }}
26 | 
27 | 28 |
-------------------------------------------------------------------------------- /application/views/interatividade/tarefa.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |

Votação de Prefeitos

6 | 7 | 15 | 16 | 17 | 18 |

Prefeito com mais votos: {{ mayor.name }}!

19 | 20 | 21 |
22 | 23 |
24 | {{ $data }}
25 | 
26 | 27 |
-------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "The CodeIgniter framework", 3 | "name": "codeigniter/framework", 4 | "type": "project", 5 | "homepage": "https://codeigniter.com", 6 | "license": "MIT", 7 | "support": { 8 | "forum": "http://forum.codeigniter.com/", 9 | "wiki": "https://github.com/bcit-ci/CodeIgniter/wiki", 10 | "slack": "https://codeigniterchat.slack.com", 11 | "source": "https://github.com/bcit-ci/CodeIgniter" 12 | }, 13 | "require": { 14 | "php": ">=5.3.7" 15 | }, 16 | "suggest": { 17 | "paragonie/random_compat": "Provides better randomness in PHP 5.x" 18 | }, 19 | "require-dev": { 20 | "mikey179/vfsStream": "1.1.*", 21 | "phpunit/phpunit": "4.* || 5.*" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /application/core/MY_Controller.php: -------------------------------------------------------------------------------- 1 | data['css'] = ''; 13 | $this->data['js'] = ''; 14 | } 15 | 16 | public function index() 17 | { 18 | $this->render(); 19 | } 20 | 21 | 22 | public function render($view = '') 23 | { 24 | if ($view == '') { 25 | $view = $this->router->fetch_class(); 26 | } 27 | 28 | $this->load->view('template/header', $this->data); 29 | $this->load->view($view, $this->data); 30 | $this->load->view('template/footer', $this->data); 31 | } 32 | 33 | 34 | 35 | } 36 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_php.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | A PHP Error was encountered 4 | 5 | Severity: 6 | Message: 7 | Filename: 8 | Line Number: 9 | 10 | 11 | 12 | Backtrace: 13 | 14 | 15 | File: 16 | Line: 17 | Function: 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_exception.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | An uncaught Exception was encountered 4 | 5 | Type: 6 | Message: 7 | Filename: getFile(), "\n"; ?> 8 | Line Number: getLine(); ?> 9 | 10 | 11 | 12 | Backtrace: 13 | getTrace() as $error): ?> 14 | 15 | File: 16 | Line: 17 | Function: 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /application/views/interatividade/calculadora.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |

Insira os números nos campos e escolha a operação.

6 | 7 |
8 | 9 | 10 | 11 | 17 | 18 | 19 | 20 | 23 | 24 |
25 | 26 |

Resultado: {{ a }} {{ operator }} {{ b }} = {{ c }}

27 | 28 |
29 | 30 |
31 | {{ $data }}
32 | 
33 | 34 |
-------------------------------------------------------------------------------- /application/views/diretivas/tarefa1.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |

4 | 5 |
6 |

Olá, 7 | 8 | Senhor {{ name }} 9 | Senhora {{ name }} 10 | 11 |

12 |
13 | 14 |

Então você não pode decidir. Bem!

15 | 16 |
17 | 18 | 22 |
23 | 24 |
25 | 26 | 27 |
28 | 29 |
30 | 31 |
32 | {{ $data }}
33 | 
34 | 35 |
-------------------------------------------------------------------------------- /application/controllers/Bootstrap.php: -------------------------------------------------------------------------------- 1 | data['css'] = load_css('bootstrap.min'); 11 | $this->data['js'] = load_js([ 12 | 'jquery.min', 13 | 'bootstrap.min' 14 | ]); 15 | } 16 | 17 | public function index() 18 | { 19 | $this->data['js'].= load_js(['test_bootstrap_vue']); 20 | 21 | $this->render(); 22 | } 23 | 24 | public function ajax_resource() 25 | { 26 | $this->data['js'].= load_js([ 27 | 'vue-resource.min', 28 | 'test_bootstrap_ajax_resource_vue', 29 | ]); 30 | 31 | $this->render('bootstrap_ajax_resource'); 32 | } 33 | 34 | public function ajax_axios() 35 | { 36 | $this->data['js'] = load_js([ 37 | 'axios.min', 38 | 'test_bootstrap_ajax_axios_vue', 39 | ]); 40 | 41 | $this->render('bootstrap_ajax_axios'); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /application/views/errors/html/error_php.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | 7 |

A PHP Error was encountered

8 | 9 |

Severity:

10 |

Message:

11 |

Filename:

12 |

Line Number:

13 | 14 | 15 | 16 |

Backtrace:

17 | 18 | 19 | 20 | 21 |

22 | File:
23 | Line:
24 | Function: 25 |

26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
-------------------------------------------------------------------------------- /application/views/errors/html/error_exception.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | 7 |

An uncaught Exception was encountered

8 | 9 |

Type:

10 |

Message:

11 |

Filename: getFile(); ?>

12 |

Line Number: getLine(); ?>

13 | 14 | 15 | 16 |

Backtrace:

17 | getTrace() as $error): ?> 18 | 19 | 20 | 21 |

22 | File:
23 | Line:
24 | Function: 25 |

26 | 27 | 28 | 29 | 30 | 31 | 32 |
-------------------------------------------------------------------------------- /assets/js/first_test_vue.js: -------------------------------------------------------------------------------- 1 | var vm = new Vue({ 2 | el: '#main', 3 | data: { 4 | message: 'Olá Vue!', 5 | rawHtml: '

Teste com html

', 6 | user: { 7 | id: 1, 8 | name: 'Marcelo' 9 | }, 10 | linguagens: [ 11 | { name: 'JavaScript' }, 12 | { name: 'PHP' }, 13 | { name: 'CSS' }, 14 | { name: 'Python' }, 15 | { name: 'C++' }, 16 | ], 17 | image: "https://cdn.pixabay.com/photo/2016/03/05/19/10/airplane-1238277_960_720.jpg", 18 | altImage: "test vue" 19 | 20 | }, 21 | computed : { 22 | // uma função "getter" computada (computed getter) 23 | reversedMessage: function() { 24 | // `this` aponta para a instância Vue da variável `vm` 25 | return this.message.split('').reverse().join('') 26 | }, 27 | now: function() { 28 | return Date.now() 29 | } 30 | }, 31 | methods : { 32 | mReversedMessage: function() { 33 | return this.message.split('').reverse().join('') 34 | }, 35 | mNow: function() { 36 | return Date.now() 37 | } 38 | } 39 | }) 40 | 41 | 42 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Marcelo Diniz 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /application/views/first.php: -------------------------------------------------------------------------------- 1 |
2 |

3 | 4 |

Mensagem original: {{ message }}

5 | 6 |

Mensagem ao contrário: {{ reversedMessage }}

7 | 8 |

Mensagem ao contrário por método: {{ mReversedMessage() }}

9 | 10 |

Data: {{ now }}

11 |

Data por método: {{ mNow() }}

12 | 13 |

Diretiva HTML

14 |
15 | 16 |

Diretiva if-else

17 |
18 | {{ user.id }} - {{ user.name }} 19 |
20 |
21 | Nenhum usário 22 |
23 | 24 |

Diretiva for

25 | 30 | 31 |

Diretiva model

32 | 33 | 34 |

Diretiva bind

35 |

Para se usar a diretiva v-bind pode escrever o "v-bind:[atributo]" ou ":[atributo]"

36 | 37 | 38 |

Outros exemplos

39 | 40 | 44 | 45 |
-------------------------------------------------------------------------------- /assets/js/interatividade/tarefa.js: -------------------------------------------------------------------------------- 1 | var candidates = [ 2 | { 3 | name:'Prefeito Ladrao PL', 4 | votes: 0 5 | }, 6 | 7 | { 8 | name:'Prefeito Bandido PB', 9 | votes: 0 10 | }, 11 | 12 | { 13 | name:'Prefeito Safado PS', 14 | votes: 0 15 | }, 16 | 17 | { 18 | name:'Prefeito Mentiroso PM', 19 | votes: 0 20 | }, 21 | ]; 22 | 23 | 24 | 25 | new Vue({ 26 | el: '#app', 27 | data: { 28 | candidates: candidates 29 | }, 30 | 31 | computed: { 32 | mayor: function () { 33 | //first we sort the array descending 34 | var candidatesSorted = this.candidates.sort(function (a, b) { 35 | return b.votes - a.votes; 36 | }); 37 | //the mayor will be the first item 38 | return candidatesSorted[0]; 39 | } 40 | }, 41 | 42 | methods: { 43 | //this method runs when the key 'delete' is pressed 44 | clear: function () { 45 | //Turn votes of all candidate to 0 using map() function. 46 | this.candidates = this.candidates.map(function (candidate) { 47 | candidate.votes = 0; 48 | return candidate; 49 | }) 50 | } 51 | } 52 | }) -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 - 2017, British Columbia Institute of Technology 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /application/controllers/Interatividade.php: -------------------------------------------------------------------------------- 1 | data['title'] = 'Teste Codeigniter + Vue (The Majesty of Vue)'; 11 | 12 | $this->data['css'] = load_css([ 13 | 'bootstrap.min', 14 | ]); 15 | } 16 | 17 | public function index() 18 | { 19 | redirect('interatividade/von','refresh'); 20 | } 21 | 22 | public function von() 23 | { 24 | $this->data['js'] = load_js('interatividade/von'); 25 | 26 | $this->render('interatividade/von'); 27 | } 28 | 29 | public function calculadora() 30 | { 31 | $this->data['js'] = load_js('interatividade/calculadora'); 32 | 33 | $this->render('interatividade/calculadora'); 34 | } 35 | 36 | public function propriedadeComputada() 37 | { 38 | $this->data['js'] = load_js('interatividade/propriedade_computada'); 39 | 40 | $this->render('interatividade/propriedade_computada'); 41 | } 42 | 43 | public function tarefa() 44 | { 45 | $this->data['js'] = load_js('interatividade/tarefa'); 46 | 47 | $this->render('interatividade/tarefa'); 48 | } 49 | 50 | } -------------------------------------------------------------------------------- /application/helpers/assets_helper.php: -------------------------------------------------------------------------------- 1 | ' . "\n"; 20 | } 21 | return $return; 22 | } 23 | } 24 | 25 | /* 26 | * Method to load javascript files into your project. 27 | * @param array $js 28 | */ 29 | if ( ! function_exists('load_js')) 30 | { 31 | function load_js($js) 32 | { 33 | if ( ! is_array($js)) 34 | { 35 | $js = (array) $js; 36 | } 37 | 38 | $return = ''; 39 | foreach ($js as $j) 40 | { 41 | $filemtimeJS = filemtime('assets/js/' . $j . '.js'); 42 | $return .= '' . "\n"; 43 | } 44 | return $return; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /assets/js/test_bootstrap_ajax_axios_vue.js: -------------------------------------------------------------------------------- 1 | 2 | Vue.component('navbar', { 3 | template: "#nav", 4 | data() { 5 | return { 6 | topNav: [{ label: 'Home' }, { label: 'About' }, { label: 'Contact' }] 7 | } 8 | }, 9 | 10 | methods: { 11 | getLink(index) { 12 | alert(this.topNav[index].label); 13 | } 14 | } 15 | }); 16 | 17 | Vue.component('menu-bar', { 18 | template: "#menu", 19 | props: { 20 | items: { 21 | type: Array, 22 | required: true 23 | } 24 | }, 25 | 26 | methods: { 27 | emitClick(index) { 28 | this.$emit('emit-click', index); 29 | } 30 | } 31 | }); 32 | 33 | Vue.component('panel', { 34 | template: '#panel' 35 | }); 36 | 37 | var my_mixin = { 38 | methods: { 39 | getUsers() { 40 | 41 | this.loader.users = true; 42 | 43 | var url = 'http://jsonplaceholder.typicode.com/users'; 44 | 45 | var vm = this; 46 | 47 | axios.get(url) 48 | .then(function(r) { 49 | vm.users = r.data; 50 | vm.loader.users = false; 51 | }); 52 | } 53 | } 54 | } 55 | 56 | 57 | var vm = new Vue({ 58 | el: '#main', 59 | 60 | mixins: [my_mixin], 61 | 62 | data: { 63 | title: 'Teste Codeigniter + Vue + Ajax (axios)', 64 | users: [], 65 | loader: { 66 | users: false, 67 | }, 68 | response: { 69 | msg: 'Página não encontrada', 70 | status: '', 71 | } 72 | }, 73 | 74 | }); 75 | 76 | -------------------------------------------------------------------------------- /application/views/errors/html/error_general.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Error 8 | 57 | 58 | 59 |
60 |

61 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /application/views/errors/html/error_db.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Database Error 8 | 57 | 58 | 59 |
60 |

61 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /application/views/errors/html/error_404.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 404 Page Not Found 8 | 57 | 58 | 59 |
60 |

61 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /assets/js/test_bootstrap_ajax_resource_vue.js: -------------------------------------------------------------------------------- 1 | 2 | Vue.component('navbar', { 3 | template: "#nav", 4 | data() { 5 | return { 6 | topNav: [{ label: 'Home' }, { label: 'About' }, { label: 'Contact' }] 7 | } 8 | }, 9 | 10 | methods: { 11 | getLink(index) { 12 | alert(this.topNav[index].label); 13 | } 14 | } 15 | }); 16 | 17 | Vue.component('menu-bar', { 18 | template: "#menu", 19 | props: { 20 | items: { 21 | type: Array, 22 | required: true 23 | } 24 | }, 25 | 26 | methods: { 27 | emitClick(index) { 28 | this.$emit('emit-click', index); 29 | } 30 | } 31 | }); 32 | 33 | Vue.component('panel', { 34 | template: '#panel' 35 | }); 36 | 37 | var my_mixin = { 38 | methods: { 39 | getUsers() { 40 | 41 | this.loader.users = true; 42 | 43 | var url = 'http://jsonplaceholder.typicode.com/users'; 44 | 45 | this.$http.get(url) 46 | .then(function(r) { 47 | this.users = r.body; 48 | }, function(error) { 49 | this.response.status = 'error'; 50 | }) 51 | .finally(function() { 52 | this.loader.users = false; 53 | }); 54 | } 55 | } 56 | } 57 | 58 | 59 | var vm = new Vue({ 60 | el: '#main', 61 | 62 | mixins: [my_mixin], 63 | 64 | data: { 65 | title: 'Teste Codeigniter + Vue + Ajax (vue-resource)', 66 | users: [], 67 | loader: { 68 | users: false, 69 | }, 70 | response: { 71 | msg: 'Página não encontrada', 72 | status: '', 73 | } 74 | }, 75 | 76 | }); 77 | 78 | -------------------------------------------------------------------------------- /application/views/bulma.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |

6 | {{ title }} 7 |

8 |

9 | {{ subtitle }} 10 |

11 |
12 |
13 |
14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 32 | 33 |
34 | 35 |

Computed & Watch

36 | 37 |

{{ fullName }}

38 | 39 |
40 | 41 | 42 | 47 | 48 | -------------------------------------------------------------------------------- /application/controllers/Diretivas.php: -------------------------------------------------------------------------------- 1 | data['title'] = 'Teste Codeigniter + Vue (The Majesty of Vue)'; 11 | 12 | $this->data['css'] = load_css([ 13 | 'bootstrap.min', 14 | ]); 15 | } 16 | 17 | public function index() 18 | { 19 | redirect('diretivas/vshow','refresh'); 20 | } 21 | 22 | public function vshow() 23 | { 24 | $this->data['js'] = load_js('diretivas/vshow'); 25 | 26 | $this->render('diretivas/vshow'); 27 | } 28 | 29 | public function vif() 30 | { 31 | $this->data['js'] = load_js('diretivas/vif'); 32 | 33 | $this->render('diretivas/vif'); 34 | } 35 | 36 | public function velse() 37 | { 38 | $this->data['js'] = load_js('diretivas/velse'); 39 | 40 | $this->render('diretivas/velse'); 41 | } 42 | 43 | public function tarefa1() 44 | { 45 | $this->data['js'] = load_js('diretivas/tarefa1'); 46 | 47 | $this->render('diretivas/tarefa1'); 48 | } 49 | 50 | 51 | public function forRange() 52 | { 53 | $this->data['js'] = load_js('diretivas/for_range'); 54 | 55 | $this->render('diretivas/for_range'); 56 | } 57 | 58 | public function forArray() 59 | { 60 | $this->data['js'] = load_js('diretivas/for_array'); 61 | 62 | $this->render('diretivas/for_array'); 63 | } 64 | 65 | public function forArrayObject() 66 | { 67 | $this->data['js'] = load_js('diretivas/for_array_object'); 68 | 69 | $this->render('diretivas/for_array_object'); 70 | } 71 | 72 | public function tarefa2() 73 | { 74 | $this->data['js'] = load_js('diretivas/tarefa2'); 75 | 76 | $this->render('diretivas/tarefa2'); 77 | } 78 | 79 | } -------------------------------------------------------------------------------- /user_guide/_static/js/oldtheme.js: -------------------------------------------------------------------------------- 1 | $( document ).ready(function() { 2 | // Shift nav in mobile when clicking the menu. 3 | $(document).on('click', "[data-toggle='wy-nav-top']", function() { 4 | $("[data-toggle='wy-nav-shift']").toggleClass("shift"); 5 | $("[data-toggle='rst-versions']").toggleClass("shift"); 6 | }); 7 | // Close menu when you click a link. 8 | $(document).on('click', ".wy-menu-vertical .current ul li a", function() { 9 | $("[data-toggle='wy-nav-shift']").removeClass("shift"); 10 | $("[data-toggle='rst-versions']").toggleClass("shift"); 11 | }); 12 | $(document).on('click', "[data-toggle='rst-current-version']", function() { 13 | $("[data-toggle='rst-versions']").toggleClass("shift-up"); 14 | }); 15 | // Make tables responsive 16 | $("table.docutils:not(.field-list)").wrap("
"); 17 | }); 18 | 19 | window.SphinxRtdTheme = (function (jquery) { 20 | var stickyNav = (function () { 21 | var navBar, 22 | win, 23 | stickyNavCssClass = 'stickynav', 24 | applyStickNav = function () { 25 | if (navBar.height() <= win.height()) { 26 | navBar.addClass(stickyNavCssClass); 27 | } else { 28 | navBar.removeClass(stickyNavCssClass); 29 | } 30 | }, 31 | enable = function () { 32 | applyStickNav(); 33 | win.on('resize', applyStickNav); 34 | }, 35 | init = function () { 36 | navBar = jquery('nav.wy-nav-side:first'); 37 | win = jquery(window); 38 | }; 39 | jquery(init); 40 | return { 41 | enable : enable 42 | }; 43 | }()); 44 | return { 45 | StickyNav : stickyNav 46 | }; 47 | }($)); 48 | -------------------------------------------------------------------------------- /assets/js/test_bootstrap_vue.js: -------------------------------------------------------------------------------- 1 | 2 | Vue.component('navbar', { 3 | template: "#nav", 4 | data() { 5 | return { 6 | topNav: [{ label: 'Home' }, { label: 'About' }, { label: 'Contact' }] 7 | } 8 | }, 9 | 10 | methods: { 11 | getLink(index) { 12 | alert(this.topNav[index].label); 13 | } 14 | } 15 | }); 16 | 17 | Vue.component('menu-bar', { 18 | template: "#menu", 19 | props: { 20 | items: { 21 | type: Array, 22 | required: true 23 | } 24 | }, 25 | 26 | methods: { 27 | emitClick(index) { 28 | this.$emit('emit-click', index); 29 | } 30 | } 31 | }); 32 | 33 | 34 | 35 | Vue.component('input-form', { 36 | template: '#form', 37 | 38 | data() { 39 | return { 40 | title: '', 41 | } 42 | }, 43 | 44 | methods: { 45 | submit() { 46 | this.$eventHub.$emit('submit', this.title); 47 | } 48 | } 49 | }); 50 | 51 | Vue.component('my-list', { 52 | template: '#list', 53 | 54 | created() { 55 | 56 | var vm = this; 57 | 58 | this.$eventHub.$on('submit', function(title) { 59 | 60 | if (title) { 61 | vm.list.push({ title: title}); 62 | } 63 | 64 | }); 65 | }, 66 | 67 | data() { 68 | return { 69 | list: [ 70 | { title: 'Buscar o Thomas' }, 71 | ] 72 | } 73 | } 74 | }); 75 | 76 | Vue.component('panel', { 77 | template: '#panel' 78 | }); 79 | 80 | 81 | // var eventBus = new Vue(); 82 | Vue.prototype.$eventHub = new Vue(); 83 | 84 | var my_mixin = { 85 | methods: { 86 | getUsers() { 87 | console.log('getUsers a'); 88 | } 89 | } 90 | } 91 | 92 | 93 | var vm = new Vue({ 94 | el: '#main', 95 | 96 | mixins: [my_mixin], 97 | 98 | data: { 99 | title: 'Teste Codeigniter + Vue', 100 | }, 101 | 102 | }); 103 | 104 | 105 | -------------------------------------------------------------------------------- /system/language/english/number_lang.php: -------------------------------------------------------------------------------- 1 | 2 | Navbar 3 | 6 | 7 | 33 | 34 | 35 |
36 | 37 |
38 |

39 |

Use this document as a way to quickly start any new project.
All you get is this text and a mostly barebones HTML document.

40 |
41 | 42 |
-------------------------------------------------------------------------------- /application/config/routes.php: -------------------------------------------------------------------------------- 1 | my_controller/index 50 | | my-controller/my-method -> my_controller/my_method 51 | */ 52 | $route['default_controller'] = 'home'; 53 | $route['404_override'] = ''; 54 | $route['translate_uri_dashes'] = FALSE; 55 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/sqlite3_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/sqlite_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/pdo_forge.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Welcome to CodeIgniter 8 | 9 | 67 | 68 | 69 | 70 |
71 |

Welcome to CodeIgniter!

72 | 73 |
74 |

The page you are looking at is being generated dynamically by CodeIgniter.

75 | 76 |

If you would like to edit this page you'll find it located at:

77 | application/views/welcome_message.php 78 | 79 |

The corresponding controller for this page is found at:

80 | application/controllers/Welcome.php 81 | 82 |

If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.

83 |
84 | 85 | 86 |
87 | 88 | 89 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/pdo_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/odbc_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /application/config/doctypes.php: -------------------------------------------------------------------------------- 1 | '', 6 | 'xhtml1-strict' => '', 7 | 'xhtml1-trans' => '', 8 | 'xhtml1-frame' => '', 9 | 'xhtml-basic11' => '', 10 | 'html5' => '', 11 | 'html4-strict' => '', 12 | 'html4-trans' => '', 13 | 'html4-frame' => '', 14 | 'mathml1' => '', 15 | 'mathml2' => '', 16 | 'svg10' => '', 17 | 'svg11' => '', 18 | 'svg11-basic' => '', 19 | 'svg11-tiny' => '', 20 | 'xhtml-math-svg-xh' => '', 21 | 'xhtml-math-svg-sh' => '', 22 | 'xhtml-rdfa-1' => '', 23 | 'xhtml-rdfa-2' => '' 24 | ); 25 | -------------------------------------------------------------------------------- /system/libraries/Session/SessionHandlerInterface.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

6 | 7 |
8 | 13 | 14 | 15 |
16 |

Usuários

17 |
18 | 36 |
37 | 38 |
39 | 40 | 41 | 42 | 43 | 70 | 71 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /application/views/bootstrap_ajax_resource.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 5 |

6 | 7 |
8 | 13 | 14 | 15 |
16 |

Usuários

17 |
18 | 36 |
37 | 38 |
39 | 40 |
41 | 42 | 43 | 70 | 71 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/oci8_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/pdo_odbc_forge.php: -------------------------------------------------------------------------------- 1 | db->hostname, $this->db->username, $this->db->password)) 58 | { 59 | $res = ibase_backup($service, $this->db->database, $filename.'.fbk'); 60 | 61 | // Close the service connection 62 | ibase_service_detach($service); 63 | return $res; 64 | } 65 | 66 | return FALSE; 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /system/language/english/unit_test_lang.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/sqlsrv_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/database/drivers/postgre/postgre_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /user_guide/_static/css/citheme.css: -------------------------------------------------------------------------------- 1 | @import 'theme.css'; 2 | 3 | .highlighted { 4 | padding: 0px !important; 5 | font-weight: inherit !important; 6 | background-color: #f1d40f !important; 7 | } 8 | 9 | #nav { 10 | background-color: #494949; 11 | margin: 0; 12 | padding: 0; 13 | display: none; 14 | } 15 | 16 | #nav2 { 17 | background: url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAARgAA/+4ADkFkb2JlAGTAAAAAAf/bAIQABAMDAwMDBAMDBAYEAwQGBwUEBAUHCAYGBwYGCAoICQkJCQgKCgwMDAwMCgwMDQ0MDBERERERFBQUFBQUFBQUFAEEBQUIBwgPCgoPFA4ODhQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgAMgAzAwERAAIRAQMRAf/EAFkAAQADAQAAAAAAAAAAAAAAAAABBQcIAQEAAAAAAAAAAAAAAAAAAAAAEAABAgYDAAAAAAAAAAAAAAAAAVERAtMEFJRVBxgRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AMRAAAAAAAA7a87dZcCu3e1wHnbrLgV272uA87dZcCu3e1wHnbrLgV272uA87dZcCu3e1wHnbrLgV272uA87dZcCu3e1wN/wJGAYEjAMCRgGBIwDAkYBgSMAwJGAsoIwCCMAgjAIIwCCMAgjAIIwEgAAAAAAAAAAAAAAAAAAAAAAAH//2Q==) repeat-x scroll left top transparent; 18 | margin: 0; 19 | padding: 0 310px 0 0; 20 | text-align: right; 21 | display: none; 22 | } 23 | 24 | #nav_inner { 25 | background-color: transparent; 26 | font-family: Lucida Grande,Verdana,Geneva,sans-serif; 27 | font-size: 11px; 28 | margin: 0; 29 | padding: 8px 12px 0 20px; 30 | } 31 | 32 | div#pulldown-menu { 33 | -moz-column-count: 5; 34 | -moz-column-gap: 20px; 35 | -webkit-column-count: 5; 36 | -webkit-column-gap: 20px; 37 | column-count: 5; 38 | column-gap: 20px; 39 | -webkit-column-rule: 1px groove #b8b8b8; 40 | -moz-column-rule: 1px groove #b8b8b8; 41 | column-rule: 1px groove #b8b8b8; 42 | } 43 | 44 | #pulldown-menu > ul { 45 | padding-top: 10px; 46 | padding-bottom: 10px; 47 | -webkit-column-break-inside: avoid; /*Chrome, Safari*/ 48 | display: table; /*Firefox*/ 49 | break-inside: avoid; /*IE 10+ theoretically*/ 50 | } 51 | 52 | #pulldown-menu ul li.toctree-l2 { 53 | font-size: 0.82em; 54 | margin-left: 20px; 55 | list-style-image: url(data:image/gif;base64,R0lGODlhCwAJALMJAO7u7uTk5PLy8unp6fb29t7e3vj4+Li4uIWFheTk5AAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAkALAAAAAALAAkAAAQoMJ1JqTQ4Z3SI98jHCWSJkByArCyiHkMsIzEX3DeCc0Xv+4hEa5iIAAA7); 56 | } 57 | 58 | #pulldown-menu ul li.toctree-l1 a { 59 | color: #ffffff; 60 | text-decoration: none; 61 | font-size: 12px; 62 | font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif; 63 | font-weight: 700; 64 | } 65 | 66 | #pulldown-menu ul li.toctree-l2 a { 67 | text-decoration: none; 68 | font-size: 11px; 69 | line-height: 1.4em; 70 | font-weight: 300; 71 | font-family: Lucida Grande,Verdana,Geneva,sans-serif; 72 | color: #aaaaaa; 73 | } 74 | 75 | /*hide pulldown menu on mobile devices*/ 76 | @media (max-width: 768px) { /*tablet size defined by theme*/ 77 | #closeMe { 78 | display: none; 79 | } 80 | 81 | #pulldown { 82 | display: none; 83 | } 84 | 85 | #openToc { 86 | display: none; 87 | } 88 | } -------------------------------------------------------------------------------- /system/core/Model.php: -------------------------------------------------------------------------------- 1 | $key; 78 | } 79 | 80 | } 81 | -------------------------------------------------------------------------------- /system/helpers/language_helper.php: -------------------------------------------------------------------------------- 1 | lang->line($line); 67 | 68 | if ($for !== '') 69 | { 70 | $line = ''; 71 | } 72 | 73 | return $line; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/odbc_forge.php: -------------------------------------------------------------------------------- 1 | db->data_cache['db_names'])) 57 | { 58 | return $this->db->data_cache['db_names']; 59 | } 60 | 61 | return $this->db->data_cache['db_names'] = cubrid_list_dbs($this->db->conn_id); 62 | } 63 | 64 | // -------------------------------------------------------------------- 65 | 66 | /** 67 | * CUBRID Export 68 | * 69 | * @param array Preferences 70 | * @return mixed 71 | */ 72 | protected function _backup($params = array()) 73 | { 74 | // No SQL based support in CUBRID as of version 8.4.0. Database or 75 | // table backup can be performed using CUBRID Manager 76 | // database administration tool. 77 | return $this->db->display_error('db_unsupported_feature'); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /system/language/english/profiler_lang.php: -------------------------------------------------------------------------------- 1 | 'ae', 14 | '/ö|œ/' => 'oe', 15 | '/ü/' => 'ue', 16 | '/Ä/' => 'Ae', 17 | '/Ü/' => 'Ue', 18 | '/Ö/' => 'Oe', 19 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', 20 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', 21 | '/Б/' => 'B', 22 | '/б/' => 'b', 23 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', 24 | '/ç|ć|ĉ|ċ|č/' => 'c', 25 | '/Д/' => 'D', 26 | '/д/' => 'd', 27 | '/Ð|Ď|Đ|Δ/' => 'Dj', 28 | '/ð|ď|đ|δ/' => 'dj', 29 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E', 30 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e', 31 | '/Ф/' => 'F', 32 | '/ф/' => 'f', 33 | '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G', 34 | '/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g', 35 | '/Ĥ|Ħ/' => 'H', 36 | '/ĥ|ħ/' => 'h', 37 | '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I', 38 | '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i', 39 | '/Ĵ/' => 'J', 40 | '/ĵ/' => 'j', 41 | '/Ķ|Κ|К/' => 'K', 42 | '/ķ|κ|к/' => 'k', 43 | '/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L', 44 | '/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l', 45 | '/М/' => 'M', 46 | '/м/' => 'm', 47 | '/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N', 48 | '/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n', 49 | '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O', 50 | '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o', 51 | '/П/' => 'P', 52 | '/п/' => 'p', 53 | '/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R', 54 | '/ŕ|ŗ|ř|ρ|р/' => 'r', 55 | '/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S', 56 | '/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's', 57 | '/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T', 58 | '/ț|ţ|ť|ŧ|т/' => 't', 59 | '/Þ|þ/' => 'th', 60 | '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U', 61 | '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u', 62 | '/Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y', 63 | '/ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y', 64 | '/В/' => 'V', 65 | '/в/' => 'v', 66 | '/Ŵ/' => 'W', 67 | '/ŵ/' => 'w', 68 | '/Ź|Ż|Ž|Ζ|З/' => 'Z', 69 | '/ź|ż|ž|ζ|з/' => 'z', 70 | '/Æ|Ǽ/' => 'AE', 71 | '/ß/' => 'ss', 72 | '/IJ/' => 'IJ', 73 | '/ij/' => 'ij', 74 | '/Œ/' => 'OE', 75 | '/ƒ/' => 'f', 76 | '/ξ/' => 'ks', 77 | '/π/' => 'p', 78 | '/β/' => 'v', 79 | '/μ/' => 'm', 80 | '/ψ/' => 'ps', 81 | '/Ё/' => 'Yo', 82 | '/ё/' => 'yo', 83 | '/Є/' => 'Ye', 84 | '/є/' => 'ye', 85 | '/Ї/' => 'Yi', 86 | '/Ж/' => 'Zh', 87 | '/ж/' => 'zh', 88 | '/Х/' => 'Kh', 89 | '/х/' => 'kh', 90 | '/Ц/' => 'Ts', 91 | '/ц/' => 'ts', 92 | '/Ч/' => 'Ch', 93 | '/ч/' => 'ch', 94 | '/Ш/' => 'Sh', 95 | '/ш/' => 'sh', 96 | '/Щ/' => 'Shch', 97 | '/щ/' => 'shch', 98 | '/Ъ|ъ|Ь|ь/' => '', 99 | '/Ю/' => 'Yu', 100 | '/ю/' => 'yu', 101 | '/Я/' => 'Ya', 102 | '/я/' => 'ya' 103 | ); 104 | -------------------------------------------------------------------------------- /system/helpers/email_helper.php: -------------------------------------------------------------------------------- 1 | length) { 86 | return str.substring(0, length) + ' ...'; 87 | } 88 | 89 | return str; 90 | } 91 | }, 92 | 93 | // hooks vue.js 94 | 95 | beforeCreate(){ 96 | console.log('beforeCreate'); 97 | console.log('titulo', this.title); 98 | console.log('el', this.$el); 99 | }, 100 | 101 | created(){ 102 | console.log('created'); 103 | console.log('titulo', this.title); 104 | console.log('el', this.$el); 105 | }, 106 | 107 | beforeMount(){ 108 | console.log('beforeMount'); 109 | console.log('titulo', this.title); 110 | console.log('el', this.$el); 111 | }, 112 | 113 | mouted(){ 114 | console.log('mouted'); 115 | console.log('titulo', this.title); 116 | console.log('el', this.$el); 117 | }, 118 | 119 | beforeUpdate(){ 120 | console.log('beforeUpdate'); 121 | console.log('titulo', this.title); 122 | console.log('el', this.$el); 123 | }, 124 | 125 | updated(){ 126 | console.log('updated'); 127 | console.log('titulo', this.title); 128 | console.log('el', this.$el); 129 | } 130 | 131 | }) 132 | 133 | 134 | -------------------------------------------------------------------------------- /system/helpers/path_helper.php: -------------------------------------------------------------------------------- 1 | ', '"', "'", '-'), 76 | array('&', '<', '>', '"', ''', '-'), 77 | $str 78 | ); 79 | 80 | // Decode the temp markers back to entities 81 | $str = preg_replace('/'.$temp.'(\d+);/', '&#\\1;', $str); 82 | 83 | if ($protect_all === TRUE) 84 | { 85 | return preg_replace('/'.$temp.'(\w+);/', '&\\1;', $str); 86 | } 87 | 88 | return $str; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /system/core/Controller.php: -------------------------------------------------------------------------------- 1 | $class) 74 | { 75 | $this->$var =& load_class($class); 76 | } 77 | 78 | $this->load =& load_class('Loader', 'core'); 79 | $this->load->initialize(); 80 | log_message('info', 'Controller Class Initialized'); 81 | } 82 | 83 | // -------------------------------------------------------------------- 84 | 85 | /** 86 | * Get the CI singleton 87 | * 88 | * @static 89 | * @return object 90 | */ 91 | public static function &get_instance() 92 | { 93 | return self::$instance; 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /user_guide/_static/css/badge_only.css: -------------------------------------------------------------------------------- 1 | .fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/fontawesome_webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:0.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}img{width:100%;height:auto}} 2 | /*# sourceMappingURL=badge_only.css.map */ 3 | -------------------------------------------------------------------------------- /application/config/migration.php: -------------------------------------------------------------------------------- 1 | migration->current() this is the version that schema will 69 | | be upgraded / downgraded to. 70 | | 71 | */ 72 | $config['migration_version'] = 0; 73 | 74 | /* 75 | |-------------------------------------------------------------------------- 76 | | Migrations Path 77 | |-------------------------------------------------------------------------- 78 | | 79 | | Path to your migrations folder. 80 | | Typically, it will be within your application path. 81 | | Also, writing permission is required within the migrations path. 82 | | 83 | */ 84 | $config['migration_path'] = APPPATH.'migrations/'; 85 | -------------------------------------------------------------------------------- /system/language/english/calendar_lang.php: -------------------------------------------------------------------------------- 1 | lang->load('number'); 65 | 66 | if ($num >= 1000000000000) 67 | { 68 | $num = round($num / 1099511627776, $precision); 69 | $unit = $CI->lang->line('terabyte_abbr'); 70 | } 71 | elseif ($num >= 1000000000) 72 | { 73 | $num = round($num / 1073741824, $precision); 74 | $unit = $CI->lang->line('gigabyte_abbr'); 75 | } 76 | elseif ($num >= 1000000) 77 | { 78 | $num = round($num / 1048576, $precision); 79 | $unit = $CI->lang->line('megabyte_abbr'); 80 | } 81 | elseif ($num >= 1000) 82 | { 83 | $num = round($num / 1024, $precision); 84 | $unit = $CI->lang->line('kilobyte_abbr'); 85 | } 86 | else 87 | { 88 | $unit = $CI->lang->line('bytes'); 89 | return number_format($num).' '.$unit; 90 | } 91 | 92 | return number_format($num, $precision).' '.$unit; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /application/config/smileys.php: -------------------------------------------------------------------------------- 1 | array('grin.gif', '19', '19', 'grin'), 21 | ':lol:' => array('lol.gif', '19', '19', 'LOL'), 22 | ':cheese:' => array('cheese.gif', '19', '19', 'cheese'), 23 | ':)' => array('smile.gif', '19', '19', 'smile'), 24 | ';-)' => array('wink.gif', '19', '19', 'wink'), 25 | ';)' => array('wink.gif', '19', '19', 'wink'), 26 | ':smirk:' => array('smirk.gif', '19', '19', 'smirk'), 27 | ':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'), 28 | ':-S' => array('confused.gif', '19', '19', 'confused'), 29 | ':wow:' => array('surprise.gif', '19', '19', 'surprised'), 30 | ':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'), 31 | ':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'), 32 | '%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'), 33 | ';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'), 34 | ':P' => array('raspberry.gif', '19', '19', 'raspberry'), 35 | ':blank:' => array('blank.gif', '19', '19', 'blank stare'), 36 | ':long:' => array('longface.gif', '19', '19', 'long face'), 37 | ':ohh:' => array('ohh.gif', '19', '19', 'ohh'), 38 | ':grrr:' => array('grrr.gif', '19', '19', 'grrr'), 39 | ':gulp:' => array('gulp.gif', '19', '19', 'gulp'), 40 | '8-/' => array('ohoh.gif', '19', '19', 'oh oh'), 41 | ':down:' => array('downer.gif', '19', '19', 'downer'), 42 | ':red:' => array('embarrassed.gif', '19', '19', 'red face'), 43 | ':sick:' => array('sick.gif', '19', '19', 'sick'), 44 | ':shut:' => array('shuteye.gif', '19', '19', 'shut eye'), 45 | ':-/' => array('hmm.gif', '19', '19', 'hmmm'), 46 | '>:(' => array('mad.gif', '19', '19', 'mad'), 47 | ':mad:' => array('mad.gif', '19', '19', 'mad'), 48 | '>:-(' => array('angry.gif', '19', '19', 'angry'), 49 | ':angry:' => array('angry.gif', '19', '19', 'angry'), 50 | ':zip:' => array('zip.gif', '19', '19', 'zipper'), 51 | ':kiss:' => array('kiss.gif', '19', '19', 'kiss'), 52 | ':ahhh:' => array('shock.gif', '19', '19', 'shock'), 53 | ':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'), 54 | ':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'), 55 | ':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'), 56 | ':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'), 57 | ':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'), 58 | ':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'), 59 | ':vampire:' => array('vampire.gif', '19', '19', 'vampire'), 60 | ':snake:' => array('snake.gif', '19', '19', 'snake'), 61 | ':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'), 62 | ':question:' => array('question.gif', '19', '19', 'question') 63 | 64 | ); 65 | -------------------------------------------------------------------------------- /system/language/english/upload_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

6 | 7 |
8 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 |

Panel title

23 |
24 | 31 |
32 | 33 |
34 | 35 | 36 | 37 | 38 | 65 | 66 | 90 | 91 | 92 | 103 | 104 | 105 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /system/helpers/typography_helper.php: -------------------------------------------------------------------------------- 1 | load->library('typography'); 64 | return $CI->typography->nl2br_except_pre($str); 65 | } 66 | } 67 | 68 | // ------------------------------------------------------------------------ 69 | 70 | if ( ! function_exists('auto_typography')) 71 | { 72 | /** 73 | * Auto Typography Wrapper Function 74 | * 75 | * @param string $str 76 | * @param bool $reduce_linebreaks = FALSE whether to reduce multiple instances of double newlines to two 77 | * @return string 78 | */ 79 | function auto_typography($str, $reduce_linebreaks = FALSE) 80 | { 81 | $CI =& get_instance(); 82 | $CI->load->library('typography'); 83 | return $CI->typography->auto_typography($str, $reduce_linebreaks); 84 | } 85 | } 86 | 87 | // -------------------------------------------------------------------- 88 | 89 | if ( ! function_exists('entity_decode')) 90 | { 91 | /** 92 | * HTML Entities Decode 93 | * 94 | * This function is a replacement for html_entity_decode() 95 | * 96 | * @param string 97 | * @param string 98 | * @return string 99 | */ 100 | function entity_decode($str, $charset = NULL) 101 | { 102 | return get_instance()->security->entity_decode($str, $charset); 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /assets/css/bootstrap-vue.min.css: -------------------------------------------------------------------------------- 1 | .b-dropdown .dropdown-item:focus{box-shadow:inset 0 0 400px 110px rgba(0,0,0,.09)}.b-dropdown .dropdown-item:active{box-shadow:initial}.b-form-group.form-group.is-invalid .invalid-feedback{display:block!important}input.form-control[type=color],input.form-control[type=range]{height:36px;height:2.25rem}input.form-control.form-control-sm[type=color],input.form-control.form-control-sm[type=range]{height:31px;height:1.9375rem}input.form-control.form-control-lg[type=color],input.form-control.form-control-lg[type=range]{height:48px;height:3rem}input.form-control[type=color]{padding:8px 8px;padding:.25rem .25rem}input.form-control.form-control-sm[type=color]{padding:4px 5px;padding:.125rem .125rem}.custom-file-input.focus~.custom-file-control[data-v-c68bd5f8],.custom-file-input:focus~.custom-file-control[data-v-c68bd5f8]{color:#495057;background-color:#fff;border-color:#80bdff;outline:0}.custom-file-input.is-invalid.focus~.custom-file-control[data-v-c68bd5f8],.custom-file-input.is-invalid:focus~.custom-file-control[data-v-c68bd5f8],.was-validated .custom-file-input:invalid.focus~.custom-file-control[data-v-c68bd5f8],.was-validated .custom-file-input:invalid:focus~.custom-file-control[data-v-c68bd5f8]{-webkit-box-shadow:0 0 0 .2rem rgba(220,53,69,.25);box-shadow:0 0 0 .2rem rgba(220,53,69,.25);border-color:#dc3545}.custom-file-input.is-valid.focus~.custom-file-control[data-v-c68bd5f8],.custom-file-input.is-valid:focus~.custom-file-control[data-v-c68bd5f8],.was-validated .custom-file-input:valid.focus~.custom-file-control[data-v-c68bd5f8],.was-validated .custom-file-input:valid:focus~.custom-file-control[data-v-c68bd5f8]{-webkit-box-shadow:0 0 0 .2rem rgba(40,167,69,.25);box-shadow:0 0 0 .2rem rgba(40,167,69,.25);border-color:#28a745}.custom-file-control[data-v-c68bd5f8]{overflow:hidden}.custom-file-control[data-v-c68bd5f8]{overflow:hidden}.custom-file-control.dragging[data-v-c68bd5f8]{overflow:hidden;filter:blur(3px)}.custom-file-control[data-selected][data-v-c68bd5f8]::after{content:attr(data-selected)}.custom-file-control[data-choose][data-v-c68bd5f8]::before{content:attr(data-choose)}.custom-file .drop-here[data-v-c68bd5f8]{position:absolute;left:0;right:0;top:0;bottom:0;background-color:rgba(0,0,0,.5);border-radius:3px;z-index:99999;display:flex;justify-content:center;align-items:center}.custom-file .drop-here[data-v-c68bd5f8]::before{color:#fff;content:attr(data-drop)}.b-nav-dropdown .dropdown-item:focus{box-shadow:inset 0 0 400px 110px rgba(0,0,0,.09)}.b-nav-dropdown .dropdown-item:active{box-shadow:initial}.page-item[data-v-2792960b]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.page-item.disabled[data-v-2792960b]{cursor:not-allowed;opacity:.65}.page-item[data-v-20c4e761]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.page-item.disabled[data-v-20c4e761]{cursor:not-allowed;opacity:.65}table.b-table.table-fixed{table-layout:fixed}table.b-table>tfoot>tr>th,table.b-table>thead>tr>th{position:relative}table.b-table>tfoot>tr>th.sorting,table.b-table>thead>tr>th.sorting{padding-right:1.5em;cursor:pointer}table.b-table tfoot>tr>th.sorting:after,table.b-table tfoot>tr>th.sorting:before,table.b-table thead>tr>th.sorting:after,table.b-table thead>tr>th.sorting:before{position:absolute;bottom:0;display:block;opacity:.4;padding-bottom:inherit;font-size:inherit;line-height:180%}table.b-table>tfoot>tr>th.sorting:before,table.b-table>thead>tr>th.sorting:before{right:.75em;content:"\2191"}table.b-table>tfoot>tr>th.sorting:after,table.b-table>thead>tr>th.sorting:after{right:.25em;content:"\2193"}table.b-table>tfoot>tr>th.sorting_asc:after,table.b-table>tfoot>tr>th.sorting_desc:before,table.b-table>thead>tr>th.sorting_asc:after,table.b-table>thead>tr>th.sorting_desc:before{opacity:1}table.b-table[aria-busy=false]{opacity:1}table.b-table[aria-busy=true]{opacity:.6} -------------------------------------------------------------------------------- /system/helpers/directory_helper.php: -------------------------------------------------------------------------------- 1 | 0) && is_dir($source_dir.$file)) 86 | { 87 | $filedata[$file] = directory_map($source_dir.$file, $new_depth, $hidden); 88 | } 89 | else 90 | { 91 | $filedata[] = $file; 92 | } 93 | } 94 | 95 | closedir($fp); 96 | return $filedata; 97 | } 98 | 99 | return FALSE; 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /system/language/english/imglib_lang.php: -------------------------------------------------------------------------------- 1 |