original_string: public function moveChildrenBelowAnotherTag( eZTagsObject $targetTag )
      {
          $currentTime = time();
          $children = $this->getChildren( 0, null, true );
          foreach ( $children as $child )
          {
              $childSynonyms = $child->getSynonyms( true );
              foreach ( $childSynonyms as $childSynonym )
              {
                  $childSynonym->setAttribute( 'parent_id', $targetTag->attribute( 'id' ) );
                  $childSynonym->store();
              }
  
              $child->setAttribute( 'parent_id', $targetTag->attribute( 'id' ) );
              $child->setAttribute( 'modified', $currentTime );
              $child->store();
              $child->updatePathString( $targetTag );
              $child->updateDepth( $targetTag );
          }
      }
code: public function moveChildrenBelowAnotherTag( eZTagsObject $targetTag )
      {
          $currentTime = time();
          $children = $this->getChildren( 0, null, true );
          foreach ( $children as $child )
          {
              $childSynonyms = $child->getSynonyms( true );
              foreach ( $childSynonyms as $childSynonym )
              {
                  $childSynonym->setAttribute( 'parent_id', $targetTag->attribute( 'id' ) );
                  $childSynonym->store();
              }
  
              $child->setAttribute( 'parent_id', $targetTag->attribute( 'id' ) );
              $child->setAttribute( 'modified', $currentTime );
              $child->store();
              $child->updatePathString( $targetTag );
              $child->updateDepth( $targetTag );
          }
      }
code_tokens: public function moveChildrenBelowAnotherTag ( eZTagsObject $ targetTag ) { $ currentTime = time ( ) ; $ children = $ this -> getChildren ( 0 , null , true ) ; foreach ( $ children as $ child ) { $ childSynonyms = $ child -> getSynonyms ( true ) ; foreach ( $ childSynonyms as $ childSynonym ) { $ childSynonym -> setAttribute ( 'parent_id' , $ targetTag -> attribute ( 'id' ) ) ; $ childSynonym -> store ( ) ; } $ child -> setAttribute ( 'parent_id' , $ targetTag -> attribute ( 'id' ) ) ; $ child -> setAttribute ( 'modified' , $ currentTime ) ; $ child -> store ( ) ; $ child -> updatePathString ( $ targetTag ) ; $ child -> updateDepth ( $ targetTag ) ; } }
docstring: Moves all children of this tag below another tag
  
  @param eZTagsObject $targetTag
docstring_tokens: Moves all children of this tag below another tag