Minor - adding static in some functions

skala
Julio Montoya 13 years ago
parent bc726139b4
commit 38096c7ceb
  1. 4
      main/inc/lib/fckeditor/fckeditor.php
  2. 2
      main/inc/lib/formvalidator/Element/datepicker.php
  3. 2
      main/inc/lib/pear/HTML/QuickForm.php

@ -176,7 +176,7 @@ class FCKeditor
$HtmlValue = htmlspecialchars( $this->Value ) ;
$Html = '' ;
if ( $this->IsCompatible() ) {
if ( FCKeditor::IsCompatible() ) {
if ( api_get_setting('server_type') == 'test' )
$File = 'fckeditor.original.html' ;
else
@ -216,7 +216,7 @@ class FCKeditor
*
* @return boolean
*/
public function IsCompatible()
public static function IsCompatible()
{
return FCKeditor_IsCompatibleBrowser() ;
}

@ -72,7 +72,7 @@ class HTML_QuickForm_datepicker extends HTML_QuickForm_date
* Export the date value in MySQL format
* @return string YYYY-MM-DD HH:II:SS
*/
function exportValue()
function exportValue(&$submitValues, $assoc = false)
{
$values = parent::getValue();
$y = $values['Y'][0];

@ -1356,7 +1356,7 @@ class HTML_QuickForm extends HTML_Common
* @access public
* @return boolean
*/
function isTypeRegistered($type)
static function isTypeRegistered($type)
{
return isset($GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES'][strtolower($type)]);
} // end func isTypeRegistered

Loading…
Cancel
Save