Source for file DBMS_FIELD_IMAGEFILEICON.phpclass

Documentation is available at DBMS_FIELD_IMAGEFILEICON.phpclass

  1. <?php
  2. /**
  3.   * Class file DBMS_FIELD_IMAGEFILEICON.phpclass
  4.   *
  5.   * @project    Open CSP-Management
  6.   * @package    dbms_field
  7.   * @category   string
  8.   *
  9.   * @author     Peter Krebs <pitlinz@users.sourceforge.net>
  10.   * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
  11.   *
  12.   * @since  pk-03-12-23
  13.   * @version pk-05-06-17
  14.   * @version $Id: DBMS_FIELD_IMAGEFILEICON.phpclass,v 1.2 2008/06/27 13:59:19 pitlinz Exp $
  15.   */
  16.  
  17. require_once __OCSP_DEFAULTCONFPATH__ "cms.conf.phpinc";
  18. pcf_require_class('DBMS_FIELD_IMAGE'dirname(__FILE__"/DBMS_FIELD_IMAGE.phpclass");
  19.  
  20. /**
  21.   * Class DBMS_FIELD_IMAGEFILEICON
  22.   *
  23.   * @project    Open CSP-Management
  24.   * @package    dbms_field
  25.   * @category   string
  26.   *
  27.   * @author     Peter Krebs <pitlinz@users.sourceforge.net>
  28.   * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
  29.   *
  30.   * @since pk-03-12-23
  31.   * @version pk-05-06-17
  32.   * @version $Id: DBMS_FIELD_IMAGEFILEICON.phpclass,v 1.2 2008/06/27 13:59:19 pitlinz Exp $
  33.   */
  34.     var $className      = "Fileicon";
  35.     
  36.     /**
  37.       * source file of the class
  38.       *
  39.       * @var string $classSrcFile 
  40.       * @since pk-05-02-19
  41.       ***/
  42.     var $classSrcFile=__FILE__;
  43.     
  44.  
  45.     function editTblForm({
  46.         require_once __OCSP_PHPINCPATH__."common/pcf_directory.phpinc";
  47.         DBMS_FIELD::editTblForm(FALSE);
  48.     }
  49.  
  50.     function save({
  51.         $retparent::save();
  52.         $this->rootDir      = OCSP_CONF::getInstance('MEDIA')->getValue('ICONS_PATH');
  53.         $this->defaultDir   = OCSP_CONF::getInstance('MEDIA')->getValue('ICONS_PATH');
  54.         $this->allowMkDir   FALSE;
  55.         $this->maxWidth     = 18;
  56.         $this->maxHeight    = 18;
  57.         $this->allowUpload  FALSE;
  58.         $this->listMaxWidth = 18;
  59.         $this->listMaxHeight18;
  60.         $this->useGlobalPathFALSE;
  61.         return $ret;
  62.     }
  63.  
  64. // end class DBMS_FIELD_PASSWORD
  65. ?>

Documentation generated on Thu, 08 Jan 2009 17:42:01 +0100 by phpDocumentor 1.4.0a2