0010374.diff

Administrator Admin, 2009-02-06 21:44

Download (2.14 KB)

View differences:

t3lib/class.t3lib_frontendedit.php (working copy)
197 197
	}
198 198

  
199 199
	/**
200
	 * Gets the hidden fields (array key=field name, value=field value) to be used in the edit panel for a particular content element. 
201
	 * In the normal case, no hidden fields are needed but special controllers such as TemplaVoila need to track flexform pointers, etc.
202
	 *
203
	 * @param	array	The data array for a specific content element.
204
	 * @return	array
205
	 */
206
	public function getHiddenFieldArray(array $dataArray) {
207
			// No special hidden fields needed.
208
		return array();
209
	}
210

  
211
	/**
212 200
	 * Adds an edit icon to the content string. The edit icon links to alt_doc.php with proper parameters for editing the table/fields of the context.
213 201
	 * This implements TYPO3 context sensitive editing facilities. Only backend users will have access (if properly configured as well).
214 202
	 *
......
369 357
	}
370 358

  
371 359
	/**
360
	 * Enables the force preview option.
361
	 *
362
	 * @return	void
363
	 */
364
	public function forcePreview() {
365
		$this->ext_forcePreview = true;
366
	}
367

  
368
	/**
372 369
	 * Returns the comma-separated list of page UIDs to be published.
373 370
	 *
374 371
	 * @return	string
......
741 738

  
742 739
		return $allow;
743 740
	}
741

  
742
	/**
743
	 * Adds any extra Javascript includes needed for Front-end editing
744
	 *
745
	 * @param	none
746
	 * @return	string
747
	 */
748
	public function getJavascriptIncludes() {
749
			// No extra JS includes needed
750
		return '';
751
	}
752
		
753
	/**
754
	 * Gets the hidden fields (array key=field name, value=field value) to be used in the edit panel for a particular content element.
755
	 * In the normal case, no hidden fields are needed but special controllers such as TemplaVoila need to track flexform pointers, etc.
756
	 *
757
	 * @param	array	The data array for a specific content element.
758
	 * @return	array
759
	 */
760
	public function getHiddenFieldArray(array $dataArray) {
761
			// No special hidden fields needed.
762
		return array();
763
	}	
744 764
}
745 765

  
746 766
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_frontendedit.php']) {