Example #1
0
 /**
  * Trims away the minimum indentation for the current block.
  *
  * Note: If a sub-class of this block element class uses another variable
  *       than $children for child elements or uses multiple lists then it
  *       needs to re-implement this method and call
  *       $removal->trimBlockLevelIndentation() for the correct list.
  *
  * @param ezcTemplateWhitespaceRemoval $removal
  *        The removal object which knows how to get rid of indentation for the current level.
  */
 public function trimIndentation(ezcTemplateWhitespaceRemoval $removal)
 {
     // Tell the removal object to trim our children
     $removal->trimBlockLevelIndentation($this, $this->children);
 }