[TYPO3-UG Dutch] Re: New field in tx News is not shown in Fluid templates

Geert Vegter geertvegter at hotmail.com
Mon Dec 15 21:26:00 CET 2014


Wat betreft camelCase 
De inhoud van News.php (van de extensie waar het eigenlijk om gaat is) is zoals hieronder staat. 
Is dat fout ? 

<?php
/***************************************************************
 *  Copyright notice
 *
 *  (c) 2013 Peter Benke <peter.benke (at) nttdata.com>
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
 *  free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  The GNU General Public License can be found at
 *  http://www.gnu.org/copyleft/gpl.html.
 *
 *  This script 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 General Public License for more details.
 *
 *  This copyright notice MUST APPEAR in all copies of the script!
 ***************************************************************/

/**
 * News model
 *
 * @package TYPO3
 * @subpackage tx_news
 */
class Tx_PbNewsJobs_Domain_Model_News extends Tx_News_Domain_Model_News {

	/**
	 * jaar
	 *
	 * @var string
	 */
	protected $jaar = '';

	/**
	 * week
	 *
	 * @var string
	 */
	protected $week = '';

	/**
	 * afleveringnummer
	 *
	 * @var string
	 */
	protected $afleveringnummer = '';

	/**
	 * datum
	 *
	 * @var \DateTime
	 */
	protected $datum = NULL;

	/**
	 * vimeonummer
	 *
	 * @var string
	 */
	protected $vimeonummer = '';

	/**
	 * Returns the jaar
	 *
	 * @return string $jaar
	 */
	public function getJaar() {
		return $this->jaar;
	}

	/**
	 * Sets the jaar
	 *
	 * @param string $jaar
	 * @return void
	 */
	public function setJaar($jaar) {
		$this->jaar = $jaar;
	}

	/**
	 * Returns the week
	 *
	 * @return string $week
	 */
	public function getWeek() {
		return $this->week;
	}

	/**
	 * Sets the week
	 *
	 * @param string $week
	 * @return void
	 */
	public function setWeek($week) {
		$this->week = $week;
	}

	/**
	 * Returns the afleveringnummer
	 *
	 * @return string $afleveringnummer
	 */
	public function getAfleveringnummer() {
		return $this->afleveringnummer;
	}

	/**
	 * Sets the afleveringnummer
	 *
	 * @param string $afleveringnummer
	 * @return void
	 */
	public function setAfleveringnummer($afleveringnummer) {
		$this->afleveringnummer = $afleveringnummer;
	}

	/**
	 * Returns the datum
	 *
	 * @return \DateTime $datum
	 */
	public function getDatum() {
		return $this->datum;
	}

	/**
	 * Sets the datum
	 *
	 * @param \DateTime $datum
	 * @return void
	 */
	public function setDatum(\DateTime $datum) {
		$this->datum = $datum;
	}

	/**
	 * Returns the vimeonummer
	 *
	 * @return string $vimeonummer
	 */
	public function getVimeonummer() {
		return $this->vimeonummer;
	}

	/**
	 * Sets the vimeonummer
	 *
	 * @param string $vimeonummer
	 * @return void
	 */
	public function setVimeonummer($vimeonummer) {
		$this->vimeonummer = $vimeonummer;
	}


}



More information about the TYPO3-UG-Dutch mailing list