changes for phpdocumentator 2

This commit is contained in:
Gustavo Adolfo Cruz Laura
2011-01-24 20:41:46 +00:00
parent b340c48819
commit 54b7b8a2aa
5 changed files with 6 additions and 93 deletions

View File

@@ -458,7 +458,7 @@ class database extends database_base {
* Generates a string equivalent to the case when
*
* @author Hector Cortez <hector@gmail.com>
* @date 2010-08-04
* date 2010-08-04
*
* @return string $sCompare
*/

View File

@@ -23,6 +23,11 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*
*/
/**
* @package gulliver.system
*/
require_once 'PEAR.php';
/**

View File

@@ -1,47 +0,0 @@
<?php
/**
* class.fckEditor.php
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc.23
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*
*/
/*include(PATH_THIRDPARTY."fckeditor/fckeditor.php") ;
class XmlForm_Field_HTML extends XmlForm_Field
{
//'default','office2003','silver'
var $skin = 'default';
//'Default','Basic'
var $toolbarSet = 'Default';
var $width = '90%';
var $height = '200' ;
function render( $value , $owner=NULL )
{
$this->FCKeditor = new FCKeditor('form['.$this->name.']') ;
$this->FCKeditor->BasePath = '/fckeditor/';
$this->FCKeditor->Config['AutoDetectLanguage'] = false ;
$this->FCKeditor->Config['DefaultLanguage'] = $this->language ;
$this->FCKeditor->ToolbarSet = $this->toolbarSet;
$this->FCKeditor->Config['SkinPath'] = $this->FCKeditor->BasePath . 'editor/skins/' . htmlspecialchars($this->skin) . '/' ;
$this->FCKeditor->Value = $value;
$this->FCKeditor->Width = $this->width;
$this->FCKeditor->Height = $this->height;
return $this->FCKeditor->CreateHtml();
}
}*/

View File

@@ -28,7 +28,6 @@
* @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system
* @access public
* @dependencies XmlForm xmlformTemplate
*/
class Form extends XmlForm
{

View File

@@ -1,44 +0,0 @@
<?php
/**
* classFckEditorTest.php
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc.23
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*
*/
if ( !defined ('PATH_THIRDPARTY') ) {
require_once( $_SERVER['PWD']. '/test/bootstrap/unit.php');
}
require_once( PATH_THIRDPARTY . 'lime/lime.php');
define ( 'G_ENVIRONMENT', G_TEST_ENV);
G::LoadThirdParty('smarty/libs','Smarty.class');
G::LoadSystem ( 'xmlform');
G::LoadSystem ( 'xmlDocument');
G::LoadSystem ( 'form');
G::LoadSystem ( 'fckEditor');
$t = new lime_test( 2, new lime_output_color());
$obj = "fckEditor";
$method = array ( );
$testItems = 0;
$methods = get_class_methods('fckEditor');
$t->diag('class fckEditor' );
$t->is( count($methods) , 0, "class fckEditor " . count($methods) . " methods." );
$t->todo( 'review all pendings in this class');