Hello everyone, one week soon come to an end, and here is my weekly report on what did I do in the last week. During last week, I was working on the Template class and try to fix the test problems in the PR 1642.
Files Covered In This Week
Outcomes In This Week
trim($string) to Template class
public static function trim($string)
public function render($data = array(), $trim = true)
The trim method is default applied to all templates after it gets rendered. If you don’t want it be trimed, you can simply set the boolean field
$trim in render method to false.
The trim method is designed to be
static, so it can also be used as an utility for trim spaces in HTML pages.
Fix on PR 1642
Firstly I feel so sorry for taking so long to fix the problem of the pull request. I over estimated my knowledge on the phpunit test framework, eventually I have to spend a lot of more time to learn how to use it again.
Tests involve functions originally in tbl_views.lib.php was moved from PMA_tbl_views_lib_test.php to PMA_SystemDatabase_test.php and PMA_DatabaseInterface_test.php.
What will I Do Next
In next few days I will submit my works on template of the Designer Module. Also, I will post a new blog on dependency calculation on TableSearch.class.php.
The major job in next week will be starting template on table related scripts.