original_string: public function updateModified()
      {
          $pathArray = explode( '/', trim( $this->attribute( 'path_string' ), '/' ) );
  
          if ( $this->attribute( 'main_tag_id' ) > 0 )
              array_push( $pathArray, $this->attribute( 'main_tag_id' ) );
  
          if ( !empty( $pathArray ) )
          {
              $db = eZDB::instance();
              $db->query( "UPDATE eztags SET modified = " . time() .
                          " WHERE " . $db->generateSQLINStatement( $pathArray, 'id', false, true, 'int' ) );
          }
      }
code: public function updateModified()
      {
          $pathArray = explode( '/', trim( $this->attribute( 'path_string' ), '/' ) );
  
          if ( $this->attribute( 'main_tag_id' ) > 0 )
              array_push( $pathArray, $this->attribute( 'main_tag_id' ) );
  
          if ( !empty( $pathArray ) )
          {
              $db = eZDB::instance();
              $db->query( "UPDATE eztags SET modified = " . time() .
                          " WHERE " . $db->generateSQLINStatement( $pathArray, 'id', false, true, 'int' ) );
          }
      }
code_tokens: public function updateModified ( ) { $ pathArray = explode ( '/' , trim ( $ this -> attribute ( 'path_string' ) , '/' ) ) ; if ( $ this -> attribute ( 'main_tag_id' ) > 0 ) array_push ( $ pathArray , $ this -> attribute ( 'main_tag_id' ) ) ; if ( ! empty ( $ pathArray ) ) { $ db = eZDB :: instance ( ) ; $ db -> query ( "UPDATE eztags SET modified = " . time ( ) . " WHERE " . $ db -> generateSQLINStatement ( $ pathArray , 'id' , false , true , 'int' ) ) ; } }
docstring: Updates modified timestamp on current tag and all of its parents
  Expensive to run through API, so SQL takes care of it
docstring_tokens: Updates modified timestamp on current tag and all of its parents Expensive to run through API so SQL takes care of it