Hugues Peccatte
5306fcc9c6
Minor coding style fixes.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-05-08 21:51:24 +02:00
Michal Čihař
6061e38e1e
Use class attribute instead of passing the value as parameter
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 10:31:20 +02:00
Michal Čihař
b3f177ee98
Pass correct parameters to PDF schema methods
...
All these take string as a parameter not a boolean values (as returned
isset).
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 10:24:17 +02:00
Michal Čihař
1ce78f82d3
Define property before using it
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 10:20:06 +02:00
Michal Čihař
0b1029835b
Fix parameter type
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-08 10:19:12 +02:00
Marc Delisle
cb3929766a
Fix merge conflict
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-03-25 06:18:21 -04:00
Michal Čihař
186a80939d
Allow TCPDF to be removed
...
We currently require TCPDF to be present, but in most cases this is
feature which users do not need and thus can reduce size of installed
phpMyAdmin.
Also this is helpful for Linux distributions as they can provide soft
dependency on tcpdf package.
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-24 16:12:13 +01:00
Michal Čihař
ce11dff6ef
Avoid double checks for direct execution of a script
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-24 11:59:14 +01:00
Bimal Yashodha
ae7830985f
Correct spelling mistakes
...
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-03-21 07:11:27 +05:30
Bimal Yashodha
b362d0e8b6
Move getTitle() method to parent class
...
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-03-20 22:48:22 +05:30
Bimal Yashodha
860aa89510
Update references to new variable names
...
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-03-19 19:33:24 +05:30
Bimal Yashodha
ac91ba03c5
Refactor - Move duplicate code to a parent class
...
Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
2014-03-17 20:16:32 +05:30
Marc Delisle
749eba0390
Fix coding style
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-03-07 12:47:40 -05:00
Hugues Peccatte
207466d59c
Don't use function in for loop test.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-18 22:18:02 +01:00
Hugues Peccatte
7bd1bf23d3
Fix PHPCS errors.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-11 22:13:10 +01:00
Hugues Peccatte
2274453717
Minor PHPDoc modifications.
2013-12-07 19:00:53 +01:00
Hugues Peccatte
473d3cd4a2
PHPDoc update.
2013-11-11 18:12:46 +01:00
Hugues Peccatte
d3601abf96
Global PHPDoc update.
2013-11-10 12:29:55 +01:00
Madhura Jayaratne
20608589c3
Remove trailing white spaces
2013-10-19 14:29:05 +05:30
Marc Delisle
269d0c89fe
Fix merge conflicts
2013-07-28 06:17:38 -04:00
Marc Delisle
142e465c80
[security] Avoid full path disclosure from some libraries scripts, see PMASA-2013-12
2013-07-17 15:24:24 -04:00
adamgsoc2013
ad726ccb94
split output from constructor for Schema classes
...
remove "exit" which is unneeded action
2013-07-10 17:10:13 +08:00
adamgsoc2013
bedd8288af
fix the class redefine error in sub class of Schema
...
1. change class Table_Stats to Table_Stats_$type
2. change class Relation_Stats to Relation_Stats_$type
2013-07-10 13:35:47 +08:00
adamgsoc2013
9d8e88bbb1
Add UT to validate that the data is set correctly on the sub class of Schema
2013-07-10 00:26:24 +08:00
Madhura Jayaratne
3dd99512f0
These constants are better as a part of DatabaseInterface class
2013-05-26 21:15:24 +05:30
Madhura Jayaratne
650a8cdda3
Convert database interface to a class
2013-05-24 17:30:59 +05:30
Kasun Chathuranga
556bcb9f9d
PMA_DBI_num_rows --> PMA_DBI_numRows
2013-05-04 08:39:43 +05:30
Kasun Chathuranga
1c884f0cca
PMA_DBI_free_result --> PMA_DBI_freeResult
2013-05-04 08:33:49 +05:30
Kasun Chathuranga
a242ed1ae5
PMA_DBI_fetch_row --> PMA_DBI_fetchRow
2013-05-04 08:31:22 +05:30
Kasun Chathuranga
5bcc32999f
PMA_DBI_fetch_assoc --> PMA_DBI_fetchAssoc
2013-05-04 08:30:12 +05:30
Kasun Chathuranga
6b1f6ae046
Merge branch 'master' into DBI_naming_cleanUp
...
Conflicts:
libraries/database_interface.lib.php
libraries/db_table_exists.lib.php
libraries/relation.lib.php
libraries/rte/rte_triggers.lib.php
libraries/schema/Dia_Relation_Schema.class.php
libraries/schema/Visio_Relation_Schema.class.php
tbl_addfield.php
2013-05-01 00:51:15 +05:30
Kasun Chathuranga
32e6c06324
PMA_DBI_get_columns --> PMA_DBI_getColumns
2013-04-30 23:36:47 +05:30
Kasun Chathuranga
d933575811
PMA_DBI_try_query --> PMA_DBI_tryQuery
2013-04-30 23:05:18 +05:30
Michal Čihař
2fbb4cee0d
Consistently include colon in strings to translate
...
In some languages this makes difference in translating, so it's better
to give translators full context.
2013-04-25 14:22:31 +02:00
Michal Čihař
f7f3df4192
Do not use font name instead of font size in PDF schema (bug #3788 )
2013-02-06 12:47:06 +01:00
Dieter Adriaenssens
36c208e32d
move _tables property to the right class
2013-01-25 20:56:00 +01:00
Dieter Adriaenssens
71aa0564a3
create array for class variable
2013-01-25 18:01:56 +01:00
Dieter Adriaenssens
cb22b5226e
wrap long lines
2013-01-25 18:01:56 +01:00
Dieter Adriaenssens
a09d35535e
define private variable _tables
2013-01-25 17:27:22 +01:00
Madhura Jayaratne
150a47f4b7
Use underscore prefix for private methods and instance variables
2012-09-22 23:50:41 +05:30
Chanaka Indrajith
0ff571a128
Modify classes with property
2012-09-16 15:29:56 +05:30
Marc Delisle
c8e96d0bf0
Missing getCommonFunctions method in class
2012-07-10 12:47:58 -04:00
Marc Delisle
03f34c4ef0
Unused method: setCommonFunctions()
2012-07-10 12:36:27 -04:00
Chanaka Indrajith
39d37fafcc
Resolved conflicts
2012-06-27 21:53:59 +05:30
Madhura Jayaratne
ec046f7d11
Use camel case for function names (PMA_query_as_controluser => PMA_queryAsControlUser)
2012-06-23 23:06:29 +05:30
Chanaka Indrajith
766466135e
Implement class behavior of common.lib.php file
2012-06-22 23:38:33 +05:30
Michal Čihař
116945a28d
Various documentation fixes
2012-06-07 11:39:57 +02:00
Michal Čihař
2ebc3e3d94
Add @package to class docs
2012-06-07 11:36:30 +02:00
Michal Čihař
1848ed2f14
Drop PMA_PDF prefix from class methods
2012-06-07 11:35:29 +02:00
Michal Čihař
6e0a3d74f6
Add method docblock
2012-06-07 11:32:35 +02:00