{"id":5865,"date":"2011-01-24T21:36:57","date_gmt":"2011-01-24T20:36:57","guid":{"rendered":"http:\/\/www.chipwreck.de\/blog\/?p=5865"},"modified":"2011-04-07T04:32:04","modified_gmt":"2011-04-07T02:32:04","slug":"coda-php-web-toolkit-2-5","status":"publish","type":"post","link":"https:\/\/www.chipwreck.de\/blog\/2011\/01\/24\/coda-php-web-toolkit-2-5\/","title":{"rendered":"Coda PHP &#038; Web Toolkit 2.5"},"content":{"rendered":"<p>Two new features: Configure the braces placement of PHP-tidy and select the CSS level for validation.<!--more--><\/p>\n<h3>PHPTidy braces placement<\/h3>\n<p>You can configure how braces are being placed when using PHPTidy: Always on the same line, always on a new line and PEAR style. This is how it looks:<\/p>\n<h5>Always new line<\/h5>\n<p><code><br \/>\nfunction test()<br \/>\n{<br \/>\n}<br \/>\nclass example()<br \/>\n{<br \/>\n\tfunction what()<br \/>\n\t{<br \/>\n\t\tif (true)<br \/>\n\t\t{<br \/>\n\t\t}<br \/>\n\t}<br \/>\n}<br \/>\n<\/code><\/p>\n<h5>Always same line<\/h5>\n<p><code><br \/>\nfunction test() {<br \/>\n}<br \/>\nclass example() {<br \/>\n\tfunction what() {<br \/>\n\t\tif (true) {<br \/>\n\t\t}<br \/>\n\t}<br \/>\n}<br \/>\n<\/code><\/p>\n<h5>PEAR style<\/h5>\n<p><code><br \/>\nfunction test()<br \/>\n{<br \/>\n}<br \/>\nclass example()<br \/>\n{<br \/>\n\tfunction what()<br \/>\n\t{<br \/>\n\t\tif (true) {<br \/>\n\t\t}<br \/>\n\t}<br \/>\n}<br \/>\n<\/code><\/p>\n<h3>Select CSS level for validation<\/h3>\n<p>Choose if you use CSS level 2, 2.1 oder 3 for the validation. So you don&#8217;t get those annoying opacity warnings etc.<\/p>\n<p>&nbsp;<\/p>\n<p>Download\/Feedback on the <a href=\"\/blog\/software\/coda-php\">Coda PHP &#038; Web Toolkit page &raquo;<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two new features: Configure the braces placement of PHP-tidy and select the CSS level for validation.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[20,38],"tags":[82,40,33],"class_list":["post-5865","post","type-post","status-publish","format-standard","hentry","category-coda","category-updates","tag-coda","tag-php","tag-update"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/paPEN-1wB","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts\/5865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/comments?post=5865"}],"version-history":[{"count":0,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts\/5865\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/media?parent=5865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/categories?post=5865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/tags?post=5865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}