Skip to content
This repository

Added viewFile parameter to beforeRender #20

Merged
merged 1 commit into from over 1 year ago

2 participants

Bryan Crowe Carl Sutton
Bryan Crowe

Lack of this parameter throws strict standards error:
Strict (2048): Declaration of TinyMCEHelper::beforeRender() should be compatible with Helper::beforeRender($viewFile) [APP/Plugin/TinyMCE/View/Helper/TinyMCEHelper.php, line 95]

Carl Sutton dogmatic69 merged commit 7181945 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 07, 2013
Bryan Crowe bcrowe Added viewFile parameter to beforeRender b72764c
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  View/Helper/TinyMCEHelper.php
2  View/Helper/TinyMCEHelper.php
@@ -85,7 +85,7 @@ public function editor($options = array()) {
85 85 *
86 86 * @return void
87 87 */
88   - public function beforeRender() {
  88 + public function beforeRender($viewFile) {
89 89 $appOptions = Configure::read('TinyMCE.editorOptions');
90 90 if ($appOptions !== false && is_array($appOptions)) {
91 91 $this->_defaults = $appOptions;

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.