Skip to content

Commit

Permalink
Cleaned up empty default constructors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Achatz committed Jun 27, 2014
1 parent fe83b2d commit b415f86
Show file tree
Hide file tree
Showing 22 changed files with 15 additions and 102 deletions.
4 changes: 0 additions & 4 deletions core/pagecontroller/AddTaglibTag.php
Expand Up @@ -35,10 +35,6 @@
*/
class AddTaglibTag extends Document {

public function __construct() {
// do nothing, especially not initialize tag libs
}

/**
* @public
*
Expand Down
13 changes: 0 additions & 13 deletions core/pagecontroller/AppendNodeTag.php
Expand Up @@ -49,19 +49,6 @@ class AppendNodeTag extends Document {
*/
protected static $INCLUDE_STATIC_CONTENT_ATTRIBUTE_NAME = 'includestatic';

/**
* @public
*
* Initializes the known taglib list.
*
* @author Christian Achatz
* @version
* Version 0.1, 16.11.2008<br />
*/
public function __construct() {
parent::__construct();
}

/**
* @public
*
Expand Down
15 changes: 15 additions & 0 deletions core/pagecontroller/Document.php
Expand Up @@ -118,6 +118,21 @@ class Document extends APFObject {
*/
public static $maxParserLoops = 500;

/**
* @public
*
* Default constructor of an APF document. The APF DOM tree is constructed by objects derived from this class.
*
* @author Christian Schäfer
* @version
* Version 0.1, 28.12.2006<br />
* Version 0.2, 03.03.2007 (Removed the "&" in front of "new")<br />
* Version 0.3, 11.02.2012 (Added html:getstring tag as known tag (refactoring!))<br />
* Version 0.4, 27.06.2014 (Removed constructor content due to new APF parser allows static tag registration)<br />
*/
public function __construct() {
}

/**
* @public
*
Expand Down
13 changes: 0 additions & 13 deletions core/pagecontroller/ImportTemplateTag.php
Expand Up @@ -35,19 +35,6 @@
*/
class ImportTemplateTag extends Document {

/**
* @public
*
* Constructor of the class. Sets the known taglibs.
*
* @author Christian Schäfer
* @version
* Version 0.1, 28.12.2006<br />
*/
public function __construct() {
parent::__construct();
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions core/pagecontroller/LanguageLabelTag.php
Expand Up @@ -54,10 +54,6 @@ class LanguageLabelTag extends Document {
*/
private $placeHolders = array();

public function __construct() {
// do nothing, especially not initialize tag libs
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions core/pagecontroller/PlaceHolderTag.php
Expand Up @@ -41,10 +41,6 @@ class PlaceHolderTag extends Document {
*/
protected $stringReplacement = array();

public function __construct() {
// do nothing, especially not initialize tag libs
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions core/pagecontroller/TemplateTag.php
Expand Up @@ -46,10 +46,6 @@ class TemplateTag extends Document {
*/
protected $transformOnPlace = false;

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions extensions/form/client/taglib/ClientValidationListenerTag.php
Expand Up @@ -35,10 +35,6 @@
*/
class ClientValidationListenerTag extends AbstractFormControl {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* Overwrite the parent's method.
*
Expand Down
4 changes: 0 additions & 4 deletions extensions/form/client/taglib/FormClientErrorDisplayTag.php
Expand Up @@ -34,10 +34,6 @@
*/
class FormClientErrorDisplayTag extends AbstractFormControl {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* Overwrite the parent's method.
*
Expand Down
Expand Up @@ -38,10 +38,6 @@
*/
class AddForwardMessageTag extends Document {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

public function onParseTime() {

if (!$name = $this->getAttribute('name')) {
Expand Down
4 changes: 0 additions & 4 deletions extensions/htmlheader/pres/taglib/HtmlHeaderAddTitleTag.php
Expand Up @@ -48,10 +48,6 @@
*/
class HtmlHeaderAddTitleTag extends Document {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

public function onParseTime() {
$this->extractTagLibTags();
}
Expand Down
4 changes: 0 additions & 4 deletions extensions/htmllist/taglib/ListDefinitionTag.php
Expand Up @@ -32,10 +32,6 @@
*/
class ListDefinitionTag extends AbstractListTag {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* Adds a definition term element.
*
Expand Down
4 changes: 0 additions & 4 deletions extensions/htmllist/taglib/OrderedListTag.php
Expand Up @@ -32,10 +32,6 @@
*/
class OrderedListTag extends AbstractListTag {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* Adds a list element.
*
Expand Down
4 changes: 0 additions & 4 deletions extensions/htmllist/taglib/UnorderedListTag.php
Expand Up @@ -32,10 +32,6 @@
*/
class UnorderedListTag extends AbstractListTag {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* Adds a list element
*
Expand Down
4 changes: 0 additions & 4 deletions modules/recaptcha/pres/taglib/ReCaptchaTag.php
Expand Up @@ -63,10 +63,6 @@ class ReCaptchaTag extends AbstractFormControl {
*/
private $errorMessageKey;

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions modules/usermanagement/pres/taglib/UmgtMediaInclusionTag.php
Expand Up @@ -34,10 +34,6 @@
*/
class UmgtMediaInclusionTag extends MediaInclusionTag {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions tools/form/taglib/FormErrorDisplayTag.php
Expand Up @@ -43,10 +43,6 @@
*/
class FormErrorDisplayTag extends AbstractFormControl {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions tools/form/taglib/FormSuccessDisplayTag.php
Expand Up @@ -43,10 +43,6 @@
*/
class FormSuccessDisplayTag extends AbstractFormControl {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions tools/form/taglib/ValidationListenerTag.php
Expand Up @@ -57,10 +57,6 @@ class ValidationListenerTag extends AbstractFormControl {
*/
protected $isNotified = false;

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

/**
* @public
*
Expand Down
4 changes: 0 additions & 4 deletions tools/html/taglib/HtmlIteratorItemTag.php
Expand Up @@ -36,10 +36,6 @@
*/
class HtmlIteratorItemTag extends Document {

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

public function onParseTime() {
$this->extractTagLibTags();
}
Expand Down
4 changes: 0 additions & 4 deletions tools/html/taglib/HtmlIteratorTag.php
Expand Up @@ -94,10 +94,6 @@ class HtmlIteratorTag extends Document {
*/
protected $iterationNumber = 0;

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

public function onParseTime() {
$this->extractTagLibTags();
}
Expand Down
4 changes: 0 additions & 4 deletions tools/link/taglib/HtmlLinkTag.php
Expand Up @@ -67,10 +67,6 @@ class HtmlLinkTag extends LinkGenerationTag {
'shape',
'target');

public function __construct() {
// nothing to do here, especially not generate document id as it is generated by the APF parser.
}

public function onParseTime() {

// generate URL using our parent implementation
Expand Down

0 comments on commit b415f86

Please sign in to comment.