Skip to content
This repository
Browse code

Remove getHeadData(), setHeadData() and mergeHeadData() from JDocumen…

…t since it only applies to JDocumentHTML.
  • Loading branch information...
commit 2a72ba9e73dbd4ef1484ef0af29249aa3e0c6067 1 parent c323ebe
Rouven Weßling authored May 20, 2011
37  libraries/joomla/document/document.php
@@ -307,43 +307,6 @@ public function getType()
307 307
 	}
308 308
 
309 309
 	/**
310  
-	 * Get the document head data
311  
-	 *
312  
-	 * @return  array  The document head data in array form
313  
-	 * @since   11.1
314  
-	 */
315  
-	public function getHeadData()
316  
-	{
317  
-		// Impelemented in child classes
318  
-	}
319  
-
320  
-	/**
321  
-	 * Set the document head data
322  
-	 *
323  
-	 * @param   array  $data  The document head data in array form
324  
-	 *
325  
-	 * @return  void
326  
-	 * @since   11.1
327  
-	 */
328  
-	public function setHeadData($data)
329  
-	{
330  
-		// Impelemented in child classes
331  
-	}
332  
-
333  
-	/**
334  
-	 * Set the document head data
335  
-	 *
336  
-	 * @param   array  $data  The document head data in array form
337  
-	 *
338  
-	 * @return
339  
-	 * @since   11.1
340  
-	 */
341  
-	public function mergeHeadData($data)
342  
-	{
343  
-		// Impelemented in child classes
344  
-	}
345  
-
346  
-	/**
347 310
 	 * Get the contents of the document buffer
348 311
 	 *
349 312
 	 * @return  The contents of the document buffer
18  libraries/joomla/document/json/json.php
@@ -63,24 +63,6 @@ public function render($cache = false, $params = array())
63 63
 	}
64 64
 
65 65
 	/**
66  
-	 * Get the document head data
67  
-	 *
68  
-	 * @return  array  The document head data in array form
69  
-	 */
70  
-	public function getHeadData()
71  
-	{
72  
-	}
73  
-
74  
-	/**
75  
-	 * Set the document head data
76  
-	 *
77  
-	 * @param   array  $data  The document head data in array form
78  
-	 */
79  
-	public function setHeadData($data)
80  
-	{
81  
-	}
82  
-
83  
-	/**
84 66
 	 * Returns the document name
85 67
 	 *
86 68
 	 * @return  string
18  libraries/joomla/document/xml/xml.php
@@ -61,24 +61,6 @@ public function render($cache = false, $params = array())
61 61
 	}
62 62
 
63 63
 	/**
64  
-	 * Get the document head data
65  
-	 *
66  
-	 * @return  array  The document head data in array form
67  
-	 */
68  
-	public function getHeadData()
69  
-	{
70  
-	}
71  
-
72  
-	/**
73  
-	 * Set the document head data
74  
-	 *
75  
-	 * @param   array  $data  The document head data in array form
76  
-	 */
77  
-	public function setHeadData($data)
78  
-	{
79  
-	}
80  
-
81  
-	/**
82 64
 	 * Returns the document name
83 65
 	 *
84 66
 	 * @return  string

0 notes on commit 2a72ba9

Please sign in to comment.
Something went wrong with that request. Please try again.