Hallo,
ich stehe gerade vor einem Problem, ich möchte mit meiner Extension die Datei 
core/Classes/Resource/fileReference.php erweitern um eine Getter variable.
"
        /**
         * Returns the Isotope
         *
         * @return string
         */
        public function getIsotope() {
                return $this->propertiesOfFileReference['isotope'];
        }
        
"
Wenn ich diese funktion direkt einbaue geht das auch, aber ich möchte nicht 
direkt in die Core Datei schreiben.

mein Model sieht so aus.

"
class Isotope extends \TYPO3\CMS\Extbase\Domain\Model\FileReference {

        /**
         * isotope
         *
         * @var integer
         */
        protected $isotope;

        /**
         * Returns the isotope
         *
         * @return integer $isotope
         */
        public function getIsotope() {
                return $this->isotope;
        }

        /**
         * Sets the isotope
         *
         * @param integer $isotope
         * @return void
         */
        public function setIsotope($isotope) {
                $this->isotope = $isotope;
        }


}
"

Hoffe ich habe mich verständlich ausgedrückt.

LG Michi
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an